• I am truely impressed with this latest version of your plugin. Everything works as expected except for one minor glitch.

    I sell a lot of products which I personalize by carving a name into the product. If a product is in the cart and the name needs editing, double clicking on the name field opens an edit box as it should. The customer then corrects the spelling of the name and clicks the update button. After a few seconds the name in the edit box reverts back to the incorrect spelling. The correct spelling finally is reflected in the cart after 2 to 4 times of correcting the spelling and clicking the update button.

    I have disabled all plugins except woocommerce and WC Fields Factory but have the same issue. It’s not that the name can’t be edited, it just takes multiple attempts before it finally takes. Also the update cart button becomes clickable when a name is edited.

    Any help will be greatly appreciated.

    • This topic was modified 6 years, 11 months ago by carver1g.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Saravana Kumar K

    (@mycholan)

    Thanks @carver1g,

    1. While you are in Cart page, please open your Browser’s Developer Console ( Ctrl + Shift + i ) and see if there any JS error happening, if it is then please post it here.

    2. As you aware the WC cart is loaded from the session (Unless you use persistent_cart), when you update the field’s value in cart, we are loading the cart from session and update the corresponding values and update the session back using the following statement WC()->cart->set_session().

    So it could be many reason, like Hosting Providers Caching (if they employed one), or if you have any caching plugins in use (but you mentioned of turning off all other plugins and still the issue is there).

    My guess is that there is some delay for the session to be updated.

    If you have chance to look into your php’s error_log that would be great which will give as some insight.

    Thread Starter carver1g

    (@carver1g)

    Thanks for your quick reply.

    I have opened the Developer Console and see no js errors. Debug log shows nothing. One thing I noticed is the first product I add to the cart the edit works first time and works well. If I add an additional product the cart and need to edit the name this is when the delay happens and I have to update multiple times before it takes.

    I am developing this site on localhost if that makes a difference.

    Thanks for your help and a great plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cart edit works only after multiple attempts’ is closed to new replies.