Sorry to make two topics in one day, but this is driving me insane!
My website has been acting change lately (or maybe ive just noticed it now, and it has been acting strange all along)
When putting something in the shopping cart, and returning to the index.php the shopping cart in the right side of the webpage sometime doesnt update. It says "0" - But if i go to, lets say, Shipping.php. the shopping cart displays the added item. (as if the browser pulls the allready loaded old loaded version of index.php)
If i then add another item to the shopping cart and return to the index.php, i still see nothing, and if i go to the shipping.php i only see the first added item, but if i then go to another part of the site, i see both added items.
If i wait for 5 minutes, eventually the Index.php and the shipping.php versions of the shopping cart will display correctly, it is as if the Cookies or the Refresh respond time is very slow on my site.
It doesnt help hitting F5 and it does this in both Firefox, Chrome and Safari.
The two main places on the site where it happens is the shopping Cart in the right menu, and when Logging off and returning two the Index.php (then the "Log Off" botton is still displayed, and useusally keeps displaying for 3-4 minutes, before refresheing the site will make it disappear.
in Configure.php my cookies settings looks like this:
define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
I have recently change the two bottom ones from shopp/catalog/ because someone suggested that it would help, it did not.
Halpf?
- Jack
- osCommerce Support Forum
- → Viewing Profile: Topics: jack_frost
Latest News: (loading..)
Community Stats
- Group Members
- Active Posts 194
- Profile Views 8,649
- Age Age Unknown
- Birthday Birthday Unknown
-
Real Name
Jesper
-
Gender
Not Telling
Contact Information
1
Neutral
User Tools
Friends
jack_frost hasn't added any friends yet.
Latest Visitors
Topics I've Started
Cookies Problem
08 January 2013 - 12:57 PM
Problem with Shopping Cart
08 January 2013 - 08:17 AM
Hi to all my fellow OScommerce'ers!
I have two problems with my shopping cart.
1; If i mark a product as out-of-stock, it is not removed from a costumers shopping cart, so even though the item is not available on the webshop, if a costumer added it to his/her cart before it became out of stock, she/he can still order it (Anoying)
2; If a costumers wishes to delete a prodcut from his/her shopping cart, and the item is no longer in stock, she/he can not delete it. It simple doesnt dissapear when pressing update.
All other items can be deleted with no problem.
This is two very serious problems. If i fix the first problem then the second will be removed with it. However i have no idea where i should look.
Help is VERY much appreciated!
Thank you in advance!
Best Regards.
- Jack
I have two problems with my shopping cart.
1; If i mark a product as out-of-stock, it is not removed from a costumers shopping cart, so even though the item is not available on the webshop, if a costumer added it to his/her cart before it became out of stock, she/he can still order it (Anoying)
2; If a costumers wishes to delete a prodcut from his/her shopping cart, and the item is no longer in stock, she/he can not delete it. It simple doesnt dissapear when pressing update.
All other items can be deleted with no problem.
This is two very serious problems. If i fix the first problem then the second will be removed with it. However i have no idea where i should look.
Help is VERY much appreciated!
Thank you in advance!
Best Regards.
- Jack
No Checkout if...
25 June 2012 - 02:45 PM
Hi!
I have my COD payment module installed, i am however using it a little unorthodox.
I want a barricade, which stops people from using this payment option, if there order total is more than Zero.
So somthing like this i guess:
if ($order_total>= 0) {
$error = true;
}
But this didnt work, likely becuase i im a bit of a tard regarding coding.
Im not sure whether to implement the "Berricade" in my Modules/payment/COD.php, or my Checkout_payment.php or my checkout_confirmation.php.
Hope somone can help!
Best Regards!
- Jesper
I have my COD payment module installed, i am however using it a little unorthodox.
I want a barricade, which stops people from using this payment option, if there order total is more than Zero.
So somthing like this i guess:
if ($order_total>= 0) {
$error = true;
}
But this didnt work, likely becuase i im a bit of a tard regarding coding.
Im not sure whether to implement the "Berricade" in my Modules/payment/COD.php, or my Checkout_payment.php or my checkout_confirmation.php.
Hope somone can help!
Best Regards!
- Jesper
- osCommerce Support Forum
- → Viewing Profile: Topics: jack_frost
- Privacy Policy
- Forum Rules ·



Find content