Home Forums Themes Support Myha Cart problem (sidebar)

This topic contains 3 replies, has 2 voices, and was last updated by  admin 1 week, 5 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2982
    Thiephaine
    Supported

    Hello, me again X/

    I’m having a problem with the shopping cart that appears in the sidebar. The Orders and Cart links do not work while they are running on the mini-cart.

    I have to open the site at 8pm tonight, I hope we can find the problem quickly ….

    #2983

    Hi,
    Thanks for contacting us and choosing our product!
    Sorry for this issue maybe happen with Cart Sidebar element.
    You can fix it by following steps:
    Step 1: Go to wp-content/themes/myha/assets/js then open file haru-main.js
    Step 2: Go to line 566 and change code of function cartSidebar to:

    cartSidebar: function () {
                $('.cart-mask-overlay').on('click', function(event) {
                    $('.cart_list_wrap').removeClass('in');
                    $('.cart-mask-overlay').removeClass('in');
                });
    
                $('.widget_shopping_cart_icon').on('click', function (event) {
                    event.preventDefault();
                    $('.cart_list_wrap').toggleClass('in');
                    $('.cart-mask-overlay').toggleClass('in');
                });
                $('.canvas-sidebar-close').on('click', function (event) {
                    event.preventDefault();
                    $('.cart_list_wrap').removeClass('in');
                    $('.cart-mask-overlay').removeClass('in');
                });
            },

    Hope this help!
    P/s: We’ll update this in next version!

    *****
    Regards,
    HaruTheme

    #2984
    Thiephaine
    Supported

    Great that solved the problem!

    Beautiful day

    #2985

    Thanks for your feedback!

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

You must be logged in to reply to this topic.