Home Forums WoodMart support forum YITH Premium Wishlist

YITH Premium Wishlist

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #174131

    esgensle
    Participant

    Hello,

    I deactivated the wishlist functionality that comes with the theme, as Yith premium wishlist is required for this build.

    However, the premium Yith wishlist will not work. The buttons are added correctly, but when clicked there is no popup modal box like their demo: https://plugins.yithemes.com/yith-woocommerce-wishlist/product/shopping-bag-2/

    I know this is theme related, because without Woodmart being active, the plugin works fine.

    Please let me know how to fix this.

    #174137

    esgensle
    Participant

    By the way, I deactivated all plugins and still did not work. Only way to make it work is to deactivate the theme.

    #174162

    Artem Temos
    Keymaster

    Hello,

    Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not? Send us a screenshot and allow us to switch between themes to check from our side.

    Regards

    #174345

    esgensle
    Participant

    Hello,

    You can change the theme that is no problem – I just want to get this fixed.

    Screenshot of TwentyTwenty is attached with the Yith popup working.

    #174346

    Artem Temos
    Keymaster

    Try to edit the file functions.php in the theme and remove the following code

    wp_dequeue_script( 'prettyPhoto-init' );
    wp_dequeue_script( 'prettyPhoto' );

    and

    wp_deregister_style( 'woocommerce_prettyPhoto_css' );
    wp_dequeue_style( 'woocommerce_prettyPhoto_css' );
    #174356

    esgensle
    Participant

    I added this to functions.php and nothing changed:

    function fixwishlistyith() {
    wp_dequeue_script( ‘prettyPhoto-init’ );
    wp_dequeue_script( ‘prettyPhoto’ );
    wp_deregister_style( ‘woocommerce_prettyPhoto_css’ );
    wp_dequeue_style( ‘woocommerce_prettyPhoto_css’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘fixwishlistyith’ );

    #174405

    esgensle
    Participant

    Following up on this. Thank you šŸ™‚

    #174466

    Artem Temos
    Keymaster

    But we didn’t give you such code. Please, follow the instruction from our reply.

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)