VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 xproductcolumns Dynamic
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kaudio
Starting Member

13 Posts

Posted - February 05 2008 :  10:24:33  Show Profile  Reply with Quote
Does anyone know of a way to change the xproductcolumns number through the url. On some pages I would like to use 1 template with 4 columns and on other pages I would like to use 1 column. Any help is greatly appreciated.

yudevan
Starting Member

29 Posts

Posted - February 25 2008 :  09:06:15  Show Profile  Visit yudevan's Homepage  Reply with Quote
Hi,

I think there something interesting at shopdisplayproducts.asp file that can make it happen, there was a line

ProductmaxColumns=Getconfig("xproductcolumns")

you can change it into,

ProductmaxColumns=Request("column")

and put additional line on the url like

http://blah-blahshop.com/vpasp/blabla.asp?&column=4

the point actually &column=4 :)
but as note, this tricky method will make your configuration for xproductcolumns won't work, and you need to specify &column=4 for every display product url

hope this help

cheers

=|=|=|=|=|=|=|=|=|=|=|=|=|=
Just Gimme a Byte of Micro!
=|=|=|=|=|=|=|=|=|=|=|=|=|=
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000