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
 VP-ASP 7.0 Questions
 Solved: changing option delimiter
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

[email protected]
VP-ASP New User

149 Posts

Posted - November 18 2010 :  10:42:27  Show Profile  Reply with Quote
Working in VPASP 7, and the delimiter used for the drop down options box is a comma. Is there an admin option to change this from a comma to a semi-colon?

The db updates that are given to me are done in comma seperated values and I am not able to change that to pipe or semi-colon. My only option is to change what delimiter vpasp from comma to semi-colon.

Anyone know of an admin option for this or a file to alter the code?

Thanking you in advance

Dustin

Edited by - [email protected] on November 22 2010 14:30:12

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - November 19 2010 :  08:57:05  Show Profile  Reply with Quote
Hi Dusty,

you could try this -
open shopproductfeaturesgenerate.asp in a text or html editor

Find the line of code (line 42 approx):
Feature_array = Split(strFeatures, ",") ' get feature numbers

And change "," to ":"

Not sure if this will work, haven't tried it out yet.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - November 19 2010 :  09:26:03  Show Profile  Reply with Quote
Hi Dusty,

Sorry, I think I've got the wrong end of the stick here. Which dropdown options do you mean?

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

[email protected]
VP-ASP New User

149 Posts

Posted - November 19 2010 :  10:14:51  Show Profile  Reply with Quote
Hi Carrol,

Some of our products vary in size/colour. The option box that lets them choose which size/colour of product they wish is the one that in our old version of vpasp was delimited by a semi-colon.

Thanks for helping me with this

Dustin
Go to Top of Page

[email protected]
VP-ASP New User

149 Posts

Posted - November 19 2010 :  10:41:23  Show Profile  Reply with Quote
Found it :)

Thanks Carrol! You guided me in the direction I needed


The line I changed was near 429

Parray = split(strSelectList, ",")

to

Parray = split(strSelectList, ";")

It works perfectly.

Thanks again

Dustin
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - November 19 2010 :  10:45:46  Show Profile  Reply with Quote
You're welcome



Carrol
www.deanston-electrical.co.uk
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000