#Set shipping charges based on product(s) being purchased

8 messages · Page 1 of 1 (latest)

wooden pewter
#

I am building a store which offers some very small products (cheap to ship) and some very large products (heavy to ship).

I'd like to make sure the customer is charged the right amount for shipping based on the items they're buying (there is no free shipping option on my store).

I have the "Default Shipping Profile" that is created with Medusa.

I have used Postman to create a new "Large Items" shipping profile (which I see in my Medusa admin so it appears to have worked).

However I'm now stuck. How can I set the rules so the products that should be charged the "Large items" cost at checkout are actually charged it?

Any help & pointers much appreciated.

main holly
#

Hello there! I faced a similar issue and what we did is to flag the cart on the metadata as "special shipment" or "normal shipment".

This implementation was considering the dimensions and weight of the line items of the cart.

uncut cliff
#

hi @wooden pewter - I am not sure if I understand, but if you have new Shipping Profile you can add Products to taht Shipping Profile and offer custom Shipping options where you can define the rates for the shipping. Is it a scenario or I am missing something?

wooden pewter
#

@uncut cliff that sounds exaclty what I'm trying to do.

I can't see how I add Products to my "Large Items" shipping profile. Is it hidden somewhere in Medusa Admin?

uncut cliff
wooden pewter
#

@uncut cliff ah ok thanks! I’ll give this a try and report back.

wooden pewter
#

Morning @uncut cliff— I used that end point to update a couple of my products with my "Large items" shipping profile.

When I check them in Postman (using this end point: {{baseUrl}}/admin/products/:id) they have the right shipping profile id applied — so that step worked.

However when I add one of these items to my cart on my storefront and proceed to checkout I still see the other shipping options (and there's some other weird/funky stuff going on with the shipping when I click between them).

Is there another step I need to do so my storefront only shows the relevant shipping options?

Again thanks for the help with this — feeling somewhat lost with this shipping stuff....