product options/variants in simple php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pakhearts
Forum Newbie
Posts: 1
Joined: Mon Aug 03, 2009 6:54 am

product options/variants in simple php

Post by pakhearts »

:banghead: i have to make the product option/variants in simple php:
product options are like
color,size,quantity,printing method,stock etc.now admin has the facility to add multi product options against each product.
after that admin will add the values for each option as product variants.these variants make all possible combinations and make a list.against each combination we give price seperately.
now on client side the all product options are displayed on detail page and user can change the product options values(variants) and change the price by making the combination.


some one please tell me how i can write a code in simple php to make all possible combinations or product variants.
Post Reply