GD conflict with Woocommerce3.0 Product Gallery

This topic contains 9 replies, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #386270

    pedstone
    Lifetime Member
    Post count: 102

    Hi GD Team

    I just noticed an issue with the Woocommerce Product Gallery.

    When I activate GD core, the product gallery in Woocommerce stops working and instad uses the overlay mode.

    When I deactivate GD the Woocommerce Gallery is working again.

    Is it possible that the Woocommerce Gallery collides with the GD Picture Slider?

    Any hints are highly appreciated 🙂

    #386275

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    Please provide wp-admin details and a link to the affected page and we will have a look.

    Thanks,

    Stiofan

    #386276

    pedstone
    Lifetime Member
    Post count: 102
    This reply has been marked as private.
    #386277

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please check now, we actually already made a change for this and it will be in the next version of GD, i have applied it to your site.

    Thanks,

    Stiofan

    #386281

    pedstone
    Lifetime Member
    Post count: 102

    WOW – now that was fast! Works like a charm.

    Thanks a lot Stiofan – happy Sunday 🙂

    #386282

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Great! 🙂

    You are welcome!

    #391489

    pedstone
    Lifetime Member
    Post count: 102

    Hi Stiofan

    I know you folks are quite busy but is there any eta about this next release?

    Or is there any patch that I can apply by myself, as I should get 2 more sites up affected by this.

    Regards

    #391498

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    In the file /geodirectory_template_tags.php add the following at the BOTTOM of the file:

    
    
    function geodir_fix_script_conflict() {
        if ( wp_script_is( 'flexslider', 'enqueued' ) && wp_script_is( 'geodirectory-jquery-flexslider-js', 'enqueued' ) ) {
            wp_dequeue_script( 'flexslider' );
        }
    }
    add_action( 'wp_enqueue_scripts', 'geodir_fix_script_conflict', 100 );
    remove_action('wp_print_scripts', 'geodir_core_dequeue_script', 100);

    If you have any problems just let me know.

    Thanks,

    Stiofan

    #391829

    pedstone
    Lifetime Member
    Post count: 102

    Hi Stiofan

    thanks for the fast reply 🙂

    I tried it out and as usual it works like a charm

    Thanks again for your outstanding support

    #391830

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are very welcome! 🙂

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount