Category Archives: ecommerce

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′} There are 2 locations to add in ware theme product.tpl

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)

Update 20190608: Due to SEO concern, the friendly url of product is configured to not show subcategories, i.e. domain.com/product-name-1234.html so the following solution does not work as it uses the subcategories in the friendly url as reference 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  … 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/276384-solvedunable-to-modify-customer-order-from-backoffice/?tab=comments#comment-1388383 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: Diagnoising 500 internal server error

Source: https://www.prestashop.com/forums/topic/190303-error-500-internal-server-error-on-all-pages-except-for-admin-front-page/?p=1533337 if you’ve got internal server error = turn on error reporting – then instead of this message you will see detailed information what and where doesnt work. open config/defines.inc.php find this line define(‘_PS_MODE_DEV_’, false); change to look like … Continue reading

Posted in ecommerce | Tagged | Comments Off on Prestashop: Diagnoising 500 internal server error

Prestashop: Additional field in product attributes

Added an additional field for product attributes Files updated and added to override folder override/classes Attribute.php line 36    public $barcode; line 50            ‘barcode’ =>             array(‘type’ => self::TYPE_STRING, ‘validate’ => ‘isAnything’, ‘size’ => 3), … Continue reading

Posted in database, ecommerce | Tagged | Comments Off on Prestashop: Additional field in product attributes

Prestashop 1.6: PDF invoice error in large orders

For some reason, when there are many products in an order, the PDF invoice generated by Prestashop backoffice and user front-end does not display all the products ordered. In this case, there were 49 products. Opening the generated PDF in … Continue reading

Posted in ecommerce | Tagged , , , | Comments Off on Prestashop 1.6: PDF invoice error in large orders