Print Page | Close Window

Customization for the featured products

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=3747
Printed Date: 21-November-2024 at 5:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Customization for the featured products
Posted By: ym
Subject: Customization for the featured products
Date Posted: 29-May-2010 at 2:03pm
Long time ago, for some reason, I made a customization to the featured product, so the products numbers per row always stays at 4 (I made the control panel unable to change the product number per row on purpose). Now I'd like to reconnect to the control panel, but I can't remember which I file I made a customization. I'd appreciate your help.



Replies:
Posted By: intour
Date Posted: 01-June-2010 at 3:16am
Can you give us a URL please so we can take a look at the page you are referring to.
 
Nigel


-------------
http://www.innerview.co.uk - Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours


Posted By: ym
Date Posted: 01-June-2010 at 11:46am
The url is http://www.espressotec.com/index.asp.

I'd appreciate your help.


Posted By: Brett
Date Posted: 01-June-2010 at 2:57pm
Hey ym,

If you want to edit the number of columns for all horizontal displays, you could probably edit includes/settings.asp LINE 65:

private const scPrdRow = 3
private const scPrdRow = NUMBER OF COLUMNS YOU WANT

I haven't tested this, but it seems like a very simple change. Alternatively, if you only want to change the number of columns for your featured product display, you can probably edit pc/HomeCode.asp LINE 259:

If i > (scPrdRow-1) then
If i > (NUMBER OF COLUMNS YOU WANT-1) then

...If you do that, you'll probably also want to edit line 299 on the same file:

intColSpan=scPrdRow
intColSpan=NUMBER OF COLUMNS YOU WANT

...That should do what you want it to. Be sure to look around for any other instances of scPrdRow if you decide to use the second method.


Posted By: ym
Date Posted: 01-June-2010 at 3:16pm
Thank you so much.
The second method solved the problem.



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