Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to dynamically change the shipping fee based on item quantity

$
0
0

Replies: 0

Hi!

I am the current web developer/master of https://shecosmeticsph.com/ I recently encountered an issue with my client who owns the website. They wanted the shipping fee to change based on the product quantity inside the cart. Here is the situation:

For Metropolitan areas shipping:

40 pesos for 20 pieces of lipsticks (add 20 pesos per additional of 1 to 20 pieces)

For Provincial areas shipping:

150 pesos for 20 pieces of lipsticks (add 80 pesos per additional of 1 to 20 pieces)

I have worked with woocommerce before but I never had any request which would have modify some of its code. Right now, I only used Conditional Shipping plugin for woocommerce to increment the shipping fee but it can only do so until only a certain quantity of products in the cart. Can you help me determine what are the variables, functions, and hooks available to woocommerce to resolve my concern? Thank you!


Viewing all articles
Browse latest Browse all 59525

Trending Articles