 bbaskets
Contributor
|
I was having a problem where <br> tags where being generated as input names in my checkout forms, and it seems others were having this problem:
Here http://getshopped.org/forums/topic/checkout-fields-have-br-tags/ here http://shivawebs.wordpress.com/2011/07/15/checkout-fields-have-br-tags-ecommerce-plugin/ and here http://getshopped.org/forums/topic/tags-showing-in-checkout-form-3/
I found this bug was due to a conflict between WP-ecommerce and the layout short-codes plugin found here: http://tutorials.mysitemyway.com/adding-column-layout-shortcodes-to-a-wordpress-theme/
Just disable that plugin to get WPEC to work properly. Hardcode the shortcodes into your themes function file to keep using the shortcodes.
|
 thewebprincess
New Member
|
Brilliant – that solved my problem too, but the plugin we were using was Shortcodes Ultimate from http://gndev.info/shortcodes-ultimate/
Thanks for the heads up
|
 no10design
New Member
|
A solution provided by Stefano Viani here: http://getshopped.org/forums/topic/checkout-fields-have-br-tags/ solved the problem perfectly for me.
Hope it works for you guys also !
|
 miketidmore
Contributor
|
This solution doesnt work for me at all :http://getshopped.org/forums/topic/checkout-fields-have-br-tags/
I replaced the code in wpsc-shopping_cart_page.php with Stefano’s exmaple but no luck. I would very much appreciate some help with other ideas.
Thanks in advance
|
 superkat1
New Member
|
My code looks exactly like Stafano’s example, am I missing something or not understanding his solution? I am using a ThemeForest template and have not added any shortcode plug-ins.
I also have a problem with the field name being visible for example,
First Name
is what shows up in the first name field on the checkout form. Like Mike I also need some other ideas. Any help would be greatly appreciated!
Thank you
|
 superkat1
New Member
|
This is the fix that finally worked for me!
In the wpsc-shopping_cart_page.php lines 364-366
replaced the with
and replaced with
|
 superkat1
New Member
|
Okay, that didn’t work to show you the code at all- forgive me. Both of these are where I found the answer and it worked perfectly.
http://getshopped.org/forums/topic/html-characters-in-checkout-form-fields/
http://getshopped.org/forums/topic/remove-br-tags-from-the-checkout-page-fields/
|