Mihai00700 Posted February 15, 2024 Share Posted February 15, 2024 Hello, I tried to change the shop name in prestashop but it didn't and did work at the same time. The shop name is now what I wanted. I just have a slight problem. When the shop sends the emails on the bottom of the email template stands the (shop_name} function. But when it sends an email it sends it as another name, not the name I want it to be. How can I change the {shop_name} in the files of the shop ? I am running prestashop 8.1.3. Thank you. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 16, 2024 Share Posted February 16, 2024 Hi, it's in CONFIGURE / Shop parameters / Contact - Stores tab change Shop name Link to comment Share on other sites More sharing options...
Mihai00700 Posted February 16, 2024 Author Share Posted February 16, 2024 (edited) Hello, yes I tried this but the shop name in the email still isn't what i put it to be. I want to modify the shop name in the email. I think I may have put the werong one when I installed prestashop, but i don't really know. Edited February 16, 2024 by Mihai00700 (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 16, 2024 Share Posted February 16, 2024 Hum, strange, did you modify mail templates, seem the name is hard coded in temlplate?! Link to comment Share on other sites More sharing options...
Mihai00700 Posted February 16, 2024 Author Share Posted February 16, 2024 (edited) No, it's not hard coded, it is just like this, {shop_name} : Edited February 16, 2024 by Mihai00700 (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 16, 2024 Share Posted February 16, 2024 Are you in multishop? Link to comment Share on other sites More sharing options...
Mihai00700 Posted February 16, 2024 Author Share Posted February 16, 2024 No, I'm not. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 16, 2024 Share Posted February 16, 2024 Check if you have multiple mails folders, specially in theme? Link to comment Share on other sites More sharing options...
Mihai00700 Posted February 16, 2024 Author Share Posted February 16, 2024 This are my only themes (I am using the modern theme). Link to comment Share on other sites More sharing options...
mrctm Posted February 16, 2024 Share Posted February 16, 2024 (edited) Mihai, trebuie sa mergi prima data in DESIGN>TEMA EMAIL, hotarasti care tema folosesti, classic sau modern, dupa asta te duci in host la file email, a temei care ai hotarat sa o folosesti pt emailuri. Vezi ca ai 2 files, moderrn si clasic, dublu click pe modern sau clasic, acolo gasesti toate emailurile. Deschiai fiecare file per rand, il descarci, ii modifici footer emailului si il incarci din nou, eu asa am facut. Cu fiecare pe rand, ii dai sa scrie peste cel vechi cand il incarci, de fapt il rescrie in automat. Dupa ar trebui sa funczioneze. Trebuie sa cauti filul cu emailul in tema modern, acuma am vazut ce tema folosesti. Spor! Edited February 16, 2024 by mrctm (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted February 16, 2024 Share Posted February 16, 2024 On 2/15/2024 at 1:09 PM, Mihai00700 said: How can I change the {shop_name} in the files of the shop ? you have several urls in the database, and you need to change the Url in htaccess. Link to comment Share on other sites More sharing options...
Mihai00700 Posted February 20, 2024 Author Share Posted February 20, 2024 Hello, I managed to fix this problem by searching in the database the old name. I found an old database table and changed the name, and it worked! steps: 1: login into phpmyadmin 2. search the old name 3. replace the old name with the name you want your shop to be 4.clear the cache and regenerate the email templates. good luck, Mihai Ghetu. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now