show/hide images on Recently viewed products |
Post Reply |
Author | |
RBP Limited
Groupie Joined: 04-July-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 19-August-2008 at 8:35am |
Hi,
Is there an option to turn off the images on the Recently viewed products? I only want to show the product titles.
Kind regards
Wayne,
|
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
/productcart/pc/smallRecentProducts.asp is the file you will need to look at. It contains no logic that allows you to turn off the image via a switch-setting in the admin. However, it's not that hard to hide the image. Here's an idea. The script contains the following code:
' Get product image and sku
pcvStrSku = tmpVPrdArr(2,tmpIndex) pcvStrSmallImage = tmpVPrdArr(3,tmpIndex) if pcvStrSmallImage = "" or pcvStrSmallImage = "no_image.gif" then pcvStrSmallImage = "hide" end if If you change it as follows, the image will not be displayed (replace XXXXX with your name or initials so you can remember what you did later when you want to apply changes to an upgraded release of PC).
' Get product image and sku
pcvStrSku = tmpVPrdArr(2,tmpIndex) pcvStrSmallImage = tmpVPrdArr(3,tmpIndex) if pcvStrSmallImage = "" or pcvStrSmallImage = "no_image.gif" then pcvStrSmallImage = "hide" end if ' modified by XXXXX to permanently hide images
pcvStrSmallImage = "hide"
|
|
RBP Limited
Groupie Joined: 04-July-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Thanks for that. I was looking for an option in the admin as the code implies you can set pcvStrSmallImage to = hide Cheers Wayne. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |