Category: Prestashop 1.7 (page 15 of 21)

Prestashop 1.7 – How to get product details by id

In this post I am going to explain how to get product details by id 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 name echo $product->name;…

How to get current customer group id in PrestaShop 1.7?

In this post I am going to explain how to get current customer group id in PrestaShop 1.7. 1) Inside module or controller file (php) if ($this->context->customer->isLogged()) { $customerGroupId = $this->context->customer->id_default_group; echo $customerGroupId . “<br>”; // Do something here } else { // Do something here } 2) Inside template file (tpl) {if $customer.is_logged} {$customer.id_default_group}…

Prestashop 1.7 – Get current logged in customer details

In this post I am going to explain how to get current logged in customer details in PrestaShop 1.7. 1) Inside module or controller file (php) if ($this->context->customer->isLogged()) { $customerId = $this->context->customer->id; $firstname = $this->context->customer->firstname; $lastname = $this->context->customer->lastname; $email = $this->context->customer->email; echo $customerId . “<br>”; echo $firstname . “<br>”; echo $lastname . “<br>”; echo $email…

How to check if customer is logged in or not in PrestaShop 1.7?

In this post I am going to explain how to check customer is logged in or not in PrestaShop 1.7. 1) Inside module or controller file (php) if ($this->context->customer->isLogged()) { echo “Logged In”; // Do something here } else { echo “Not Logged In”; // Do something here } 2) Inside template file (tpl) {if…

Prepare Your Store For The Holiday Season With Our Free Halloween & Christmas Templates

The holiday season is a great opportunity for your ecommerce business to make money. It’s almost end of the year, and you know what it means? The countdown is beginning of holiday seasons. Halloween and Christmas has widely celebrated holidays around the world. As an ecommerce store owner, Now is the time to focusing on…

PrestaShop Checkout – An innovative payment solution built with PayPal

Recently, PrestaShop and PayPal has launched a brand new simplified payment solution called as PrestaShop Checkout to provide the best checkout experience to PrestaShop e-shops! PrestaShop’s partnership with PayPal allows merchants to manage all cashing processes for their store on one single interface. There’s no denying that when it comes to accepting and receiving payments…

How to show cover image of your product with combination in PrestaShop 1.7?

In e-Commerce business, Product image is a vital aspect, to attract a visitor’s eye in the first place. In PrestaShop 1.7, If you have combination product then PrestaShop shows image of the one selected by default in product combination instead of the generic (Cover) image of your product. Do you want to show generic (Cover)…

Top 5 Free Fashion & Apparel Prestashop Themes for 2019

Wants to create Fashion & Apparel store? You are at the right place. Here we presenting a FREE Prestashop Themes that perfectly designed for the Fashion & Apparel store. Here’s they are! Following are the Best Free Fashion & Apparel Responsive PrestaShop 1.7 themes. 1.Etrend Lite – Free PrestaShop Theme Free Download Get Hosting Let’s…

How to Add Facebook Page Widget in PrestaShop

Putting your social profiles on your website is a must these days and having a Facebook like page will help your website visitors engage with you on your Facebook page as well. Facebook page widget allows you to show content from any public Facebook page. If you run a business page on Facebook you can…

PrestaShop 1.7.6.0 Released: What’s New in PrestaShop 1.7.6.0?

PrestaShop 1.7.6 release is one of biggest yet since the year for the PrestaShop community. The new version has promised to improve PrestaShop in multiple ways including a better highlight of the products, increase the engagement of the users and reach a wider audience. As a result, stores would be able to deliver a higher…

Older posts Newer posts