Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

two prices for shipping


peuh

Recommended Posts

Hello

I got two categories on my site, A and B, the first is 2$ and the second 5$.

 

When you buy something, you must automatically pay the more expensive.

 

ex : i take 20 of of category A ...........2$

AND

if i take 20 of category A AND one of category B ........shipping cost = 5$

 

i wanted to make it with weight management but it doesn't seem to work....

 

 

A great developer could help me?

 

thx

Link to comment
Share on other sites

Gee, that's a great way to get someone to help you, isn't it?

 

You might consider changing your attitude a little, considering that everyone who helps out on these forums does so on a volunteer basis, and is in no way obligated to find your solutions for you. But in those instances when you need them to, remember that a grain of sugar will go much farther than the smallest drop of vinegar in endearing you to the general population. :)

 

Now that the sermon's over, here's a possible solution for you...

 

If you were to make all of the items in category 'A' have a weight of 1 and all the things in category 'B' have a weight of, say, 200 (or 500, or whatever other number you think would exceed the possibility of order quantities for category A), then you could set your shipping table so that orders with a weight of up to 499 would be charged $2. For weight of 500 and over, the charge would be $5.

 

The general principal should work, though you may need to manipulate the numbers in some way.

 

HTH,

 

Terry

Edited by TerryK

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

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