Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inventory Control Issues

Status
Not open for further replies.

MadneM

IS-IT--Management
Mar 2, 2005
5
GB
Hey guys I have literally tried everything that i can think of so you are my last hope.

I am making a new ecommerce script, this time with Stock control, what i ideally want to be able to do is have:

product A and product B

product A is a small white tshirt and product B is a medium white tshirt

i also have product C and product D

product C is a small blue tshirt and product D is a Medium blue tshirt.

I want to be able to select any combination of colours and sizes (as above)


so far I have it set so product A is the only product that shows up in my list of tshirts and i want to be able to pick my colour and then my size using drop down boxes or textboxes, however i choose.

so imagine i choose a blue tshirt and i want it in medium so when i add it to my cart it puts in product D

or i could choose i want a white tshirt that is a medium and it would put product B into my cart.

I hope you are all following, can anybody think of a way i can do this, in php?

Any help would b greatlyfully appreciated, my head is stuck (dont u hate it when that happens)

Thanks alot

MadneM
 
No worries i'v got it sorted now, anybody got the same problem u can contact me at ross@madnem.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top