• Resolved Millionleaves

    (@millionleaves)


    I am building a site with product attributes such as ? d.

    When I switch to mobile version, they change. For example, the attribute above becomes pa_%e2%8c%80-d.

    This appears to be a bug in the mobile code. Can you advise/fix?

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hakik Zaman

    (@hakik)

    Hi @millionleaves

    Thanks for reaching out to me. Sorry for your inconvenience.

    Please give me some information regarding the following queries-

    1. Could you please give me an exact link to your product page?

    2. It is a global attribute or custom attribute?

    3. Which plugin you are using for translate?

    Hope to hear from you soon.

    Thanks

    Thread Starter Millionleaves

    (@millionleaves)

    Thanks for your response.

    – I am using global attributes.
    – I am not using a translation plugin
    – The site is using US English

    Is there a way I can share the page privately?

    Thread Starter Millionleaves

    (@millionleaves)

    Sorry, I realise that the title of my request was not clear. I am using Greek characters in the attribute names.

    Here is part of the code for the attribute table header:

    <th class="? d sortable asc">? d<span class="arrow"></span></th>

    The HTML for the table cells in that column look like this:

    <td data-title="pa_%e2%8c%80-d-d">28-6</td>

    On mobile, the data-title value is displayed instead of the table header value for that attribute.

    Hopefully this helps explain the problem better.

    Plugin Author Hakik Zaman

    (@hakik)

    Hi @millionleaves

    Thanks for your clarification. You should keep in mind, WooCommerce encode/encrypt the terms and attributes slug when you use different language.

    You can set name in Greek but slug must be in English otherwise WooCommerce encode/encrypt the slug. Please check this screenshot.

    Note: PVT is displaying data/value based on slug.

    Hopefully, it will resolve your issue. Hope to hear from you soon.

    Thanks

    Thread Starter Millionleaves

    (@millionleaves)

    Changing the slug solved the problem for me. I didn’t know that would happen with the slug when I used Greek characters.

    Thanks for your help!

    Plugin Author Hakik Zaman

    (@hakik)

    Hi @millionleaves

    I am very glad that your issue is resolved. ??

    Have a great day.

    Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Greek attribute names change on mobile’ is closed to new replies.