Question: Slug field may only contain ERROR

Slug field may only contain ERROR

Hi when i add product with greek characters return error "The Slug field may only contain alpha-numeric characters, underscores, and dashes."

J

JOHN

Asked
Hi when i add product with greek characters return error
"The Slug field may only contain alpha-numeric characters, underscores, and dashes."
  • MS

    Mian Saleem

    Answered
    Hello,

    Yes, slugs can't have special chars.

    You can use product name or code to generate slug. If your code don't have special chars then you can update system setting to use code for slug. Otherwise you will need to manually edit the slug input field.

    Thank you
  • J

    JOHN

    Answered
    When I enter the name in Greek characters, the slag is automatically filled in by the product name. The problem is that some characters in the slug put them in Greek and some in English. that's why he sees it as special characters. What do I need to change to work and convert all characters to lowercase and English
  • MS

    Mian Saleem

    Answered
    If you want to convert then you can update the missing chars in the `app/config/foreign_chars.php` file.
  • J

    JOHN

    Answered
    I add but not working with uppercase greek characters
  • MS

    Mian Saleem

    Answered
    You might need to add both lower and uppercase chars in the file. Otherwise you can use code to generate slug by changing the settings. Thank you
  • J

    JOHN

    Answered
    ok thank you
  • Login to Reply