Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to Implement: Item with Multiple Prices?


not_steve

Recommended Posts

I have a client who sells forms (exciting, huh?). Forms don't have a per-item price; the price is by how many 100s or 1000s you buy, ala:

 

100: $35

250: $55

500: $75

 

Problems:

 

1) Product does not have a single or base price.

2) The Quantity field is meaningless.

 

 

I am an experienced PHP coder, but am new to osCommerce; I don't want to go needlessly (and ignorantly) hacking.

 

Thanks,

 

Bill

Link to comment
Share on other sites

To reply to my own post, here is how I plan to do it (must be a better way?)

 

1) Set the price for these items to 0.00

2) Change the PHP so if an item has a price of 0.00, the don't display the price.

3) Use an attribute for each quantity (e.g. 100 = $35).

4) Change the PHP so if an item has a price of 0.00 don't show the Quantity information.

 

Again, thanks

 

Bill

Link to comment
Share on other sites

  • 1 year later...
To reply to my own post, here is how I plan to do it (must be a better way?)

 

1) Set the price for these items to 0.00

2) Change the PHP so if an item has a price of 0.00, the don't display the price.

3) Use an attribute for each quantity (e.g. 100 = $35).

4) Change the PHP so if an item has a price of 0.00 don't show the Quantity information.

 

Again, thanks

 

Bill

 

Bill,

im mark, and im trying to make a shop like this one .

except i also want to make the attributes cheaper by the quantity purchased.

and would you be anytime avaialbe online for some help or advice ?

thanks,

 

mark

Link to comment
Share on other sites

Why not just set up the different sizes (quantities) as attribute/options?

You can make the attribute/option different prices than the lowest price/quantity then either add or subtract cost depending on what you want.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Why not just set up the different sizes (quantities) as attribute/options?

You can make the attribute/option different prices than the lowest price/quantity then either add or subtract cost depending on what you want.

 

Thats a good idea ms wendy. But then i want the price of the other attributes to change by the quantity order

if you have any suggestion about how that is possible, please do let me know as i am losssst lol ..

i was thinking to make a calculate button on product info page. and then let it calculate the price of the item based on quantity and the attributes .

 

and i cant set a percentage overall , as the price breakdown is different with the total item price and the attrivute price so thats why .

 

please feel free to IM me .: mmkay0440

 

thanks ms. wendy james for your reply

i appreciate it

Link to comment
Share on other sites

  • 1 year later...

Is there a way that this can be done per item? For instance, I work for a company that sells mattresses with addons. Let's say you get a twin bed that's $500 and you want to add a massaging pad. For that size it'd be $50, but for a queen it'd be $100. Is that possible, maybe a contribution already out for that?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...