How to make it work with the Side Cart for WooCommerce plugin?

Top WooCommerce & WordPress Plugins Forums Amount Left for Free Shipping for WooCommerce How to make it work with the Side Cart for WooCommerce plugin?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #88448
    Alex Mar
    Participant

    Mini cart, which we think is the side bar pop up showing the products added to the cart… we have enable the support function for mini cart but we are not able to see the amount left for free shipping showing on the mini cart? Please kindly advise.

    #88449
    Pablo
    Moderator
    Plugin Support

    Hi Alex,

    Did you try to change the “Position” option?

    And are you using some kind of 3rd party Mini cart plugin?

    #88450
    Alex Mar
    Participant

    i am using “Side Cart WooCommerce”. Is it support it?

    #88451
    Pablo
    Moderator
    Plugin Support

    I don’t know. I have to test it.

    Before that, our plugin has a shortcode: [alg_wc_left_to_free_shipping].
    Have you tried using it?

    Apart from that, what about the “Position” option? Didn’t it work as well?

    If both options don’t work, can you please send us the “Side Cart WooCommerce” wp.org link or the plugin itself to [email protected] if it’s not free? We’ll take a look if compatibility is possible.

    Probably it’s going to be better If you send it using wetransfer.com or any other method than sending it zipped via e-mail.

    #88452
    Pablo
    Moderator
    Plugin Support

    Hi Alex,

    In order to work with the “Side Cart for Woocommerce” plugin you’d have to override its template and add our code.

    1- Overriding the template
    You can follow their tutorial to learn how to do that. For an example, let’s say you want to display the “Amount left” at the mini-cart footer. You’d have to:

    Copy the contents from:

    - pluginsside-cart-woocommercetemplatesglobalfootertotals.php
    

    To:

    - your-themetemplatesside-cart-woocommerceglobalfootertotals.php
    

    2- Adding our code
    You can use our php function or shortcode to display the amount left. Let’s say you want to use our shortcode. You could simply add this at any part of the totals.php file:

    <?php echo do_shortcode( '[alg_wc_left_to_free_shipping content="%amount_left_for_free_shipping% left for free shipping"]' ); ?>
    

    Let me know if it works for you 😉

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.