• Resolved dontwonnatellyou

    (@dontwonnatellyou)


    Hi,

    at first let me thank you for your plugin. It is the only plugin from 5-6 i tested that let me do exactly what i needed.

    But i think i have a bit of an issue. I am developing a feed for skroutz and i also need to include some variable products.
    So your template wasn’t working exactly as i wanted, and i changed the attributes (and all the products accordingly) so that i could use the optimized title attribute.
    (Side note : Skroutz wants the variable products with different names in some cases)
    But i see in my feed that some products are like these:
    <name>Θειικ?? σ?δηρο? 1 kgr, Gemma</name> [ which is Correct]
    <name> %ce%b3%cf%85%ce%b1%ce%bb%ce%b9%cf%83%cf%84%ce%b9%ce%ba%cf%8c-spray-%cf%86%cf%8d%ce%bb%ce%bb%cf%89%ce%bd-600-ml-gemma </name>
    Which obviously must be wrong and it is the percent encoding of “Γυαλιστικ? Spray Φ?λλων, 600 ml, Gemma”.

    If i try to put the correct one i get an error “Sorry, only letters, numbers, whitespaces, -, . and _ are allowed for the optimized title field.”

    I can’t see what i am doing wrong and it some cases it works and in some cases it doesn’t, …do you have any ideas?

    Thanks in advance
    manos

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dontwonnatellyou

    (@dontwonnatellyou)

    In test system i have version 3.2.2 and it works fine .

    In productive system i have version 3.3.1 and works as stated above.

    Hi dontwonnatellyou,

    Thanks for using our plugin and reaching out to us. Sorry to hear you are experiencing issues with it. There has been no release between version 3.2.2 and 3.3.1 that had anything related to encoding in it so it is highly unlikely that one of the latest releases caused this. Is your test system (server) configured exactly like the production system?

    All the best,
    Eva

    Thread Starter dontwonnatellyou

    (@dontwonnatellyou)

    Hi Eva,

    Thank you for your answer.

    Noticed that this happens only in products that they have no variations (simple products).

    Tried to check the problem myself, so i might be totally wrong in the following (i don’t know much about programming and stuff) :

    Found that there is a file woosea_validation.js. In that there is a check about the optimized title field & the regular expression used is
    re = /^[a-zA-Z0-9-_. ]*$/.

    I need to use Greek title for my products, and i don’t think that this expression let Greek characters pass, am i right?

    If that is the case then this validation expression doesn’t suit me, hence the error message. (Sorry, only letters, numbers, whitespaces, -, . and _ are allowed for the optimized title field.)

    Back to my problem i don’t really understand what happens and the editor of wordpress, changes greek letters to percent encodings, for the time being i found that if i leave empty the optimized title field it, i have greek characters in Xml. So, …

    Can’t say that the matter is solved, but at least i found a workaround for the time beeing.

    Thanks for your time
    manos

    Lets accept the workarround for now. I will put it on our to-do list for a permanent fix.

    All the best,
    Eva

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Percent encodings on optimized title’ is closed to new replies.