0

how to change/customize minicart dropdrow... instead a dropdown cart I wish having a slider from right do left at magento 2.4.4 could someone help me ? Also please suggest me if any extension is available.

2 Answers 2

0

You can add this behavior with minicart template

app/design/frontend/<vendor>/<theme>/Magento_Checkout/templates/cart/minicart.phtml

<!-- ... -->
<div class="block block-minicart"
             data-role="dropdownDialog"
             data-mage-init='{"dropdownDialog":{
                "show":{"effect":"slide","direction":"right"},
                "appendTo":"[data-block=minicart]",
                "triggerTarget":".showcart",
                "timeout": "2000",
                "closeOnMouseLeave": false,
                "closeOnEscape": false,
                "closeOnClickOutside": false,
                "triggerClass":"active",
                "parentClass":"active",
                "buttons":[]}}'>
<!-- ... -->

See part "show":{"effect":"slide","direction":"right"},

0

Below is the extension which can help you

Magento: https://marketplace.magento.com/ambab-module-slidingcart.html

Github: https://github.com/ambab-infotech/slidingcart

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.