Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Price in cart doesn't update after price change
Author « Topic »  

ebp
Advanced Member

138 Posts

Posted - 11/22/2018 :  07:04:45  
Hi, I have updated prices on some items but it seems that prices in the cart that customers have do no update. Upon checkout, customer is getting previous price. Is there a setting I'm missing or is this a bug?

Andy
ECT Moderator

95440 Posts

Posted - 11/22/2018 :  07:07:15  
Hi

Is this when customers are checking out regularly or when they have saved their cart / logged into their account do you know?

Andy

Please feel free to review / rate our software

ebp
Advanced Member

138 Posts

Posted - 11/22/2018 :  07:17:29  
I tested it with non-logged in user.

Steps to reproduce:
1. Added item to the cart. Price $20
2. Close the page
2. Logged in to Admin changed price to $21
3. Open the page again and go to the cart.

Price remains $20. Even if I go through checkout, price is $20. It never updates to $21

I would assume, and I thought it was like this in the past, that either a logged in or non-logged in user, the price would be updated to the current price.

P.S. My quick fix for the Black Friday was to remove all saved carts from the cart table where there was no order associated with it. However, I hope there is a better way.

Edited by - ebp on 11/22/2018 07:18:49

Andy
ECT Moderator

95440 Posts

Posted - 11/22/2018 :  08:09:11  
I just tested as a logged in customer and the price will change if it is updated in the admin.

Andy

Please feel free to review / rate our software

ebp
Advanced Member

138 Posts

Posted - 11/22/2018 :  08:45:01  
It does work for logged in users who log out and log back in.

Refreshing page does nothing.

It does not work for GUEST users who come back to a saved cart. Please see the video below. Tested using your demo store.

https://drive.google.com/file/d/1Ec6ImjBfAVOYZszFRuX-1YshTWsV0BHF/view?usp=sharing

Andy
ECT Moderator

95440 Posts

Posted - 11/22/2018 :  08:48:28  

Andy
ECT Moderator

95440 Posts

Posted - 11/22/2018 :  09:04:25  
I'm not sure a saved cart can have the price updated as it's set in a cookie. You can however set how long an items stays in the cart once added and the browser closed if that helps https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp#persist

Andy

Please feel free to review / rate our software

ebp
Advanced Member

138 Posts

Posted - 11/22/2018 :  17:46:10  
Andy, sounds like $persistentcart=5; may be the way to go for GUEST users. Ideally, it would be nice to have the price check against the table to make sure it's current. Just a suggestion.

How does it work for logged in users that never log out? Based on my small test, it didn't look like price updated. Is there a timeout settings for these users where it will automatically log them out?

dbdave
ECT Moderator

USA
10468 Posts

Posted - 11/22/2018 :  19:44:32  
For logged in customers, set that timeframe in the admin "main settings" page.

David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000