Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

haylau

Chex - full page refresh on quanity change?

Recommended Posts

We have just implemented a great little module from Vekia (mypresta.eu) which allows a pop up on when the visitor goes to the cart page if the item is short of stock (we allow back orders)

It works brilliantly, we have 10 items, customer adds 12 to the cart. When they go to the cart page they get a pop up advising them, and letting them know how long the lead time will be

However, and this will be outside the scope of the module, if the stock quantity is changed on the cart page then the pop up is only triggered if the page is refreshed

On CHEX by @datakick, to change the cart quantiy the customer has to click "edit" then change quantity, then click "finished editing". This change the prices etc, but not with a full page refresh (JS?)

Is there a way to force a page refresh (and therefore the pop up will appear) when they click the finished editing button - or would this have other unforseen consequences?

image.png.b5cf2e9de4c29d1c3889ea116745ee3c.png

Share this post


Link to post
Share on other sites

No, full page refresh would result in resetting javascript objects -- your selected carrier / payment options, filled in text fields (name, email,....) would be lost.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...