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 😉