Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Delivery costs according to item type


jesus4736

Recommended Posts

Hello everyone, I've been trying to do it for a lot of days but I can not, I tell you my problem to see if anyone can help me out.

 

We have several shipping methods depending on the product and each shipping method with it own costs.

 

Let's say there are 3 types of products and 3 different shipping rates.

 

  • Products of type "A" can only be sent by the types of shipping type "1" and shipping type "2".
  • Products of type "B" can only be sent by shipping type "2"
  • Products of type "C" can only be sent by shipping type "3"

 

Which brings us to the following conditions:

  • If you only buy products of type "A", the web page should show only the cost of shipping type "1".
  • If you only buy products of the type "B", the web page should show only the cost of shipping type "2"
  • If you only buy products of the type "C", the web page must show only the cost of shipping type "3"
  • If a customer buys product of types "A" and "C", there are 2 posibilities:
    • One posibility is that the system must make 2 different orders, an order for items from group "A" and another for those in group "C",
    • The other posibility is that the system must show you just one order and two concepts as two shippment costs. In this way you could see that you will be charged for the both shipping costs. At the same time, the system must show you an note that says: Due to the selected products can not be shipped by same type of shippment ... bla bla bla ...

    [*]If you buy produtcs of types "B" and "C" the same as before.

    [*]If you buy products in groups "A" and "B" should calculate the costs for the delivery type "2" showing only these.

 

I found a contribution "Individual Product Shipping Methods" that does something along this line.

This contribution gives, to the user, the posibility of choosing which shipping methods want to be used when a product can be shipped by more than one method.

In the cases that 2 purchased products can not be sent by a common method, this contribution does no show any shipping method neither cost.

 

I think i must modify the /catalog/includes/classes/shipping.php and/or the /catalog/checkout_shipping.php but don't know how.

 

Anyone have any idea?

 

Thank you and sorry about my bad english...

Edited by jesus4736
Link to comment
Share on other sites

what about if client buy A, B and C item you whole plan will cause the issue?

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

what about if client buy A, B and C item you whole plan will cause the issue?

 

You are right I forgot it:

 

If client buys produtcs of types "A", "B" and "C":

First, system must calculate the shippment costs for products "A" and "B", using the shipping type "2".

Second, system must add the shipping cost for the product of type "C" as other different order or showing it as other concept.

 

Thanks for your answer!

Link to comment
Share on other sites

The MVS Addon will do most of what you want. Exception: All shipping methods that apply for a given product are shown for that product. No combined shipping is done for products in different groups.

 

If you really have to have what you described, I think you're looking at a custom coding job. It's up to you to decide if this is worth doing.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

The MVS Addon will do most of what you want. Exception: All shipping methods that apply for a given product are shown for that product. No combined shipping is done for products in different groups.

 

If you really have to have what you described, I think you're looking at a custom coding job. It's up to you to decide if this is worth doing.

 

Regards

Jim

 

 

A lot of thanks for you answer and for your contribution!! ;), I can continue from your contribution to see if i can solve my problem..

 

Really, a lot of thanks!

Link to comment
Share on other sites

Hi There,

I am very NEW to OS Commerce and I think your post relates to the problem I am having, but am not sure if you used an add-on to solve it...?

 

I have different types of products on our store. DVDs and Webinars. I want to be able to charge shipping for the DVD's but not the webinars! Do i need an add-on to do this? Thanks for your help.

 

 

You are right I forgot it:

 

If client buys produtcs of types "A", "B" and "C":

First, system must calculate the shippment costs for products "A" and "B", using the shipping type "2".

Second, system must add the shipping cost for the product of type "C" as other different order or showing it as other concept.

 

Thanks for your answer!

Link to comment
Share on other sites

Hello everyone,

 

as healing-art, I have a similar problem for which I could not find an answer in the forums.

 

I have three types of products which cannot be shipped together:

 

