danielrichardson
VP-CART Super User
 
Australia
276 Posts |
Posted - August 15 2016 : 07:19:23
|
Anyone know how to add a dash in order detail page (shoppaddtocart.asp)?
Example :
Customer Information
Name Daniel Richardson Address 123 Street City City State/Province AL 12345 US Email danielridchardson@yahoo.com Phone 1234567890
modify to :
Customer Information
Name Daniel Richardson Address 123 Street City City State/Province AL - 12345 - US Email danielridchardson@yahoo.com Phone 1234567890
Thanks |
|
danielrichardson
VP-CART Super User
 
Australia
276 Posts |
Posted - August 15 2016 : 07:20:33
|
Also on shopthanks.asp page.
Thanks |
 |
|
ryo_best
VP-CART New User

90 Posts |
Posted - August 15 2016 : 09:32:31
|
Hi Daniel,
Do you mean you want to change this on shopcreateorder.asp page instead shopaddtocard ?
I f you want to add dash on customer information at shopcreateorder.asp, just edit file shopcreateorder.asp, then locate line 442 - 443 :
Line 442 merge_string_to_main statecodecountry, strState Line 443 merge_string_to_main statecodecountry, strPostCode
Change this to :
Line 442 merge_string_to_main statecodecountry, strState & "-" Line 443 merge_string_to_main statecodecountry, strPostCode & "-"
Save and refresh again, your state/province will have dash now.
cheers  |
 |
|
ryo_best
VP-CART New User

90 Posts |
Posted - August 15 2016 : 09:43:49
|
Sorry, forgot about shopthanks.asp
If you want to add dash for customer information at shopthanks.asp, just edit file shopformatorder.asp and locate line 405 - 406 :
Line 405 merge_string_to_main statecodecountry, stroState Line 406 merge_string_to_main statecodecountry, stroPostCode
Change to :
Line 405 merge_string_to_main statecodecountry, stroState & "-" Line 406 merge_string_to_main statecodecountry, stroPostCode & "-"
Hope this helps.
cheers  |
 |
|
danielrichardson
VP-CART Super User
 
Australia
276 Posts |
Posted - August 15 2016 : 09:49:01
|
AWESOME Ryo,
Thanksss |
 |
|
danielrichardson
VP-CART Super User
 
Australia
276 Posts |
Posted - August 15 2016 : 11:29:36
|
Anyway, if I modify shopformatorder.asp around line 405 - 413 to the following code
dim statecodecountry statecodecountry = "" ''merge_string_to_main statecodecountry, stroState & "-" ''merge_string_to_main statecodecountry, stroPostCode & "-" ''merge_string_to_main statecodecountry, strocountry DoField_Order "", statecodecountry DoField_Order GetLang("langcuststate"),stroState DoField_Order GetLang("langcustpostcode"),stroPostCode DoField_Order GetLang("langcustcountry"),strocountry ....
Will be like this:
Customer Information
Name Daniel Richardson Address 123 Street City City State/Province AL Zip Code 12345 Country US Email danielridchardson@yahoo.com Phone 1234567890 |
 |
|
ryo_best
VP-CART New User

90 Posts |
Posted - August 16 2016 : 09:31:04
|
Nice info danielrichardson.
Thanks.
cheers  |
 |
|
|
Topic  |
|