Search the Community
Showing results for tags 'shop_name'.
-
Hi all, This is my first post on this forum, hope i'm doing it right. I do not have a lot of experience programming php, so i am having trouble finding the problem, and maybe a solution. I am setting up a new Dutch webshop and currently am testing the order process. Lots of things are going right, but i did find one silly bug in my installation. I am using the classic template with PrestaShop-version: 1.7.5.2, with all modules updated I am testing with Dutch language settings, but the same problem also occurs when using the English language. I am testing with only one payment option enabled: payment by bank deposit. (payment by check is disabled and not configured) I have tested before and after clearing the cache, and with cache on and off. The page in question is order-confirmation. There in the section with id "content-hook_payment_return" I see a text "Uw bestelling op My shop is compleet." or in English" :Your order on My shop is complete". The bug is that "My shop" should have been substituted by the real shop name, as informed on the contacts page in the admin module, afaik. I have tried to debug, and get to themes\classic\templates\checkout where in the code a $HOOK_PAYMENT_RETURN is, which i think refers to a generic module (actually there are 2 modules that have a payment_return template). In the directory /modules/ps_wirepayment/views/templates/hook i find the payment_return template that has the line with the problem ( i know this is the right template by adding some extra text in it). the code: {l s='Your order on %s is complete.' sprintf=[$shop_name] d='Modules.Wirepayment.Shop'}<br/> that generates the wrong (default?) shopname. Ofcourse i can hardcode the name in this code as a workaround, but why does the real name not get loaded in the $shop_name variable? In ps_wirepayment.php i see a line of code 'shop_name' => $this->context->shop->name which is in an if statement but if that is the right code to look at is already a bit above my current php skills. Interesting maybe related fact is that a German user has the same kind of problem in the emails showing "My shop" instead of the real name, while my emails get the name of the site in the subjectline : https://www.prestashop.com/forums/topic/996203-my-shop-anzeige-in-e-mail/?tab=comments#comment-3135185 Hope this is enough info! If not please don't hesitate to ask for more details. Thanks, Allard
-
Hello, I hope you that you can help me. I am having some issues with prestashop subject mails. I am using prestashop version 1.6.1.18. The problem is that in the subject for the mailings i have I was able to comment out this lines in the mail.php file: //$subject = '['.Configuration::get('PS_SHOP_NAME', null, null, $id_shop).'] '.$subject; $message->setSubject($subject); , and it worked for some mails, but others like Order confirmation and Payment accepted still has it. I am not able to find the lines where is inserting the shop name in the subject in any other place in the application. But still is there... Any ideas? Thanks a lot in advance, Egoitz
-
Does anybody know how to insert variables (non-html) code into the CMS pages? We are running a multishop with shared CMS-pages, but we want our sitename to be variable in these pages. One of the the variables should be $SHOP_NAME in a standaard CMS page with the privacy policy. Pages like these often use the shop name many times. <?php .... ?> will not work because of the HTML output... Who can help us? Arjan 't Hart webmaster LEDaanbieder.nl (http://www.ledaanbieder.nl) cms.tiff
-
Bonjour, Pourriez-vous m'aider? Je vous expose mon problème et j'ai pu voir que je n'étais pas le seul à rechercher la solution. Voilà le nom de mon site apparait 2 fois sur google et sur facebook comme vous pouvez le voir sur l'image. Et j'aimerais enlever le nom de mon site à la fin. Et ne laisser que le nom de mon site et la description. J'ai fais une sauvegarde et j'ai également supprimé le 2ème " ´-´.Configuration::get('PS_SHOP_NAME') " Est-ce bien juste?
- 2 replies
-
- référencement google
- référencement
-
(and 2 more)
Tagged with:
-
Hola, tengo configuradas dos tiendas (en la misma instalación de prestashop - tiendas multiples). Me he fijado que cuando desde la administración de la segunda tienda contesto a un cliente, este recibe el mensaje "reply_msg" con la "shop_url" de la primera tienda. El "shop_name" lo pone bien, pero la URL que le acompaña es de la primera tienda. El problema viene cuando el cliente me contesta a este email que yo le envié, porque le enlaza con la primera tienda a través del {link}, que se generó a partir de la "shop_url" y no enlaza con la verdadera tienda en la que hizo la consulta o la compra sino con mi otra tienda. No sé si se me entiende. A ver si me podéis ayudar. Gracias. Tengo instalado la versión PrestaShop™ 1.5.4.1
- 5 replies
-
- multistore
-
(and 2 more)
Tagged with:
-
Please help: I have checked the file /mails/en/account.html and it looks ok, uses <title>Message from {shop_name}</title> like the other email files. All outgoing emails have Personality (From) 'shopname' Why do all reply emails send from customer service appear with Personality 'u' instead of the 'shop name'? Something goes wrong sending emails in combination with the contact form.
- 6 replies
-
- shop_name
- customer service
-
(and 1 more)
Tagged with: