Stokkiestegeman Posted June 5, 2009 Posted June 5, 2009 I'm stuck with a problem for my new webshop. Mayby you can help me out? I want to add an extra condition/check to my shopping cart; the customer can/may add only product B (example: collar) and/or product C (example: a bone) to the shopping cart (or check out) , if product A (example: the dog) is alrealdy in the shopping cart. The essence: the customer may buy product A apart, but all the other products ( B- Z) only in combination with product A. I don't want add this condition to my product options (appears dropdown in product_info.php) in admin site, because of the large ammount a dropdownlists will appear ( example: product B - Z = 25 dropdownlists) at the product info page of every product A. Is their any contribution for this problem? No? Please give me the way to integrate this extra condition/check to my shopping cart. My php and mysql knowledge are very low, but I can feel that their must be created an axtra attribute to the product info page (in the admin site), where you can determine 2 product classes (A) or (B - Z). Next it is to the shopping cart to make the check before checkking out.
Stokkiestegeman Posted June 6, 2009 Author Posted June 6, 2009 I believe their are many oscommerce guru's on this forum, does knowone knows the anwser? :( I think my problem is mater - slave related. I want to make sure that a customer can't buy a standalone slave, only in combination with a master. As well the master as the slave must stay in his own catogorie. So the shopping cart can determine of a master is sold or a master - slave combination. Can anyone give me the anwser?
Jan Zonjee Posted June 6, 2009 Posted June 6, 2009 I believe their are many oscommerce guru's on this forum, does knowone knows the anwser? Can anyone give me the anwser? The answer is that this is typically a thing that needs to be custom coded for example adding a table with a list of products (your slaves) that need to be combined with a master. So a table with two columns (slaves/masters). Then all the logic to query that table on a certain point and how to handle that (inform a customer, force her back to a page whatever) needs to be added. The people who can do that, typically do this kind of thing for a living. They are not prepared to work for free on something that only one person needs. Simple as that. If it means that much to you, you will either have to learn to do this yourself or pay someone to do it for you. Not everything here is for free. I don't do paid "code work" so don't think I'm offering services here :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.