Category: Prestashop (page 14 of 22)

How to Change Volume Unit in PrestaShop 1.7

In this article,  we’ll show you, how to change the Volume unit in PrestaShop. Follow this simple guideline as shown below. Step 1: To change the Volume 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 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…

How to Boost your Online Sales this Holiday Season

The most exciting time of the year is about to pop-in and it’s high-time to get ready for the BIG FAT SALE on your online store. But, Is your online store prepared for the Holiday Sales? If not, do not worry. This blog will help you to get on the track and will let you…

Older posts Newer posts