product A needs a flatrate shipping as it´s relatively small samples of product B

product B is perfectly shippable per weight & zones as already included in the OsC 2.2rc2a

product C can only be shipped per pallet, e.g. shipping price just multiplied by quantity.

 

I have found the same -very promising- contrib, the Individual Product Shipping methods (http://addons.oscommerce.com/info/4674), with which I could assign the different shipping methods to the individual products...

 

alas, these products are complementary and ordered together most of the time and in varying mixes so that in over 70% of the orders the total shipping cost won´t show.

Unfortunately there seems to be no support thread for this specific contrib.

 

 

In theory, one only has to tell the code to find all items with shipping=flat and save the shipping cost,

then to find all weight&zone-items and add the calculated shipping fee to the flatrate and save the new shipping cost,

and then to find the pallet items and add their despatch cost multiplied by quantity to the shipping cost.

 

I mean, the program has all the abilities to calculate every case, it just doesn´t know how to sum them up...

 

Does anyone have a clue how to code this? I already looked at the various MVS contribs, but they do not solve the problem...

 

I appreciate every idea, many thanks in advance,

 

best regards

Schotti

Link to comment
Share on other sites

  • 3 weeks later...

Did anybody find a solution for this? I need to be able to allow two different shipping methods on an order...one forced Fedex 2 day for some items and UPS ground (or other UPS options if customer prefers) for the rest.

 

Hello everyone,

 

as healing-art, I have a similar problem for which I could not find an answer in the forums.

 

I have three types of products which cannot be shipped together:

 

product A needs a flatrate shipping as it´s relatively small samples of product B

product B is perfectly shippable per weight & zones as already included in the OsC 2.2rc2a

product C can only be shipped per pallet, e.g. shipping price just multiplied by quantity.

 

I have found the same -very promising- contrib, the Individual Product Shipping methods (http://addons.oscommerce.com/info/4674), with which I could assign the different shipping methods to the individual products...

 

alas, these products are complementary and ordered together most of the time and in varying mixes so that in over 70% of the orders the total shipping cost won´t show.

Unfortunately there seems to be no support thread for this specific contrib.

 

 

In theory, one only has to tell the code to find all items with shipping=flat and save the shipping cost,

then to find all weight&zone-items and add the calculated shipping fee to the flatrate and save the new shipping cost,

and then to find the pallet items and add their despatch cost multiplied by quantity to the shipping cost.

 

I mean, the program has all the abilities to calculate every case, it just doesn´t know how to sum them up...

 

Does anyone have a clue how to code this? I already looked at the various MVS contribs, but they do not solve the problem...

 

I appreciate every idea, many thanks in advance,

 

best regards

Schotti

Edited by santaya
Link to comment
Share on other sites

Did anybody find a solution for this? I need to be able to allow two different shipping methods on an order...one forced Fedex 2 day for some items and UPS ground (or other UPS options if customer prefers) for the rest.

MVS can do that.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Thanks for the speedy reply.....On April 16th you said "The MVS Addon will do most of what you want. Exception: All shipping methods that apply for a given product are shown for that product. No combined shipping is done for products in different groups." Has that changed so that is does combine shipping appropriately? I'm only concerned about charging the card one time for the total shipping no matter how many separate shipments I have to make.

MVS can do that.

 

Regards

Jim

Edited by santaya
Link to comment
Share on other sites

There may be separate shipping charges for different shipping methods, but all shipping charges are combined into the shipping total on the final page. Your customer will only see one charge for the total order. The combined total is just not shown on the shipping page, since there may be many different shipping options for different products.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Thanks! Now I just have to install it into a heavily modded store! Thanks again.

There may be separate shipping charges for different shipping methods, but all shipping charges are combined into the shipping total on the final page. Your customer will only see one charge for the total order. The combined total is just not shown on the shipping page, since there may be many different shipping options for different products.

 

Regards

Jim

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.

Guest
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...