SMFHacks.com
SMF Store => Support => Topic started by: dan4ever on October 10, 2013, 10:12:34 am
-
Hi
My costumer is coming to a English speaking PayPAL when they are going to pay.
I'd like to come to the Swedish speaking page.
https://www.paypal.com/us/cgi-bin/... English...
https://www.paypal.com/se/cgi-bin/... Swedish...
Where do I change that?
/Dan
-
You would have to search both Sources/store2.php
And themes/default/store2.template.php
And do a find and replace.
-
I only find store2 in this directions...
I don't have any classifieds2
-
Ooops sorry got confused meant store
-
Sorry but I can't find were to change to 'se'
-
Do a search for the phrase paypal.com/us/cgi-bin/ and just make the change were it is found
-
Yes, I did !!!!
No result !!!
I do not have Store.php I have Store2.php and Store2.template.php
I have SMF Store 2.5 and SMF 2.0.5
-
Your right I don't have the english version links using generic.
"paypal.com/cgi-bin/webscr"
You can try changing that oen not sure if it will work though
-
Did't work...
Maybe in storeipn2.php ????
In that case, where??
-
No would only be in those files.
-
OK, it works...
I change lc
In Store2.php
line 8137 $buildurl .= 'lc=sv_SE';
and
line 8213 <input type="hidden" name="lc" value="sv_SE" />';
My references is: https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables#id08A6HI0709B (https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables#id08A6HI0709B)
But this should change after the language the user select, I think...
/Dan
-
Ok good to know.