New Zenner
- Join Date:
- Jun 2008
- Posts:
- 2
- Plugin Contributions:
- 0
Post #1 by malik_dev
Hello all!
I'm new to php and zen, i think it's a fantastic product as it is but i'm interested in customising it a little to provide a specific functionality.
i think the following walkthrough will explain:
-
the customer either ticks a checkbox or selects a yes or no radio box in answer to a question (do u want to build a pc?)
-
this then sets a global variable ( yes i do or no i dont)
-
if set to yes, it advises the customer to select from particular sub categories of hardware (ie: cpu, memory, graphics card, power supply, case, monitor etc)
-
a final check is then performed on the cart to see if particular parts have been selected
-
if yes it goes to payment, else back to choosing at least 1 product from each subcategory.
question 1: how do i set a global variable selected by the user to YES or NO?
question 2: how do i display products from each subcategory under hardware as a drop-down list?
question 3: how do i check the cart for at least one item being selected from a sub category?