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
 Cross Selling in Shopa_addproduct.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

fflores
Starting Member

12 Posts

Posted - September 11 2009 :  17:22:52  Show Profile  Reply with Quote
How can I make the select box larger, size = 25 when in ShopA_addproduct.asp? I have over 10k products and trying to cross sell these items is a long and slow process because the selelct box is so small.

Thanks,

Frank

creativechaos
VP-ASP New User

Australia
64 Posts

Posted - September 17 2009 :  22:48:47  Show Profile  Visit creativechaos's Homepage  Reply with Quote
Hi Frank,

There are a few ways you could handle your situation.

The first approach would be to alter the Sub GenerateSelectMULT_NOVALUES subroutine in shop$db.asp and change the line of code:

%><select multiple size="5" class="txtfielddropdown" name="<%=selectname%>"><%

To:

%><select multiple size="25" class="txtfielddropdown" name="<%=selectname%>"><%

Save and re-upload your shop$db.asp file to your server to see the changes.


Since you are loading 10 thousand products into that cross selling field it will slow down the load speed of the shopa_addproduct.asp page. The second option you might like to take would be to set the configuration setting "xproductaddsimplemode" to "YES". This will replace the cross selling select list with a simple text input field where you just write the catalogid's of the products you want to associate with the current product. For instance, you would add something like 1, 3, 5 into the cross selling field to associate catalogid's 1, 3 and 5 with that product. This approach should speed up the process of loading the shopa_addproduct.asp page but will require you to look up the catalogid's from an alternative source.


Hope this helps.

Cheers,

Michael Dunkley
Creative Chaos
http://www.creativechaos.com.au
Go to Top of Page

fflores
Starting Member

12 Posts

Posted - September 18 2009 :  10:58:28  Show Profile  Reply with Quote
That did it! Thanks Mike!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000