Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I need to modify OSC


Vom_Fass_USA_Guy

Recommended Posts

Here's an example of what I'd like to accomplish:

 

http://www.vomfassuk.com/Webdocs/shop/prod...=235&xSec=6

 

Click the drop-down list to select a bottle.

 

So, the end result should entail choosing a product, selecting a bottle, and the cost should be automatically calculated from the volume of the selected bottle.

 

Suggestions for implementation?

 

Thanks in advance!

 

Michael

Link to comment
Share on other sites

Here's an example of what I'd like to accomplish:

 

http://www.vomfassuk.com/Webdocs/shop/prod...=235&xSec=6

 

Click the drop-down list to select a bottle.

 

So, the end result should entail choosing a product, selecting a bottle, and the cost should be automatically calculated from the volume of the selected bottle.

 

Suggestions for implementation?

 

Thanks in advance!

 

Michael

 

I think I see what you are describing. What you need is a java script that calculates the total while on page. Not good at this but you would want an onblur event to trigger the js after updating the quantity field. A google would probably turn up just what you need.

 

The calculated price based on quantity appears correct in the basket but on page is an issue.

 

Good Luck and happy coding

How do you know when you know what you want to do for the rest of your life?

Link to comment
Share on other sites

http://vomfass.co.nz/View.php?PID=23

 

Is an example of what you describe, however I just want to go bare-bones functional right now, as time is of the essence.

 

Any good ideas to just make this work?

 

Example:

A guest wants to buy some oil. They go to the product's page. It simply says, "$5/100mL". They then, either from a dropdown list that displays images on-click, or maybe an image gallery, choose a bottle. Let's say a 250mL one.

 

I need the bottle and 2.5x the price of the oil per 100mL to show up in the shopping cart in the easiest way for them (and me).

 

Suggestions? This kind of modification is`new to me. Assistance is greatly appreciated.

 

Michael

Link to comment
Share on other sites

  • 2 weeks later...

I have an idea on how to code the image aspect of this dual-purchase endeavor, but can someone please 'hold my hand' and tell me how to accomplish selection of a product and a bottle of varying size and price, and then add both to the cart with the volume of the bottle multiplied by the price of the product.

 

Any help would be greatly appreciated.

 

Michael

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...