Support » Plugin: WooCommerce » How do I make it so that each item has its shipping cost added respectively?

  • Currently, I can add as many items to my cart and the shipping cost will still remain as $5 which is the cost for one item. How can I make it so that if I add two items to the cart, the shipping increases to $10…etc..?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Stef

    (@serafinnyc)

    @serafinnyc I already set up shipping classes. I just want it so that each item added to the cart also adds its respective shipping cost.

    Stef

    (@serafinnyc)

    Sorry, sent wrong link.

    It’s this one see below where calculations are. 10 + ( 2 * [qty] )

    https://docs.woocommerce.com/document/legacy-shipping-options/

    If it doesn’t work anymore then it’s because they have a paid plugin that does it for you.

    Thanks @serafinnyc.

    10 + ( 2 * [qty] ) – A base shipping cost of $10 plus $2 for each item in the cart.

    Rather than setting a base cost of $10 and adding $2 for each item, how would I set it up so every item that gets added gets its own shipping fee added to the shipping total?

    So, for example, someone orders five of the same item and that item has a shipping cost of $5. What math would I have to use to make sure that shipping total is $25? I read through the document but couldn’t figure it out.

    Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    If you need to have a separate shipping cost per product, then it’s easiest to use the Per Product Shipping plugin for that:
    https://woocommerce.com/products/per-product-shipping/

    You could definitely do this using shipping classes as well, but then you’d need to set a shipping class for each product.

    @fernashes I already set up the shipping classes and zones and set a flat rate for each class in each zone. How do I make it so that each item added to the cart also gets its respective shipping cost added to the shipping total?

    Stef

    (@serafinnyc)

    Well that formula is based on 1 item plus additional qty so it’s going to be hard to set a total cost of $25 or any amount.

    I wouldn’t think about that cost that way. I would think about my margin and what I can afford to lose or gain. Don’t add too much cost to shipping or you’ll have no customers. Just cover your cost of one plus a dollar or two for packaging, postage, and the additional weight of other products, etc.

    @serafinnyc I’m selling items that are too big to be packaged together so I want to be able to add a shipping cost for each item added. I may be misunderstanding something because this seems like it should obviously be an included option. Do most people not have it set up so that each item added also gets its respective shipping cost added to the shipping total?

    Stef

    (@serafinnyc)

    Where the 2 is you charge whatever you want per extra item. No matter the size. Get what you want. Only you know what it’s going to cost per item since carriers base everything on dims and weights.

    It’s not in WC because too often folks have complex needs for shipping. There are numerous plugins out there that may cover your needs but this simple formula will work without having to add a plugin.

    Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Seconding what @serafinnyc has just said – there are so many possible scenarios that WooCommerce would be bloated beyond use if they were all included. It’s a question of figuring out what you need, and then finding a way to do it in core or with a plugin that meets those needs.

    @serafinnyc Thank you. I do understand the formula, but I have different types of products with different shipping costs. So if a customer adds Product A to the cart with $5 shipping and later decides to add Product B to the cart with $10 shipping and then Product C with $15 shipping, how is that formula supposed to figure out what amount per extra item (X) is?

    Stef

    (@serafinnyc)

    Well, now that is completely different from your initial post question all together and now you’ve made it even more complicated.

    This is where you’re going to have to look at creating shipping classes for each product and apply formula accordingly.

    @serafinnyc Sorry if I was unclear from the start. I simply want to be able to add an item and boom there’s the shipping cost added. Add another item and boom that shipping cost gets added, too. I’ve already created shipping classes and zones. This is the last step for me and it’s really confusing.

    Plugin Support madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    @cpkid1 we’ve covered a lot in this conversation already, so please correct me if I’m wrong. I understand there are few different types of products (A, B, C), each with its own shipping cost (i.e. A ships for $5, B ships for $8, etc). What you’re hoping to achieve is to add the full shipping cost for every single items that is in cart. So for example:

    1 x A ships for $5
    1 x B ships for $8
    2 x A ships for $10
    1 x A + 2 x B ships for $21

    Is everything correct so far or did I misunderstand you at some point?

    If this is the case, you’ll want to add X * [qty] as the price for each shipping class, where X is the cost for this product type. Here is an example of how I set it up on my site:

    Screenshot: https://cld.wthms.co/REqihX

    Cheers!

    Plugin Support madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’ll mark this thread as resolved now. If you have some more questions, feel free to start a new one.

    Cheers!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘How do I make it so that each item has its shipping cost added respectively?’ is closed to new replies.