Select Page

Ajax Cart Shortcode

Home Forums Support Ajax Cart Shortcode

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Helpful
    Up
    0
    Down
    Not Helpful

    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.

    Helpful
    Up
    0
    Down
    Not Helpful

    Hi Salomon.

    Yes there is a way 😀

    We have created a shortcode for you to use – it is [bodycommerce_cart_icon]

    You can find this and other shortcodes in BodyCommerce Mods > Shortcodes

    Let me know if this works

    Helpful
    Up
    0
    Down
    Not Helpful

    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

    Helpful
    Up
    0
    Down
    Not Helpful

    Just checked and it seems to be working fine for me – did you fix it?

    Helpful
    Up
    0
    Down
    Not Helpful

    Hi man, the problem has come back 🙁

    You can check https://creadr.co/

    Mini cart slide in doesn’t work at all.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.