Problema con compatibilità plugin, Gift Card

This topic has 2 replies, 2 voices, and was last updated 11 months ago ago by Luca Rossi

  • Avatar: Stefano Valso
    Stefano Valso
    Participant
    December 20, 2023 at 10:40

    Sto cercando di caricare un immagine personalizzata per la gift card (https://www.limacdesign.com/shop/idee-regalo/gift-card/) ma al momento dell’upload non succede nulla, se la aggiungo al carrello non funziona.
    Fino a qualche mese fa non c’erano problemi, da qualche giorno non funziona più.
    Ho contattato YITH ma mi hanno risposto di rivolgermi a voi.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Justin
    Luca Rossi
    Support staff
    December 21, 2023 at 04:27

    Hello Stefano Valso,

    We hope this message finds you well.

    We would like to inform you that the YITH WooCommerce Gift Cards Premium plugin is currently not compatible with the Sticky Cart feature. To address this, we have implemented a solution that disables the Sticky Cart specifically for the Gift Card product on your website.

    The necessary code has been added to your child theme’s functions.php file, between lines 58 and 63:

    
    add_action('template_redirect', 'n2t_template_redirect', 50);
    function n2t_template_redirect(){
        if( is_single(147654) ){
            remove_action( 'after_page_wrapper', 'etheme_sticky_add_to_cart', 1 );
        }
    }
    

    With this adjustment, the Gift Card product should now function correctly. Could you please take a moment to verify this on your end?

    Thank you for your attention to this matter. We look forward to your confirmation.

    Best Regards,
    The 8Theme Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.