Category: PrestaShop Tutorials (page 9 of 14)

How to enable show notifications for new orders in PrestaShop

In this article,  we’ll show you, how to enable show notifications for new orders in PrestaShop. Follow this simple guideline as shown below. Step 1: To enable show notifications for new orders, Login into PrestaShop Back-Office and navigate to Advanced Parameters > Administration. Step 2: Scroll down to the Notifications section of the page and set Show…

How to Change Dimension Unit in PrestaShop 1.7

In this article,  we’ll show you, how to change the Dimension unit in PrestaShop. Follow this simple guideline as shown below. Step 1: To change the Dimension unit, Login into PrestaShop Back-Office and navigate to International > Localization. Step 2: Scroll down to the Local units section of the page and change a unit as you want….

How to get sub-categories from parent category id in PrestaShop 1.7

In this post I am going to explain how to get sub-categories from parent category id in PrestaShop 1.7.   // Your Product id $id_parent_category = 3; // Fetch parent category $categoryObj = new Category($id_parent_category); // Validate category object if (Validate::isLoadedObject($categoryObj)) { $categoryList = $categoryObj->getSubCategories($this->context->language->id); if ($categoryList && count($categoryList) > 0) { foreach ($categoryList AS…

How to add remote javascript & stylesheet in PrestaShop 1.7

In this post I am going to explain how to add remote javascript & stylesheet in PrestaShop 1.7. In PrestaShop 1.7+, it’s easy to register custom assets on each pages. The major improvement is that you can easily manage them from your theme, without any modules. Lets see how to registering & unregistering javascript as…

How to include Google adsense code at footer in PrestaShop 1.7

How to include google adsense code at footer in prestashop 1.7 In this post I am going to explain how to include google adsense code at footer in prestashop 1.7 In order to add your google adsense code at footer, please open the below files from your current template/theme. For example classic template footer.tpl file…

How to add live chat code in PrestaShop 1.7?

In this post I am going to explain how to add live chat code in prestashop 1.7. In order to add your live chat code at footer, please open the below files from your current template/theme. For example classic template footer.tpl file path. [PrestaShop Root Directory]/themes/classic/templates/_partials/footer.tpl Please check your template name and find the footer.tpl…

How to display date with different format in PrestaShop 1.7

In this post I am going to explain how how to display date with different format in Prestashop 1.7. In order to display a date in your .tpl file, you can use the smarty.now function. Here are some common examples: {$smarty.now|date_format:”%b %e %Y”} Result: Oct 19 2019 {$smarty.now|date_format:”%D”} Result: 10/19/19 {$smarty.now|date_format:”%A, %e %B %Y”} Result:…

How to get full sub-categories tree from root category id in PrestaShop 1.7

In this post I am going to explain how to get full sub-categories tree from root category id in PrestaShop 1.7. // Set your root category id $root_category_id = 2; // Set language id $language_id = $this->context->language->id; // Get category tree for given root category $category_tree = Category::getNestedCategories($root_category_id, $language_id); // Print category array and find…

PrestaShop Tutorial – How to change Back Office language

In this tutorial, I will explain you, How to change Back Office language in your PrestaShop Store. Step 1. Log into your PrestaShop 1.7 Back-Office Step 2. In your PrestaShop Back-Office сlick on account icon at the top right corner and click the Your profile link: OR Step 2. In your PrestaShop Back-Office go to…

PrestaShop Tutorial – How to add a new language

In this tutorial, I will explain you, How to Add a New Language in your PrestaShop Store. To add a language to PrestaShop, follow these steps: Step 1. Log into your PrestaShop 1.7 Back-Office Step 2. Under Add / Update a language, Select a language you want to add from the drop-down list Step 3….

Older posts Newer posts