Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / global radio checkbox if ticked checks the cart for products

global radio checkbox if ticked checks the cart for products

Locked
This thread is locked. New replies are disabled.
13 Jun 2008, 10:09 PM
#1
malik_dev avatar

malik_dev

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?

14 Jun 2008, 3:54 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,764
Plugin Contributions:
0

Post #2 by Kim

Might be simpler to use the PC Configurator addon from the Downloads section - Note: I have not installed it myself so I can not vouch for it.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.