[Contribution] Ship In Cart
#41
Posted 24 March 2003, 16:26
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
#42
Posted 24 March 2003, 16:39
No seriously, sessions can hold data; the session nr. on the URL (or in the cookie) corresponds with a file (or db record) that holds stuff. Variables, arrays, whatever. Ussually variables. These are available at ALL time, making them convenient to program with. You 'register' a variable to the specific session (=client) that calls the script. Registering could be seen as 'writing to the specific session file for this client, making the var immediately available as $whatever on every page to come for this specific client"
www.php.net/sessions
Mattice
#43
Posted 24 March 2003, 16:44
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
#44
Posted 24 March 2003, 16:54
It is available in the global scope.
Best thing to do is to read the link really.
#45
Posted 24 March 2003, 17:00
Thnaks.
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
#46
Posted 24 March 2003, 18:04
http://www.crimescene.com/store/
add someting to your basket and see all shipping info...
#47
Posted 24 March 2003, 18:12
Quote
I don't see ANY shipping info in my basket?
Quote
say the sID is 123 you would have a file called /tmp/123 or a db record in table sessions called 123 that holds the variables we 'register' to it. These variables are in 'global scope' which means they are there ALL the time to use. They are 'invisible', like the remote address is constantly there but not 'visible' in the url.
Hope that clears things up
Mattice
#48
Posted 24 March 2003, 18:22
Sometimes, my grasp of web programming concepts are swiched on like a light switch.
Quote
I see shipping info, but nothing different from the original contribution.
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
#49
Posted 24 March 2003, 18:32
did you add something to the basket? something that isn't a downloadable product?
Quote
It's even a Live store...
Anyway, this weekend I will update the Ship in Cart contribution
And I even think it would be a great way of checking if your shipping modules are working correctly...
Just keep changing country and zip and check if prices are correct!
#50
Posted 24 March 2003, 19:19
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
#51
Posted 24 March 2003, 20:15
find answers at wiki.oscommerce.com/top
#52
Posted 24 March 2003, 20:48
I also use the MS1 ...
Can you send me your shopping_cart.php ?
#53
Posted 24 March 2003, 21:30
you say replace [snip]
Replace the old display code:
<!-- shipping cost -->
<tr>
<td class="main">
<?php
if(sizeof($quotes)){
etc,etc, etc
and this code does not exist in my file
$Id: shopping_cart.php,v 1.71 2003/02/14 05:51:28 hpdl Exp $
find answers at wiki.oscommerce.com/top
#54
Posted 24 March 2003, 21:37
If you haven't installed it before start reading at:
INSTALLATION:
------------------
#55
Posted 24 March 2003, 21:38
#56
Posted 24 March 2003, 21:45
8)
find answers at wiki.oscommerce.com/top
#57
Posted 24 March 2003, 23:43
Quote
Quote
I don't see ANY shipping info in my basket?
I also went to that site and don't see any shipping info in the cart
#58
Posted 25 March 2003, 08:23
You guys make me say 'AAAAAAaaaaaaaaahhhhhhhhh' :shock:
Why don't you see it?
Add an item to the basket and it must appear !
Go to http://test.ednique.be
#59
Posted 25 March 2003, 10:23
But I don't think this link is any different then the actual contribution that is now in place? I thought this would show the 'development' version, or should I login to see the country dropdown?
Thanx,
Mattice
#60
Posted 25 March 2003, 10:38
y'all have to wait for this we to get to see the country/zip implementation...
Any idea's on showing the order totals in the basket as I've mensioned in this forum before?














