• hi all,
    i’m trying to build a custom header so i need to place the cart in the header but not in the menu I wanna make it alone is there any shortcode that I can use to call the cart? as you can see in this image I wanna place it right there: https://i.imgur.com/uQ724KP.png

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Mohamed

    (@moeimad)

    hellllllllllllllllo anyone here to help?

    I have the same question too.

    Answer:

    You can do it by using the HTML element with CSS class “woofc-cart-link” to place the cart icon everywhere you want https://prnt.sc/srhty2 -> https://prnt.sc/srhu8g

    So it’ll be like this: <a class="woofc-cart-link"></a> or <div class="woofc-cart-link"></div> but either way it doesn’t seem to effect the output.

    And you probably want to add this to your CSS so the total price won’t show near the cart: .woofc-cart-link-inner-subtotal {display:none;}

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘cart shortcode for divi’ is closed to new replies.