• Hi, I noticed that when calculating the shipping on the product page it actually calculates the total shipping cost for all products in the cart which is kind of confusing when the user is on the product page.

    Is there a way to just calculate shipping for the product on the product page and to the whole cart?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    Sorry that is not possible as there is no relation between the shipping cost and a product in WooCommerce, so plugin can only show the overall shipping cost that will be applicable on the checkout page

    Thread Starter bathroo

    (@bathroo)

    I have rewritten your class-product-page.php to only calculate the product on the product page only, not what is in the cart as well as what’s on the product page ??

    Thread Starter bathroo

    (@bathroo)

    If anyone wants me to share my code let me know. Raj, you should incorporate it into the plugin then more people will use it. ??

    For those who want to test it go to our website.

    Hi bathroo, I am interested in your code modification ??

    Hi bathroo, I am also interested in your code modification

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Calculate shipping for product not cart’ is closed to new replies.