smiles1976 Posted December 29, 2011 Share Posted December 29, 2011 Hi, when I look at me email templates this {shop_name} appears at the button of my email templates. However, when I receive emails from my site, I don't see my store name at the button of the emails. I would like to know how to fix this problem. Thanks! I've attached 2 screenshots showing the difference. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 29, 2011 Share Posted December 29, 2011 Hi smiles, The two screenshots you posted are of completely different emails. Could you please find the matching screenshots for the template and actual email so that I can make some comparisons between the two? -Mike Link to comment Share on other sites More sharing options...
Aldeag Posted December 29, 2011 Share Posted December 29, 2011 Do you mean "bottom"? Link to comment Share on other sites More sharing options...
smiles1976 Posted December 29, 2011 Author Share Posted December 29, 2011 Hi, again I've attached a screenshot of the email template that matches the email I received. Actually the "shop_name" is at the bottom of all the email templates. However, when I receive emailed based on those template, I get the same problem, no shop name at the bottom. Thanks in advance for your help. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 29, 2011 Share Posted December 29, 2011 And what version of PrestaShop are you using? -Mike Link to comment Share on other sites More sharing options...
smiles1976 Posted December 29, 2011 Author Share Posted December 29, 2011 I'm using 1.4.3. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 29, 2011 Share Posted December 29, 2011 Hi smiles, The {shop_name} variable is drawing from the PS_SHOP_NAME value in the ps_configuration table of your database. Please check it via phpMyAdmin to see if there is anything written there, because it appears that your emails are currently drawing a blank value. -Mike Link to comment Share on other sites More sharing options...
smiles1976 Posted December 29, 2011 Author Share Posted December 29, 2011 Hi, which line of code should I look for. Truthfully, I no very little about coding. Thanks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 29, 2011 Share Posted December 29, 2011 Hi, which line of code should I look for. Truthfully, I no very little about coding. Thanks It actually isn't a code thing. Through your hosting provider, you should have access to something called phpMyAdmin or some similar database tool. If you're not sure about this, call your host and they'll give you the necessary information. These databases are where all of your site's data and information are stored, and what the code of the site references when providing information (such as the shop name at the bottom of an email; you'll notice it was missing in the body of that email as well). Once you've accessed your database, look for the ps_configuration table, click on it, and then click Browse and search for PS_SHOP_NAME (it may not be on the first page of your results). Right next to that title, there should be a value (in the screenshot, mine is PrestaShop). However, my hunch is that you do not have anything entered there, thus creating this issue in your emails. If it is empty as suspected, click on the pencil icon so that you can edit it manually and add your shop name. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 29, 2011 Share Posted December 29, 2011 And if a picture is worth a thousand words, hopefully this screencast will make things even clearer for you once you've accessed your database. -Mike Link to comment Share on other sites More sharing options...
smiles1976 Posted December 29, 2011 Author Share Posted December 29, 2011 Hi, very strange but my shop name "wearthename.com" was there. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 29, 2011 Share Posted December 29, 2011 Hi, very strange but my shop name "wearthename.com" was there. Could you take a screenshot of it for me? -Mike Link to comment Share on other sites More sharing options...
smiles1976 Posted December 29, 2011 Author Share Posted December 29, 2011 Hi, thanks so much for your help. I think the problem may have been related to the "shop_url". When I went into the email templates and clicked on "shop_ name" the popup box showed the text linked to my "shop_url". So, I just replaced the "shop_url" with my web address and everything is okay. Btw, how where can I find my "shop_url" in the php admin. I looked but didn't see it. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 30, 2011 Share Posted December 30, 2011 Hi smiles, "shop_url" actually refers to "PS_BASE_URI," which is located in your shop's settings.inc.php file. Please try adding it there and let me know if that works for you. -Mike Link to comment Share on other sites More sharing options...
sh4d0w_7 Posted January 12, 2012 Share Posted January 12, 2012 Hi smiles, The {shop_name} variable is drawing from the PS_SHOP_NAME value in the ps_configuration table of your database. Please check it via phpMyAdmin to see if there is anything written there, because it appears that your emails are currently drawing a blank value. -Mike Sorry for bad english. where can i find full list of template variables representing value, like: PS_SHOP_NAME => {shop_name} Link to comment Share on other sites More sharing options...
Recommended Posts