Top WooCommerce & WordPress Plugins › Forums › Amount Left for Free Shipping for WooCommerce › How to make it work with the Side Cart for WooCommerce plugin?
- Support forum for the Free Shipping Over Amount: Amount Left Tracker for WooCommerce.
- This topic has 4 replies, 2 voices, and was last updated 1 year, 9 months ago by
Pablo.
- AuthorPosts
-
February 23, 2022 at 9:08 am #88448
Alex Mar
ParticipantMini 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.
February 23, 2022 at 10:17 pm #88449Hi Alex,
Did you try to change the “Position” option?
And are you using some kind of 3rd party Mini cart plugin?
February 24, 2022 at 9:05 am #88450Alex Mar
Participanti am using “Side Cart WooCommerce”. Is it support it?
February 24, 2022 at 1:58 pm #88451I 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.
March 1, 2022 at 10:34 pm #88452Hi 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 thetotals.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 😉
- AuthorPosts
- You must be logged in to reply to this topic.