Question: Import Product Template

Import Product Template

Hi I did import product template with Arabic items name successfully, but the names appear like question mark sample, please help me to fix? Thanks

H

hussein

Asked
Hi

I did import product template with Arabic items name successfully, but the names appear like question mark sample, please help me to fix?

Thanks
  • MS

    Mian Saleem

    Answered
    Hello,

    Please check your csv file encoding. Page has details for that. Csv file should be UTF8 encoded and saved without BOM.

    Thank you
  • H

    hussein

    Answered
    Hi
    It’s perfect now, still one thing, the slug take the same name data although it’s set to take the item code data, how to fix this?
    Thanks
  • MS

    Mian Saleem

    Answered
    Hello,

    Please edit `app/controllers/admin/Products.php` around line 1694

    ```
    'slug' => $this->Settings->use_code_for_slug ? $this->sma->slug($value[1]) : $this->sma->slug($value[0]),
    ```

    Thank you
  • MS

    Mohamad Said

    Answered
    hi
    I have this line
    'slug' => $this->Settings->use_code_for_slug ? $this->sma->slug($value[1]) : $this->sma->slug($value[0]),

    what shall I change to set the slug to be same as the barcode ?
  • MS

    Mian Saleem

    Answered
    Hello,

    Please check your system settings and enable use code for slug.

    Thank you
  • Login to Reply