Print Page | Close Window

Option Images

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=3590
Printed Date: 07-July-2025 at 3:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Option Images
Posted By: PSchraier
Subject: Option Images
Date Posted: 02-April-2010 at 2:34pm
How do I change the number of images that are displayed below the main product image when showing option images (not additional images)? See example here: http://innovative-baby.com/shop/pc/viewPrd.asp?idproduct=6609&idcategory=0

The layout is a customized version of viewPrdL.asp so that I could put the recently viewed and cross selling on the right side.

Thanks


-------------
Pat Schraier



Replies:
Posted By: Greg Dinger
Date Posted: 02-April-2010 at 2:36pm
Pat, go look at the constant at the top of viewprd.asp

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: PSchraier
Date Posted: 04-April-2010 at 12:32pm
Greg,

I made that change and it works with additional images but not images that come from options.  The only thing that works is to make the option images 50 pixels. Here is a page where I resized all the option images to 50 pixels instead of using the thumbnails.

http://innovative-baby.com/shop/pc/viewPrd.asp?idproduct=6439&idcategory=0

Pat


-------------
Pat Schraier


Posted By: Greg Dinger
Date Posted: 04-April-2010 at 1:09pm
Please confirm what value you have for this statement at the top of viewprd.asp:
 
pcv_intProdImage_Columns = 3


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Greg Dinger
Date Posted: 04-April-2010 at 1:18pm
Pat, go fiddle with this value:
 
In app-ViewPrdFuncs.asp, down near the bottom of the page:
 
if Ocount=5 then
When I adjusted that in a development store, I was able to alter the number of "swatches" that are displayed.  If it is the number of swatches (displayed per row) that you wish to alter, this should get it for you.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: PSchraier
Date Posted: 05-April-2010 at 11:47am
That did it!  The page layout looks much better.

Thank you.


-------------
Pat Schraier


Posted By: avalight
Date Posted: 05-November-2012 at 3:31pm
Is there a way to get the swatches to align to the Left, instead of centered.  I have looked and looked and cannot see why these are aligned center.  I can see it on the source code on-line, but not in the viewprdcode.asp or any other file, for that matter. 
Thanks
Curt



-------------
Curt



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net