Home Forums WoodMart – Premium Template YITH Premium Wishlist

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by Artem Temos Artem Temos 1 month, 1 week ago.

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

    esgensle
    Customer

    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.

    Private Content Hidden
    #174137

    esgensle
    Customer

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

    • This reply was modified 1 month, 1 week ago by  esgensle.
    #174162

    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
    Customer

    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.

    Private Content Hidden
    #174346

    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
    Customer

    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
    Customer

    Following up on this. Thank you 🙂

    #174466

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

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

You must be logged in to reply to this topic.