Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sergeyzhuk

    (@sergeyzhuk)

    Fixed it with Loco Translate. The topic can be closed

    Thread Starter sergeyzhuk

    (@sergeyzhuk)

    Closed this code in frontend.js and everything worked out

    $(document).on(‘click’, ‘.add_to_cart_button’, function () {
    var cart = $(‘body’).find(‘.majc-toggle-open-btn’);

    var imgtodrag = $(this).closest(‘.product’).find(“img”).eq(0);

    if (imgtodrag.length) {
    var imgclone = imgtodrag.clone()
    .offset({
    top: imgtodrag.offset().top,
    left: imgtodrag.offset().left
    })
    .css({
    ‘opacity’: ‘0.8’,
    ‘position’: ‘absolute’,
    ‘height’: ‘150px’,
    ‘width’: ‘150px’,
    ‘z-index’: ‘100’
    })
    .appendTo($(‘body’))
    .animate({
    ‘top’: cart.offset().top + 10,
    ‘left’: cart.offset().left + 10,
    ‘width’: 75,
    ‘height’: 75
    }, 1000);

    setTimeout(function () {
    cart.effect(“shake”, {
    times: 2,
    distance: 150
    }, 200);
    }, 1500);

    imgclone.animate({
    ‘width’: 0,
    ‘height’: 0
    }, function () {
    $(this).detach()
    });
    }
    });

    Thread Starter sergeyzhuk

    (@sergeyzhuk)

    >>Unfortunately, your requirements cannot be achieved using the current version of our plugin.

    And with which version is it possible?

    Thread Starter sergeyzhuk

    (@sergeyzhuk)

    Because of this code, the comparison settings page in the admin panel does not work, it starts working only after deletion.
    class-thwwc-enqueue.php
    if(strpos($hook, ‘toplevel_page_th_wishlist_settings’) !== false || strpos($hook, ‘wishlist-comparison_page_th_compare_settings’) !== false)

Viewing 4 replies - 1 through 4 (of 4 total)