Menu Cart in X Theme

How do I get Menu cart dropdown working on my x theme like as shown here: https://demo.theme.co/elements/#cart-dropdown

I had posted a topic back in 2018, here is the link: Menu cart icon woocommerce not showing

I can’t seem to get the menu cart working fine, kindly check the attached screenshots:

URL: https://www.mynoveltyshop.com

Kindly help us to get this working. Thank you!

Hello Sagar,

Thanks for writing in!

Please go to X > Theme Options > WooCommerce and make sure that the Cart Information is set to “Double”.

ZcwnGiDvTnWk74wuIfja3g

If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Regards.

Hello!
Thanks for replying.

Changed the settings as mentioned. The cart dropdown does not appear, how do we get that working like as shown here: https://demo.theme.co/elements/#cart-dropdown

Provided the login credentials.

Hi Sagar,

Thank you for providing the credentials. The Cart Dropdown element you mentioned can only be added in the header if you’re using Pro (see https://theme.co/docs/the-difference-between-x-pro) since you’re using X there is no possible way to add the Cart Dropdown element in the navigation menu.

However one possible solution in X is adding the element in the Topbar but that would require custom development which is regretfully out of our support scope. With that being said I can point you in the right direction.

First create a Global Block (https://theme.co/docs/global-blocks#how-to-create-a-global-block) and add a Cart Dropdown element. Copy the shortcode of the Global Block and paste it in the Topbar Content via X > Theme Option > Header > Miscellaneous > Topbar Content:

image

For the shortcode to work in the Topbar you need to add a code in your child theme’s functions.php file, please follow this thread: Shortcode in topbar

You’ll see the Cart Dropdown in your Topbar. Hope this helps!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.