Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Allow customers to turn on or off images

Allow customers to turn on or off images

13 Jan 2014, 3:06 PM
#1
dave_mck avatar

dave_mck

New Zenner

Join Date:
Apr 2005
Location:
London, Ont. Canada
Posts:
45
Plugin Contributions:
0

Post #1 by dave_mck

Is it possible to allow a customer to turn on/off images in the store.

It would make the product list smaller. Most of our stuff is ordered without clicking on the item, it's ordered right off the product list page and for customers who order once or twice a week, it would be a time saver.

Thanks,
Dave.

13 Jan 2014, 8:51 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #2 by gjh42

That is not a stock functionality, but it could be done. You might create a new session variable, and put a switch in the header so customers could select images or no images. Then you would put a test in the product listing code to check the value of the variable and show the images or not.

It would be possible to allow each customer to set a persistent value for this, but that would be considerably more complex, requiring a new database field and the communicating code.