This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class ProductController extends ProductControllerCore | |
| { | |
| public function initContent(){ | |
| $manufacturer_name = ""; | |
| if($this->product->id_manufacturer > 0) | |
| { | |
| $manufacturer = new Manufacturer($this->product->id_manufacturer, $this->context->language->id); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Check this for sign decimals: | |
| before: | |
| "symbols-numberSystem-latn":{"decimal":",",......... | |
| after: | |
| "symbols-numberSystem-latn":{"decimal":".",......... | |
| Check this for price format: | |
| "standard":"#,##0.00\u00a0\u00a4".... | |
| also change "grow up" string ": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PRESTASHOP 1.6 | |
| CMS: | |
| <a href="{$link->getPageLink('cms',null,null,'id_cms=1')}"> | |
| <a href="{$link->getCMSLink('4', 'about-us')}" title="{l s='About Us'}"> | |
| <a href="{$link->getCMSLink('4', null)}"> When get various languages | |
| ---------------- | |
| CATEGORY: | |
| index.php?id_category=16&controller=category |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| transform: scaleX(-1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| For PS1.6 | |
| {l s='[1]Welcome[/1] [2]%s[/2]!' sprintf=[$whatever] tags=['<strong>', '<i class="name_class">']} | |
| For PS1.7 | |
| {l s='Call us: [1]%phone%[/1]' sprintf=['[1]' => '<span>', '[/1]' => '</span>', '%phone%' => $contact_infos.phone] d='Shop.Theme.Global'} | |
| with link: | |
| nav.tpl | |
| {l |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| php_value max_input_vars 3000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| edit httpd.conf and disable the loading of the CGI module by commenting this line: | |
| LoadModule cgi_module modules/mod_cgi.so | |
| # Make the server more faster CAO | |
| AcceptFilter http none | |
| AcceptFilter https none | |
| HostnameLookups Off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $base_dir (root folder of your shop) | |
| $base_dir_ssl (root folder of your shop using HTTPS protocol) | |
| $content_dir (root folder of your shop depending on the SSL settings) | |
| $img_ps_dir (root folder containing images “/img/”) | |
| $img_dir (images folder in your current theme directory) | |
| $css_dir (css folder inside the current theme folder) | |
| $js_dir (JavaScript inside the theme folder) | |
| $tpl_dir (theme root folder) | |
| $modules_dir (modules root folder) | |
| $mail_dir (mail templates root folder) |
OlderNewer