How to display it on checkout page next to the shipping line item?

Top WooCommerce & WordPress Plugins Forums Amount Left for Free Shipping for WooCommerce How to display it on checkout page next to the shipping line item?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #88248
    blankKelly Holmes
    Participant

    When I set the checkout page position to “Order review: Before shipping”, the notice appears before the whole order review section, not next to the shipping line item. How can I get the notice to appear right next to the shipping line item in the order review subtotal section?

    Thank you!

    #88249
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi Kelly,

    As this position is inside the HTML table, you need wrap your content in <tr>...</tr> tags, i.e. set your “Content” option (in “WooCommerce > Settings > Amount Left for Free Shipping”) to something like this:

    <tr><td colspan="2">%amount_left_for_free_shipping% left for free shipping</td></tr>

    or like this:

    <tr><th>Free shipping in</th><td>%amount_left_for_free_shipping%</td></tr>

    Hope that helps. Please let me know if you have any questions.

    #88250
    blankKelly Holmes
    Participant

    That works perfectly, thank you!

    #88251
    blankTom Anbinder
    Moderator
    Plugin Support

    Happy to help 🙂 Let me know if you need anything else.

    And if you like the plugin, please consider leaving me a rating.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.