Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Multiple Quantities


saiori

Recommended Posts

Hello,

I've tried to search and find anyone else with a similar situation to mine, but I can't find anything. Perhaps if any of you have seen this come up before wouldn't mind pointing me in the right direction.

I am building a store that will sell wine. They would like to sell by the bottle and by the case with each having different prices, but with them showing up on the same item line in the shopping cart view. I was hoping there might be some contribution that already has this functionality built in.

I've looked at Quantity Controller, Quantity Discounts, Quantity Price Breaks Per Product, which do not seem to be exactly what I am needing.

Thank you for any help you and give and if I have been unclear in my needs, please let me know. Thanks!

Link to comment
Share on other sites

Hello,

I've tried to search and find anyone else with a similar situation to mine, but I can't find anything. Perhaps if any of you have seen this come up before wouldn't mind pointing me in the right direction.

I am building a store that will sell wine. They would like to sell by the bottle and by the case with each having different prices, but with them showing up on the same item line in the shopping cart view. I was hoping there might be some contribution that already has this functionality built in.

I've looked at Quantity Controller, Quantity Discounts, Quantity Price Breaks Per Product, which do not seem to be exactly what I am needing.

Thank you for any help you and give and if I have been unclear in my needs, please let me know. Thanks!

 

Hi,

this should be fairly easy to do with just stock product attributes.

 

step 1: First create your product entry and set the price to a single bottle price.

step 2: Next set up a Product Option Name called something like "Quantity Options"

step 3: Then setup up Option Values with the different case sizes (I assume they differ) like "Case of Four" "Case of Six" etc

step 4: Then at the bottom of the attributes screen set a "Product Name" to the product you just created in step 1

step 5: set "Option Name" to whatever you named in step 2

step 6: set "Option Value" to one of the "Option Values" you set in step 3 that is valid for this product

step 7: set "Value Price" to the amount the case cost's MORE than the single bottle. For example if one bottle is $10 and case of four is $35 then set Value Price to $25

step 8: prefix should be "+"

 

optional step 9: If the product you set up in step 1 has more than single bottle and one case price, and you set all the options in step3, then repeat 5-8 for each option.

 

 

Now, in your shop the customer should see the product entry for a single bottle with a drop down choice for "Quantity Options" that should list all Option Values you set.

 

Hope this helps,

Marc

 

Apply it by clicking insert button..

Link to comment
Share on other sites

Hello Marc,

Thank you for the options there. I ended up modifying the shopping_cart.php class in the includes/class folder to allow for another quantity to be added directly to the items in the cart. So far it's working fairly well, I still need to clean up a bit of it, but all in all I'm pleased. Thanks again for your answer though. If my previous attempt fails, I'll take it into consideration!

 

Jacob

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...