Author |
Topic |
|
[email protected]
VP-CART New User
149 Posts |
Posted - November 18 2010 : 10:42:27
|
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-CART Expert
United Kingdom
948 Posts |
Posted - November 19 2010 : 08:57:05
|
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 |
|
|
carfin
VP-CART Expert
United Kingdom
948 Posts |
Posted - November 19 2010 : 09:26:03
|
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 |
|
|
[email protected]
VP-CART New User
149 Posts |
Posted - November 19 2010 : 10:14:51
|
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 |
|
|
[email protected]
VP-CART New User
149 Posts |
Posted - November 19 2010 : 10:41:23
|
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
|
|
|
carfin
VP-CART Expert
United Kingdom
948 Posts |
|
|
Topic |
|