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

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #159463

    newsprince
    Participant

    Hello.

    In regards to this post i saw the other days at your forum.

    https://xtemos.com/forums/topic/free-shipping-progress-bar/


    @jaybee
    too

    I 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.

    https://gofile.io/?c=5aQnqi

    Please address this to Artem Temos.

    Thank you.

    #159488

    BaBaBaker
    Participant

    THANK YOU NEWSPRINCE <3

    However I have a problem, I have complicated delivery system, is it possible and set the price manually? 🙂

    #159489

    newsprince
    Participant

    Yes 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.

    #159494

    BaBaBaker
    Participant

    WHAT A LEGEND
    THANK YOU <3 it works <3 <3 <3

    #159495

    newsprince
    Participant

    I’m glad you like it.

    Hope xtemos integrate something like that in their future releases!

    Cheers!

    #159566

    jaybee
    Participant

    @newsprince
    You save my life !!!!
    Thanks a lot

    #159769

    newsprince
    Participant

    You welcome!

    #223980

    gs
    Participant

    Hey Newsprince.

    Any chance you still have the code for this? The link is not active anymore and I really like this feature.

    /Glenn

    #224487

    Nana
    Participant

    Maybe someone else can send?

    #229219

    kamran1331
    Participant

    @newsprince Hi, do you can add the code again ? 🙂 https://gofile.io/?c=5aQnqi
    I found you idea good 🙂

    Thanks

    Regards

    #264461

    jc
    Participant

    Hello 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.

    #395788

    aurelb
    Participant

    If ever @newsprince of @jaybee or @bababaker receives this, you would save some desperate souls 😉

Viewing 12 posts - 1 through 12 (of 12 total)