Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help in Creating Product Instances/Coding Job?


sprocket100

Recommended Posts

Similar to the Custom Computer/Custom PC Contributions, which aren't an optimal basis for what I'm doing, I'd like to develop the following functionality for my site:

 

I have a product that can be defined by three dimensions (sizes[2], colors[5], speeds[3]). That means there are 30 possible permutations. Assume that all 30 products are enumerated in TABLE_PRODUCT and TABLE_PRODUCT_DESCRIPTION

 

I'd like a form to appear that is comprised of 5 fields:

 

text box: custom_batch_name

dropdown: sizes

dropdown: colors

dropdown: speeds

quantity: qty

 

The customer types in a name, selects size, color and speed and types in a quantity.

 

The action associated with this form should be to 1) retrieve the product in the data base associated with the customer's selection of size, color and speed; 2) create a new product in TABLE_PRODUCT, etc. based on the retrieved product and substituting custom_batch_name for the retrieved product's name, and; 3) add the new product (name, description, qty) to the cart.

 

There are some nuances, but that's basically what I'm looking for. I've spent a few days looking into things that might be converted - now I'm looking for some more hands on help.

 

Thanks.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...