If you wish to change an Order Status to ” Payment Accepted ” you can use this code: $id_order=Tools::getValue(‘id_order’); $order=new Order($id_order); /* here we validate the order*/ $history = new OrderHistory(); $history->id_order = (int)$order->id; $history->changeIdOrderState(2, (int)($order->id)); //order status=2… Read More
Configuring the module NS SubCategory Listing
You are ready to go ! Just go to the file: themes/classic/templates/catalog/listing/category.tpl After the closing div that contains the category name and place this line of code: {hook h=’categoryListing’} You will need to hide the default listing: Go to themes/classic/templates/catalog/listing/product-list.tpl… Read More
Show product tags in product details page
You are under prestashop 1.7.x and you are looking to display the tags in the “Options” tab on your product page. Here is the code you need: {assign var=tags value=Tag::getProductTags($product->id)} {assign var=id_lang value=Context::getContext()->language->id} {assign var=product_tags value=$tags[$id_lang] } <ul> {foreach… Read More
How to configure the Tracking Front module for 1.7
As you should notice the tracking front module don’t require any configurations from the module’s configuration page. But in order the trackingfront module work you should add data to it. By data of course I mean your affiliates data. Go … Read More
Fixing : FatalErrorException in AdminController.php line 2755: Error: Call to a member function trans() on null
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
Building a community website with PrestaShop
So wanted to building a community website with PrestaShop to engage your customers and making more sales? Here is the solution. We build a module that will allow to make your e-commerce website more engaging and more fun. Community Websites is… 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 : What is the most required Modules?
PrestaShop is a modular CMS. So everything is handled by modules. The website’s header, body and footer data outputs all are handeled by modules. So the most required module depends on what data you want to show in your website.… Read More
How to drive traffic to my e-commerce Website?
Traffic is the key to any e-commerce success, having more visitors means having more potential customers, more buyers. But how to get that qualified traffic to your website? Of course I use the word qualified because having visitors these days… Read More