Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author bluey80

    (@bluey80)

    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.

    Thread Starter bonz

    (@bonz)

    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

    Plugin Author bluey80

    (@bluey80)

    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.

    Thread Starter bonz

    (@bonz)

    I try to sell digital baking traks music and many titles have the apostrophe.
    ok. thanks.
    i’m waiting for your news

    Plugin Author bluey80

    (@bluey80)

    Please try
    you "& # 3 9 ;"ve got a friend
    as I think that will fix your problem.

    Let me know,

    Thread Starter bonz

    (@bonz)

    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

    Plugin Author bluey80

    (@bluey80)

    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.

    Thread Starter bonz

    (@bonz)

    I have tried in many ways but nothing to do
    always you

    Plugin Author bluey80

    (@bluey80)

    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.

    Thread Starter bonz

    (@bonz)

    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

    Thread Starter bonz

    (@bonz)

    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

    Plugin Author bluey80

    (@bluey80)

    Alternatively, take a look at https://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.

    Thread Starter bonz

    (@bonz)

    ok i’ll gonna take a look.
    thank you for your support

    Thread Starter bonz

    (@bonz)

    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

    Thread Starter bonz

    (@bonz)

    You & # 3 9 ;ve Got A Friend
    as you had said

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: Simple Cart & Buy Now] Name Problem When I add a product in the cart’ is closed to new replies.