Home › Forums › WoodMart support forum › Free shipping progress bar Script for All. Mini Cart and Cart page
Free shipping progress bar Script for All. Mini Cart and Cart page
- This topic has 11 replies, 1 voice, and was last updated 2 years, 4 months ago by aurelb.
-
AuthorPosts
-
November 27, 2019 at 4:16 pm #159463
newsprinceParticipantHello.
In regards to this post i saw the other days at your forum.
https://xtemos.com/forums/topic/free-shipping-progress-bar/
@jaybee tooI have created a simple custom script that does the exact same thing based on the theme jaybee posted.
You can check a screen recording i did to see how it works and can be done with a few lines of code.
https://recordit.co/RBOyO67MC3
I will attach the files i created to maybe some day integrate it something like that in your theme.
Some things to notice.
The language is hard coded also the Free shipping ID. To make it work replace woocommerce_free_shipping_2_settings the number 2 with your free shipping ID number from woocommerce shipping settings.
Add cart.php and mini-cart.php to a child theme path. woocommerce/cart
The custom snippet can be run from functions.php file or a custom snippet plugin.
The css code add it to global css from theme settings.
No javascript needed
You can find the files on the link below.
Please address this to Artem Temos.
Thank you.
November 27, 2019 at 6:49 pm #159488
BaBaBakerParticipantTHANK YOU NEWSPRINCE <3
However I have a problem, I have complicated delivery system, is it possible and set the price manually? 🙂
November 27, 2019 at 7:33 pm #159489
newsprinceParticipantYes you can. Delete the following lines
$free_shipping_settings = get_option( 'woocommerce_free_shipping_2_settings' ); $value = $free_shipping_settings['min_amount'];
And add only
$value = X;
amount you want.For example:
$value = 100;
For manually adjusting the price.
November 27, 2019 at 7:52 pm #159494
BaBaBakerParticipantWHAT A LEGEND
THANK YOU <3 it works <3 <3 <3November 27, 2019 at 7:59 pm #159495
newsprinceParticipantI’m glad you like it.
Hope xtemos integrate something like that in their future releases!
Cheers!
November 28, 2019 at 8:01 am #159566
jaybeeParticipant@newsprince
You save my life !!!!
Thanks a lotNovember 28, 2019 at 10:27 pm #159769
newsprinceParticipantYou welcome!
September 6, 2020 at 9:14 am #223980
gsParticipantHey Newsprince.
Any chance you still have the code for this? The link is not active anymore and I really like this feature.
/Glenn
September 8, 2020 at 8:53 am #224487
NanaParticipantMaybe someone else can send?
September 27, 2020 at 9:30 pm #229219
kamran1331Participant@newsprince Hi, do you can add the code again ? 🙂 https://gofile.io/?c=5aQnqi
I found you idea good 🙂Thanks
Regards
February 6, 2021 at 6:55 pm #264461
jcParticipantHello Newsprince,
I need some help with speed optim. in my clients site.
I am from Greece, and i am using woodmart theme.If you are interest, drop me a msg!
Thank you.
August 5, 2022 at 4:31 pm #395788
aurelbParticipantIf ever @newsprince of @jaybee or @bababaker receives this, you would save some desperate souls 😉
-
AuthorPosts
- You must be logged in to create new topics. Login / Register