Ready to get started?Download WordPress


WooCommerce - excelling eCommerce
How to override the calculated shipping cost? (1 post)

  1. DanielHolm
    Posted 10 months ago #

    Hi all,

    I need to override the calculated shipping. When the amount of products in cart is less then one, the price for shipping should be something else then the set shipping cost that I've set (I use local delivery method).

    I've overridden other forms, but I just can't figure this one out.

    I made a completely own shipping add-on, but I've given up on that now and instead whant to use Local Delivery with a overridden shipping cost.
    This is the code for that addon: http://pastebin.com/EVEnFk1B

    It works like this: Per product. 15 SEK. But it there is only one product in cart, it should cost 45 SEK. Two should cost 30 SEK, though.

    Thanks in advance!




You must log in to post.

About this Plugin

About this Topic