Add fee amount showing on cart but not on checkout (3 posts)

  1. jscamposcr
    Posted 2 years ago #

    Hi Guys,

    I'm trying to add an extra fee to the cart through a plugin so I created a field on the shipping-calculator.php template and on my shipping plugin I calculate shipping and check if that field has any value and if it does then I add it with:
    $woocommerce->cart->add_fee('Name', ENTERED AMOUT)
    And it shows up in the cart, so that is fine, but when I hit proceed to checkout the fee is not there anymore. I just need to get that fee to stay.

    Also I need for the cart to calculate shipping if that value changes, right now it only does it if I change the state, not even the zip code.

    Any ideas or thoughts help.


  2. iHuman
    Posted 1 year ago #

    I'm having this same problem. Did you ever get it resolved?

  3. jscamposcr
    Posted 1 year ago #

    Sadly I couldn't put that much time into this and so didn't find a solution for this. If you do please post it or a link to where I can see it. Maybe with the recent updates things will easier.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic