| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
how do I remove spaces in sharing button urls | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
how do I remove spaces in sharing button urls
I have sharing buttons on my site. An example of one is for twitter. Here is the template code that creates the link from my product.
Code:
The problem is that my product names have spaces in them so the actual URL comes out looking like this. Code:
Is there a way to replace the spaces in the URL with + or %20 so that they will validate in w3c? Thanks.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#2
|
|||||||
|
|||||||
Re: how do I remove spaces in sharing button urls
Try...
Code:
__________________
xcartmods.co.uk |
|||||||
#3
|
|||||||
|
|||||||
Re: how do I remove spaces in sharing button urls
that worked, thanks Phil.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
|||
X-Cart forums © 2001-2020
|