ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Customization for the featured products
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Customization for the featured products

 Post Reply Post Reply
Author
Message
ym View Drop Down
Newbie
Newbie


Joined: 22-January-2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ym Quote  Post ReplyReply Direct Link To This Post Topic: Customization for the featured products
    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.
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post 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
Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours
Back to Top
ym View Drop Down
Newbie
Newbie


Joined: 22-January-2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ym Quote  Post ReplyReply Direct Link To This Post Posted: 01-June-2010 at 11:46am
The url is http://www.espressotec.com/index.asp.

I'd appreciate your help.
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
ym View Drop Down
Newbie
Newbie


Joined: 22-January-2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ym Quote  Post ReplyReply Direct Link To This Post Posted: 01-June-2010 at 3:16pm
Thank you so much.
The second method solved the problem.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.