How To Create New Customer Address Programatically In Prestashop

This tutorial will show you the required steps you need to implement in order to create new customer address programatically in prestashop. First step we will need to create a postProcess function in your module. If you don’t have already a module created you can override the FrontController.php and add it the that file. So… Continue reading How To Create New Customer Address Programatically In Prestashop

How To Get Customer Address Through AJAX Prestashop

As you maybe already know you can do a lot of things un prestashop being built on a MVC framework you have all the control you need in this CMS.  This tutorial will try to show how can you get customer address through ajax in prestashop. You will see is nothing complicated you will have… Continue reading How To Get Customer Address Through AJAX Prestashop

How To Dispay Best Sellers Products In Prestashop

In this tutorial will show you how can you display best sellers products on any page you need in prestashop. For this tutorial I will use a module for homepage, this meaning we will add the products on our homepage. You can use it in any modules you need, and if you don’t have a… Continue reading How To Dispay Best Sellers Products In Prestashop

How To Override Form.tpl In Prestashop

This tutorial will show you all steps you need to do in order to override form.tpl file in prestashop. To achive this we will need to create a new module where we will add our override files to create a new state for form.tpl file. This tutorial is made on Prestashop > 1.7 so, if… Continue reading How To Override Form.tpl In Prestashop

How To Add labels In Customer Address Fields Prestashop

In this tutorial I show you step by step how to add labels in customer address fields, to achive this functionality you need to override base function which generate the address format and create the new format you need. I will show you a basic example where we will add a new label for every… Continue reading How To Add labels In Customer Address Fields Prestashop

How To Create Order In Prestashop Programatically PHP

In this tutorial I will show you step by step how to create a new order in prestashop programatically, to achive this we will need to complete few steps before get to the order creation. Before to go to the order creation we need to already have an updated cart with all products we need… Continue reading How To Create Order In Prestashop Programatically PHP

How To Solve Prestashop Admin 500 Server Error At Order Status

In this tutorial I will show two easy steps which can solve the prestashop admin 500 server error when you try to update an order status. This error can occur from many reasons, if it is a core problem maybe you should go on the prestashop form and post there your problem, maybe somebody can… Continue reading How To Solve Prestashop Admin 500 Server Error At Order Status

How To Create An Invoice For Order Programatically In Prestashop

In this tutorial I will show you step by step how to create an invoice for orders programatically, first of all you need to create the code for your order to insert it in the database, if you don’t know how to create an order programatically in prestashop you can use our tutorials. To create… Continue reading How To Create An Invoice For Order Programatically In Prestashop

Published
Categorized as Prestashop

How To Add New Extension To File Types In Prestashop

This tutorial assume that you want to implement this functionality using your own code, not trying to upload using the prestashop file manager. So, in order to trick the file types extension in prestashop you need to implement an if statement in your file upload function so if the file is different from jpeg, gif… Continue reading How To Add New Extension To File Types In Prestashop

How To Add Products To Cart Programatically In Prestashop

Using the code which will be provided in this tutorial you will be able to add products to cart progrmatically. To achive this functionality you need to know the product id and attributes id, anyway I will show you how to get them too. id_product_attribute is the attribute of the product if any is available,… Continue reading How To Add Products To Cart Programatically In Prestashop