Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Shipping rates based on product type


Recommended Posts



The products in my customized version of osCommerce system all each have a different product "type" attached to them (products.products_type value in database). What I need to do is have the shipping rates different for each product type. For example an item that belonged to type "Double-Pack" would have the rate assigned to Double-Packs. Same thing for "Triple-Pack" and so on.


I've been looking at the shipping module code and am attempting to make sense of it all. I'm hoping there is an easy way to do this--basically just getting the products_id from each item in cart, checking the products_type value (comparing to products_types table), then getting the shipping rate from another table such as shipping_rates.


Does anyone know if there is already a contribution for this function? Or even one that is similar that I can modify? I'm really not sure what to do here. I was thinking I could possibly use a price-per-weight type modele and convert that to price-per-type?


I would extremely appreciate any help one could offer as I have a website launch approaching soon.


Thank you!



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...