Category: Prestashop 1.7 (page 14 of 21)

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…

Festival Sale 2019! 15% OFF on Magento 2 & PrestaShop Themes

Hello HiddenTechies blog readers! On this coming festivals season Halloween, Diwali and New year, we are offering something special to you! Can you guess what special things we are offering for this Festival Season? Curious? (Obviously) We are offering two specials gifts for you! Let’s take a look. It’s almost the end of October, and…

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….

PrestaShop Tutorial – How to edit contact details

In this tutorial, I will explain you, How to edit contact details in your PrestaShop Store. Step 1. In your PrestaShop Back-Office go to Shop Parameters > Contact > Stores. Scroll down to bottom and find and Contact details Block: Step 2. Edit the Contact details and Save the changes: Step 3. Refresh the Front-Office…

How to get Product Url by Product Id in PrestaShop 1.7

In this post I am going to explain how Get Product Url by Product Id in PrestaShop 1.7. // Your Product id $id_product = 10; // Language id $id_lang = (int) Configuration::get(‘PS_LANG_DEFAULT’); // Load Product object $product = new Product($id_product, false, $id_lang); // Validate Product object if (Validate::isLoadedObject($product)) { // Initialize the Link Object $link…

How to get manufacturer details by id in PrestaShop 1.7

In this post I am going to explain how to get manufacturer details by id in PrestaShop 1.7. // Your manufacturer id $id_manufacturer = 1; // Language id $id_lang = (int) Configuration::get(‘PS_LANG_DEFAULT’); // Load manufacturer object $manufacturer = new Manufacturer($id_manufacturer, $id_lang); // Validate manufacturer object if (Validate::isLoadedObject($manufacturer)) { // Print manufacturer name echo $manufacturer->name; //…

How to get product manufacturer details by product id in PrestaShop 1.7.

In this post I am going to explain how to get product manufacturer details by product id in PrestaShop 1.7. // Your product id $id_product = 10; // Language id $id_lang = (int) Configuration::get(‘PS_LANG_DEFAULT’); // Load product object $product = new Product($id_product, false, $id_lang); // Validate product object if (Validate::isLoadedObject($product)) { // Get product manufacturer…

How to get product stock information in PrestaShop 1.7?

In this post I am going to explain how to get product stock information in PrestaShop 1.7. // Your product id $id_product = 10; // Language id $lang_id = (int) Configuration::get(‘PS_LANG_DEFAULT’); // Load product object $product = new Product($id_product, false, $lang_id); // Validate product object if (Validate::isLoadedObject($product)) { // Get product Quanity echo $product->quantity; //…

Older posts Newer posts