|
↳ See all 15 articles
/ Documentation /Theme Customization/ How to Display a Mini Cart Anywhere Using Shortcode? (Astra and EDD)

How to Display a Mini Cart Anywhere Using Shortcode? (Astra and EDD)

This is a premium feature available with the Astra Pro Addon plugin. To use this Pro feature, you need to have the Astra theme along with the Astra Pro Addon installed on your website.

And before that please verify if you have the Easy Digital Downloads plugin installed and activated.

The Easy Digital Downloads addon in Astra Pro provides a shortcode [astra_edd_mini_cart] to display the mini cart icon anywhere you want. You can use this in page builders/sidebar widgets, etc.

[astra_edd_mini_cart] has an attribute, direction, for the direction in which the mini cart should open on hover.

Options:
[astra_edd_mini_cart]
[astra_edd_mini_cart direction="top left"]
[astra_edd_mini_cart direction="bottom right"]
[astra_edd_mini_cart direction="top right"]

EDD Shortcodes shown in the editor

Note: If the above shortcode does not work, please make sure the Easy Digital Downloads module of Astra Pro is enabled on the website. You can find it under WordPress Dashboard > Astra > Astra Pro Modules:

Easy Digital Downloads Module Highlighted

You can fully customize the cart design in the menu using the options in WordPress Customizer. You can find the settings in the customizer under Customize > Header > Cart.

Related Documents:

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Scroll to Top