• Resolved 67nj

    (@67nj)


    I have 2 shipping class and when a customer has both shipping class products in his kart, the checkout page shows me the total shipping cost which is ok but is it possible to show both costs with this plugin?

    • This topic was modified 4 years, 8 months ago by 67nj.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bolder Elements

    (@hystericallyme)

    Sure! You can split the cart into groups based on shipping class with this plugin. Then each shipping class would have it’s own shipping line in the order summary. Each group would calculate shipping separately based on the shipping methods you have configured and return their own results to the line.

    Also, by default the lines will be named Shipping #1, Shipping #2, etc… You can change these with the following code snippets if desired: https://www.bolderelements.net/support/knowledgebase/change-shipping-package-title/

    Hi @hystericallyme ,

    Sorry to piggyback on 67nj’s question, but it would be really great if you could explain into which file this function & filter should be inserted?

    The plugin is doing exactly what I need but tuning the Shipping names will be the icing on the cake!

    Thanks in advance,

    Carolyn

    Hi again,

    Ok, so every day’s a school day!

    For anyone who ends up here as I did, I got this working by following these steps:

    1. Create a child theme (I used “Child Theme Configurator” by Lilaea Media)
    2. Go to: Appearance -> Theme Editor
    3. Open “Theme Functions” (functions.php) and paste the code above the last line (// END ENQUEUE PARENT ACTION)
    4. Click “Update File”

    That’s it! Now the Shipping class shows instead of “Shipping” or “Shipping #2”

    Hope that helps someone, one day.

    Thread Starter 67nj

    (@67nj)

    Thank you everyone for the precious hints!
    The plugin does its job very well and the extra code is the cherry on top of it!!
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘separate shipping on checkout’ is closed to new replies.