Nishith Nesdiya Posted September 20, 2013 Share Posted September 20, 2013 hi..friends i edit the contact-form.tpl file i need the store fax,address,phone no etc. in contact-form.tpl file i modify the contact-form.tpl file and i insert the the below code of contact-form.tpl file <form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" enctype="multipart/form-data"> <fieldset> {l s='Fax:'}{php} echo Configuration::get('PS_SHOP_FAX');{/php}....... but it`s give the smarty error. i am using prestashop 1.5.4.1 pls help me this problems Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted September 20, 2013 Share Posted September 20, 2013 Hi, there is another solution for using configuration value in smarty: <form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" enctype="multipart/form-data"> <fieldset> {l s='Fax:'}{Configuration::get('PS_SHOP_FAX')} Regards 1 Link to comment Share on other sites More sharing options...
vekia Posted September 20, 2013 Share Posted September 20, 2013 i marked this topic as solved. and in addition to what Alexander said, it is worth to notice that in prestashop you can't use {php} {/php} in .tpl files regards 1 Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted September 20, 2013 Author Share Posted September 20, 2013 thanks... it is working... 1 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