Ajax Cart Shortcode
Hi how are you? I don’t know if this is a support question of feature request but here I go.
So what I’m trying to do is to make a custom header for my store, for that I have purchase mhmm because is the only divi header plugin with hamburger menu support.
But they don’t have a “cart icon module” but a css to make a menu element have a cart icon (and it works like a link basically). And I want to use the bodycommerce awesome ajax cart icon, so I was wonder, is there a way to insert the cart icon (with the ajax function) in other place? Maybe a shortcode or a php snippet, I don’t know but that would be very very helpful.
Thanks a lot in advance.
OMG so close and at the same time, so far away hahaha.
Well this partially work out. This is the update: before you told me this I found out a post from you where I discover the et_show_cart_total. So I create my simple shortcode and I found out that it only work out when I put it in the bodycommerce shortcode module.
Now what happens with that solution and the shortcode provided by bodycommerce is that the slide in/popup mini cart function doesn’t work. It makes something like a wink and doesn’t open.
I search into the inspector to see what could it be and I found out the script that gives the cart icon his functionality, so I copy and pasted on a code module and the mini cart function works but with a glich which is that sort of a wink that it makes twice when open or close.
You can see what I’m talking about here: https://creadr.co
You must be logged in to reply to this topic.