Hi,
when i add a product in the cart with name (example) "you've got a friend", the result is "you" without the rest of the name.
thanx in advance for the answer
bonz
Hi,
when i add a product in the cart with name (example) "you've got a friend", the result is "you" without the rest of the name.
thanx in advance for the answer
bonz
You can't use a "'" in the name as it messed up the parsing of the field. Try using the HTML code for "'" of "'" instead. I think that will parse fine and look right in the final document as well.
You could also try escaping the "'" -- ie: "you\'ve got a friend" but I'm not sure that will work and I think the first solution is better.
Let me know if that doesn't fix it.
thanx for the answer.
i don't use the " i used " only for include the example.
the name in question is you've got a friend , result is you, here another name it's a rainy day result is it and not the entire name.
thanx
bonz
Opps.. my html escape code got processed by the webpage. Let me try writing that again. The problem is the with apostrophe in the name (the character right after the end of the result). So instead of inputing:
you've got a friend
it's a rainy day
try:
you "& # 3 9 ;"ve got a friend
it "& # 3 9 ;"s a rainy day
Where you drop the extra spaces inside the "". That sound look the same, but not give the parsing problems.
I try to sell digital baking traks music and many titles have the apostrophe.
ok. thanks.
i'm waiting for your news
Please try
you "& # 3 9 ;"ve got a friend
as I think that will fix your problem.
Let me know,
i'm sorry but i don't know where to put these things that you say to me.
i don't know html or php code
In the form where you add a product to the cart with the name "you've got a friend" you need to replace the ' in you've. First, if you just drop the ' -- ie
youve got a friend
that should work fine, it just won't have he apostrophe. Now, add the text:
& # 3 9 ;
between the u and the v in "youve". Only drop the spaces between the characters. That will look like a ' in HTML.
It should look something like
[scabn name="you & # 3 9 ; got a friend" price="0.99" b_title="Add To Cart"]
But again, remove the spaces around the & # 3 9 ; (if I remove the space in this forum post, you will just see a ' instead of the code.
I have tried in many ways but nothing to do
always you
Have you you tried without the apostrophe? EG:
[scabn name="youve got a friend" price="0.99" b_title="Add To Cart"]
Post what you are using.
yes without the apostrophe is ok
[scabn name="You ve Got A Friend (Cumbia)" price="7.00" b_title="Add To Cart"]
i think that I will remove all the apostrophes in the titles
if i use the shortcode
[scabn price="7.00" b_title="Add To Cart"]
it takes the name of the post and the result is You
not You've Got A Friend
Alternatively, take a look at http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php for putting "'" and other symbols, etc, into your html without affecting the scripting. I think that will work in your title, but it definitely will work in the name="blah" section of the [scabn] code.
ok i'll gonna take a look.
thank you for your support
ok now it works, perhaps before i didn't the right things
[scabn name="You've Got A Friend" price="7.00" b_title="Add To Cart"]
thanx again
You & # 3 9 ;ve Got A Friend
as you had said
This topic has been closed to new replies.