0

I am trying to disable "swipe" by adding "swipe: false" in app/design/frontend/vendor/default/Magento_Checkout/templates/cart/item/default.phtml

Here is my code, but it is not working, can anyone help?

    require(['jquery', 'jquery/ui', 'Magento_PageBuilder/js/resource/slick/slick'], function($) {
        $(document).ready(function() {
            $(".widget-product-carousel").slick({
                swipe: false
            });
        });
    });
</script>```

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.