Category Archives: ecommerce

Prestashop: Warehouse theme mobile menu disable link on category parent

File edits are uploaded on: modules/iqitmegamenu/iqitmegamenu.php override/modules/iqitmegamenu/iqitmegamenu.php themes/warehouse/js/modules/iqitmegamenu/js/mlpushmenu.js 1) modules/iqitmegamenu/iqitmegamenu.php changed private function generateCategoriesMenu($categories, $depth_limit, $depth = 0) to protected function generateCategoriesMenu($categories, $depth_limit, $depth = 0) Overrides do not work on private functions. Could have just edited the whole file … Continue reading

Posted in ecommerce, modules | Tagged , | Comments Off on Prestashop: Warehouse theme mobile menu disable link on category parent

Prestashop: How to add the invoice number to the backoffice orders grid

Source: https://www.prestashop.com/forums/topic/300119-solved-how-to-add-the-invoice-number-to-the-orders-grid/?do=findComment&comment=1517949 Try to start with adding another array item to $this->fields_list add code to: /controllers/admin/AdminOrdersController.php ‘invoice_number’ => array( ‘title’ => $this->l(‘Rechnung-Nr: ‘), ‘width’ => 50 ),

Posted in ecommerce | Tagged | Comments Off on Prestashop: How to add the invoice number to the backoffice orders grid

Prestashop: Add style number to product page

Using warehouse theme. When product has combinations, the SKU is shown. I wanted to also show the main product style number for easy reference. https://www.prestashop.com/forums/topic/605088-slovedhow-to-show-reference-numbers-on-product-page/?do=findComment&comment=2540332 {l s=’Style:’} {$product->reference|escape:’html’:’UTF-8′}

Posted in ecommerce, templates | Tagged | Comments Off on Prestashop: Add style number to product page

Prestashop 1.6: Breadcrumb to display the category that product is currently in (not its default category)

Source: https://www.prestashop.com/forums/topic/167513-how-to-show-the-full-breadcrumb-to-the-default-category-on-every-product-page/?do=findComment&comment=2684341 Function¬† assignCategory(), preferably in override/controllers/front/ProductController.php protected function assignCategory() { // Assign category to the template if ($this->category !== false && Validate::isLoadedObject($this->category) && $this->category->inShop() && $this->category->isAssociatedToShop()) { $path = Tools::getPath($this->category->id, $this->product->name, true); $all_product_subs = Product::getProductCategoriesFull($this->product->id, $this->context->language->id); if(isset($all_product_subs) && count($all_product_subs)>0) … Continue reading

Posted in ecommerce | Tagged , | Comments Off on Prestashop 1.6: Breadcrumb to display the category that product is currently in (not its default category)

Prestashop: remove google maps from order page in backoffice

https://www.prestashop.com/forums/topic/336592-remove-google-maps-from-order-page-in-16-slowing-down-crashing-siteserver/ Put the modified file in the override/controllers/admin After that, you need to trigger the regeneration of the /cache/class_index.php file. This is done simply by deleting the file. It is the same when manually removing an override: in order to … Continue reading

Posted in ecommerce | Tagged , , | Comments Off on Prestashop: remove google maps from order page in backoffice

Prestashop: Remove unnecessary bank details from bottom of PDF invoice

Solution: unhooking the paypal module from the displayPDFInvoice hook will also work. If bank details are required, after unhooking, install the module from this post https://www.prestashop.com/forums/topic/119664-solved-generate-pdf-invoices-bank-wire-payment/?do=findComment&comment=2530505 Works for Prestashop 1.6 Source: https://www.prestashop.com/forums/topic/119664-solved-generate-pdf-invoices-bank-wire-payment/?p=2498597 and https://www.prestashop.com/forums/topic/560290-upgrade-1617-problem-with-invoice-pdf-template/?p=2541899

Posted in ecommerce, modules | Tagged , , | Comments Off on Prestashop: Remove unnecessary bank details from bottom of PDF invoice

Prestashop: Export Pro for products, categories, combinations (paid module)

Recommended: https://www.prestashop.com/forums/topic/429028-module-export-pro-csv-export-products-combinations-customers-categories-orders-addresses/ Free version with less features: https://www.prestashop.com/forums/topic/37900-free-module-products-export-module-v253-updated-23032016/

Posted in ecommerce, modules | Tagged , | Comments Off on Prestashop: Export Pro for products, categories, combinations (paid module)

Prestashop: Add editable product date added field in admin (prestashop 1.6)

Source: https://www.prestashop.com/forums/topic/126518-change-date-for-products-in-bo-date-add/?p=1947106 Add it to line 134 of: admin folder\themes\default\template\controllers\products\informations.tlp The if is added in case this is a new product and there is no existing date added data {if $product->date_add} <div class=”form-group”> <label class=”control-label col-lg-3″></td> <span class=”label-tooltip” data-toggle=”tooltip” title=”{l … Continue reading

Posted in ecommerce | Tagged , | Comments Off on Prestashop: Add editable product date added field in admin (prestashop 1.6)

Prestashop: Editing orders from customers or after delivered status

Source: https://www.prestashop.com/forums/topic/328871-editing-orders-from-customers/ Back Office—->Orders—>Statuses—>Preparation in Progress(Or any status which is set as default), I unchecked “Show Delivery PDF.” Status should not have “delivered” option. In table ps_order_history remove this order’s “Delivered” state https://www.prestashop.com/forums/topic/276384-solvedunable-to-modify-customer-order-from-backoffice/#entry1388383 (Not sure if necessary, should test) In … Continue reading

Posted in ecommerce, troubleshoot | Tagged | Comments Off on Prestashop: Editing orders from customers or after delivered status

Prestashop 1.6: Add shop address to header in PDF invoice

************IMPORTANT NOTE************* ISSUE: Shop address at the top of current customised PDF invoice doesn’t seem to be updated when address is changed to a new one via Backoffice. The order invoice’s shop address data is added to the database (TABLE: … Continue reading

Posted in ecommerce | Tagged , , | Comments Off on Prestashop 1.6: Add shop address to header in PDF invoice