The latest version of Prestashop 1.7 brings many changes (I would probably come back to this in a future article), especially in the management of translations in the administration. It is now based on Symfony, while still retaining (theoretical) backward… Read More
Top 10 ways to Promote your PrestaShop Modules Or Themes
1. Submit the modules in PrestaShop Addons. PrestaShop marketplace(PrestaShop Addons website) is a good place to promoting and selling PrestaShop modules or Themes. 2. Create a separate Store to sell the PrestaShop modules.This is another option, you can sell directly… Read More
PrestaShop 1.7 display language flags
If you want to display language flags next to each langue in PrestaShop 1.7 you will need to open the folder : /themes/classic/modules/ps_languageselector and open the file ps_languageselector.tpl and place this code : In the needed places.… Read More
How to register a new hook in PrestaShop
If you want to add an action in a certain area where PrestaShop default hooks don’t exist you can add your custom new hook very easily. Consider you are building a new module and you need to show a certain… Read More
PrestaShop list of hooks functions
In PrestaShop input and output datas are handle by functions called hooks. These hook are differents from area to area. You have Back Office hooks and Front Office hooks. If you need to call your functions from a module you… Read More
How to create a new module in PrestaShop
PrestaShop architecture uses modules for better code simplicity and organization, a bit of code to output or input data in your website. In this tutorial we will learn how to create a module and how to use some PrestaShop Object… Read More
Prestashop, programmatically adding product to shopping cart
You can add a product to shopping cart if needed for a custom module or other purposes by using the PrestaShop Cart Object this way: Here we just use the Context Object assuming you are adding a product to the… Read More
PrestaShop adding Manufacturer logo to product list page
To add manufacturer logo to product_list.tpl file copy this code before the image tag : This code should be before the img tag. For the default-bootstrap theme, you can put it in the line 56 inside the the div class… Read More
Prestashop how to fix TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: error
Sometimes you face errors like : Impossible to add the product to the cart.textStatus: ‘parsererror’ errorThrown: ‘SyntaxError: Unexpected token; TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: error These errors ocurre more often when you… Read More
Prestashop adding product to cart programmatically
To add product to shopping cart from a module controller you can use the function bellow.