How To Change Order Status Id Programatically In Prestashop

If you need to change order status id programtically for an order you need to complete few steps but nothing very complicated, you only need the order id where the status will be changed and the new status id you need to change. In the below code we will change the status for order which… Continue reading How To Change Order Status Id Programatically In Prestashop

How To Get Order Status ID In Prestashop

In this tutorial I will show you how to get order status id for a certain module, I mean let’s say you have installed as payment method the bank wire, when the client will pay using bank wire you will have to add an id to the order status. We are talking here about programatically… Continue reading How To Get Order Status ID In Prestashop

How To Get Default Language In Prestashop

In the following I will add the function through which you can get the default language in prestashop. Id of the default language is saved in the database in configuration table, so as you maybe already know, to get the default language in prestashop you have to use the following line of code: $lang =… Continue reading How To Get Default Language In Prestashop

How To Upload Images Through Ajax In Prestashop

In this tutorial I will show you how to upload images through ajax in prestashop, this is not hard to achive you have to take few things in account in order to make this functionality to work. I posted a tutorial about how to save data through ajax in prestashop you can check it if… Continue reading How To Upload Images Through Ajax In Prestashop

How To Upload Images In Custom Prestashop Form

If you need to implement a custom form and upload images in prestashop you are in the right place because I will show you the entire code you will need to implement to achive this functionality. This tutorial is for prestashop 1.7 but you can try it can work for previews versions too. You don’t… Continue reading How To Upload Images In Custom Prestashop Form

How to create a table for admin controller prestashop

Here is how you can create a database table at the module instalation. If you have a small module you can save all settings in prestashop settings table, but if you need to save large data you need a new table only for your module. It is not so complicated to create this table, you… Continue reading How to create a table for admin controller prestashop

How To Save From Data In Admin Controller Prestashop

We passed together step by step the process to implement a custom tempalate for admin controller and we have create a sub-page (an edit page) for the main template. Now, in this tutorial I will show you how to save data from a custom form in admin controller and changes data structure as you wish. … Continue reading How To Save From Data In Admin Controller Prestashop

Create Sub Page For A Custom Template Admin Controller Prestashop

If you already know how to create a custom page for admin controller you can follow this tutorial and I will show you how to create a sub page of the main custom template admin controller, if not you can follow our tutorial for custom template implementation you can find the link at the end… Continue reading Create Sub Page For A Custom Template Admin Controller Prestashop

How To Assign Custom Template to Controller Prestashop Back Office

In this tutorial I will show you how to assign custom template a an admin controller in prestashop. This code can be used if you already have a controller created because I will put a little below the functions which will add the tab in left admin panel of prestashop. This feature is a little… Continue reading How To Assign Custom Template to Controller Prestashop Back Office

How To Access Variable in tpl files Prestashop

It’s not that simple to access variable in header.tpl especially if you are beginner with Prestashop. To achive this task you need to override the Prestashop FrontController and there you can assign to smarty a new variable then you can call it in header.tpl. To do that you have to go in: override -> controllers… Continue reading How To Access Variable in tpl files Prestashop