Support » Plugin: Woocommerce Gift Wrapper » Issue on every update on Cart page

  • Resolved adrianogiannacco

    (@eccebombo)


    Hello!
    We are using your plugin on this site: https://marksandangels.it/carrello/.
    Our installed veersion of WooCommerce is 3.3.3.
    We chose to show the gift wrapping “Before Cart”.
    We have noticed that, every time the user makes some changes on the Cart and then updates it, the div of the plugin which has the “woocommerce-info” class, is been recharged outside the wrapper div with the ID of “wc-giftwrap”.
    I can show a screenshot before updating the Cart: https://prnt.sc/iqjsc5
    and after updating the Cart: https://prnt.sc/iqjsqy

    I did some researches and found out that, without giving the “woocommerce-info” to the notice div, the problem is fixed. I think that every divs that has the classes “woocommerce-message”, “woocommerce-info”, “woocommerce-error” are been recharged just before the cart on every cart update event.

    Can you do anything to fix this issue?
    I hope I made myself clear.
    Thank you in advance!

    Adriano

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Little Package

    (@littlepackage)

    I am very sorry, we cannot provide theme support for this free plugin. If you find the conflict issue with your theme and can suggest a change, we are happy to take a look. Please understand there are hundreds of unique themes and we cannot support them all, make every one work with this plugin.

    Have you tried the other theme locations? This theme offers several options for gift wrapping placement in the cart and checkout. If one doesn’t work, and you cannot track down the code issue, we suggest trying another. Thank you.

    Hello,
    thank you for your reply.
    I’m sorry I wasn’t clear enough. I surely don’t expect you to debug my custom theme.
    I did another test on the local installation of my site, with Storefront as theme; by the time I made the following screenshots, WooCommerce and WooCommerce Gift Wrapper are the only activated plugins. I’m running the 3.3.3 version of WooCommerce, the 4.9.4 version of WordPress, and the 2.1 version of WooCommerce Gift Wrapper.

    This is the screenshot made before updating the Cart: https://prnt.sc/iu6kst
    and after updating the Cart: https://prnt.sc/iu6l42

    I suggest you to not use the woocommerce-info class inside your plugin, as the problem does not persist when I try to change it.

    Unfortunately, I cannot change the location of the gift wrapper, as the “Before Cart” has been decided directly by my client.

    Let me know what you think of my idea, and tell me if I can provide you more useful informations.

    Thank you in advance!

    Adriano

    Plugin Author Little Package

    (@littlepackage)

    I might see what you’re saying about woocommerce-info. I’ve looked at it with Storefront (which doesn’t reproduce your problem, exactly, but your further explanation helped me understand your drift). Let me see what I can do!

    Plugin Author Little Package

    (@littlepackage)

    Hi Adriano,

    I moved the .woocommerce-info div outside the gift wrapper div in plugin version 2.2. Can you check and see if that helps solve your problem? Thank you.

    Hello,
    thank you for your endeavor and for the update.
    Unfortunately, the problem is still here for me: the woocommerce-info div is being reloaded on the update_cart event, and is bieng moved on top of the cart, just after the default woocommerce-message “Cart updated”.
    The situation still looks like the previous screenshots.
    Thank you for your time.

    Adriano

    Plugin Author Little Package

    (@littlepackage)

    Hi Adriano,

    Try version 2.3. The div is hidden if there is gift-wrapping in the cart and only one gift wrapping option is allowed in the cart. Also, I added a distinct CSS class to the div for further manipulation. I hope this helps!

    Hi,
    My situation about this didn’t change much 🙂
    Thank you for your efforts.
    Adriano

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issue on every update on Cart page’ is closed to new replies.