1
votes

I want to create a function for woocommerce with which when a visitor adds more than one product in their cart, $2 is added in addition every product quantity to the shipping cost for every product.

For example one product, shipping cost is applicable. For additional product or more than 1 quantity it adds $2 to the shipping cost.

I wasn't able to figure out solution to this.

Any help on this will be appreciated.

1

1 Answers

1
votes

This can be do through settings in your "flat rate" shipping method cost field.

  • If your flat rate initial cost is $10
  • If you want to add $2 for each additional item (or quantity)

You will be able to set the following in the "flat rate" shipping method cost field:

8.00+(2.00*[qty])

enter image description here