Support » Plugin: PW WooCommerce Gift Cards » Compatibility with WordPress 5.5

  • Resolved contactovisualpt

    (@contactovisualpt)


    Hi

    I’ve updated my site to WordPress 5.5, and Woocommerce 4.3.2, and now, when clicking the value option, it does not show the From, To, Text, fields.

    Because there are site activity in the meanwhile, and I only notice this problem a lot later, I cannot downgrade to a previous backup.

    Any suggestions?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author pimwick

    (@pimwick)

    Sorry to hear that you are having trouble. Can you send me the URL to your gift card product? I’ll take a look to see if I can spot the issue.

    Thread Starter contactovisualpt

    (@contactovisualpt)

    Yes

    Here: https://quintavaledohomem.com/cms/produto/vale-de-oferta-10-e/

    There is only one possible value, as my client (the site owner) asked me to split the values into 3 products: https://quintavaledohomem.com/cms/categoria-produto/vales-de-oferta/

    But that is not the issue. I tried with a multiple value Gift Card produt, and its the same.

    When I set this up, it worked. It was only after updating WordPress to 5.5 version.

    Plugin Author pimwick

    (@pimwick)

    We have tested with WordPress 5.5 and our plugin works with it.

    When I visit your site I can see a Javascript error whenever I open the Developer Console in the web browser:

    Uncaught TypeError: $(...).live is not a function
        <anonymous> https://quintavaledohomem.com/cms/wp-content/plugins/woocommerce-image-zoom/assets/js/main.js?ver=1.0:51
    Uncaught Error: Syntax error, unrecognized expression: nav.sh-header-mobile-dropdown li.menu-item > a[href*=#]
        jQuery 7
        <anonymous> https://quintavaledohomem.com/cms/wp-content/themes/jevelin/js/scripts.js?ver=5.5:565

    If you fix these javascript errors then the fields will appear. Another possible solution is to force the form to always be visible. To do this, follow these steps:

    1. Log into your WordPress Admin area.
    2. Click on Appearance -> Customize -> Additional CSS
    3. Paste the following CSS into the field and save:

    #pwgc-purchase-container {
        display:block !important
    }

    Let me know if you have any questions!

    Thread Starter contactovisualpt

    (@contactovisualpt)

    I like the idea of forcing the form to be visible, and so I did:

    https://quintavaledohomem.com/cms/produto/vale-de-oferta-10-e/

    But than, I would need to make the value selected by default. It’s only one value.

    Plugin Author pimwick

    (@pimwick)

    The Pro version has the option to select a default amount. You can find out more about the Pro version here: https://www.pimwick.com/gift-cards/

    WordPress.org doesn’t allow supporting Pro plugins using their forums so I am marking this thread as resolved. If you have further questions please contact us at our website: https://www.pimwick.com

    Thanks for understanding!

    Thread Starter contactovisualpt

    (@contactovisualpt)

    I already notice my client about that. Hope they approve.

    Anyway, thank you for pointing me to the solutions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Compatibility with WordPress 5.5’ is closed to new replies.