php - Hide shipping costs but distribute the cost in products.Woocommerce
one text
it is possible to hide the shipping costs in the woocoomerce payment area but add the shipping amount to the products.
Example:
I have 3 products added to cart
Product 1 = $20
Product 2 = 15 USD
Product 3 = $20
Shipping = 10 USD
I would like it to stay like this and hide the shipment
We divide the shipping 10 USD between the 3 products = 3.33 USD and add it to each product itself.
Product 1 = 23.33 USD
Product 2 = 18.33 USD
Product 3 = 23.33 USD
What woocommerce hook could I use?
Source