Home Forums WoodMart support forum Free shipping bar after add to cart

Free shipping bar after add to cart

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #382244

    lesny
    Participant

    Hello,
    I need to put a bar with information about free delivery under the section add to cart.
    Please help. Regards

    #382252

    lesny
    Participant

    I am also throwing a screen with preview.
    Screen

    Regards

    #382404

    Hello,

    You can try using our layout builder to achieve what you require:
    https://xtemos.com/docs-topic/single-product-page-builder/

    Best Regards

    #382405

    lesny
    Participant

    Layout builder throws an error after adding this feature.

    Best Regards

    #382411

    lesny
    Participant

    I solved the short description like this:

    remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30 );
    add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 15 );

    How to do for free shipping bar?

    #382448

    Hello,

    Please add the below code in the Child Theme’s functions.php file.

    if ( ! function_exists( 'woodmart_update_progress_bar_position' ) ) {
    	function woodmart_update_progress_bar_position() {
    		remove_action( 'woocommerce_single_product_summary', array( XTS\Modules\Shipping_Progress_Bar\Main::get_instance(), 'render_shipping_progress_bar_with_wrapper' ), 29 );
    
    		add_action( 'woocommerce_single_product_summary', array( XTS\Modules\Shipping_Progress_Bar\Main::get_instance(), 'render_shipping_progress_bar_with_wrapper' ), 15 );
    	}
    
    	add_action( 'wp', 'woodmart_update_progress_bar_position', 1000 );
    }

    Best Regards.

    #382457

    lesny
    Participant

    Unfortunately it does not work.

    Best Regards.

    #382537

    Hello,

    The code should work. It seems that you haven’t added it correctly.

    Please provide the admin panel login and FTP details of the website to check it myself and help you out accordingly.

    Best Regards

    #383265

    lesny
    Participant

    After update 6.5 everything works as it should, thank you and best regards:)

    #383274

    Hello,

    We are Glad that your issue has been Resolved.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

Tagged: 

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

The topic ‘Free shipping bar after add to cart’ is closed to new replies.