Category Archives: ecommerce

Prestashop: Remove unnecessary bank details from bottom of PDF invoice

Solution: unhooking the paypal module from the displayPDFInvoice hook will also work. 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

When using the same code in the footer.tpl on header.tpl, the shop address doesn’t show up. This is because the header function that loads the header data doesn’t contain the code to retrieve the shop address. The following will add … Continue reading

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

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

Prestashop 1.6: PDF invoice encoding issues for Chinese language

File to change is located at classes\pdf\PDFGenerator.php Generally: Change helvetica font. Delete useless languages, leave only ‘zh’ => ‘cid0cs’, Change encoding. Than on English language documents Chinese characters are displayed correctly (address, names, etc….) Probably it works for other languages … Continue reading

Posted in ecommerce | Tagged | Comments Off on Prestashop 1.6: PDF invoice encoding issues for Chinese language

Prestashop 1.6: Currency conversion issue Paypal module

E.g. Default currency USD Customer shop with EUR Backoffice Payment setting for Paypal module: Shop Default Currency Paypal module Configuration options (Express Checkout shortcut (Offer your customers a 3-click checkout experience) Express checkout disabled/enabled no difference Let’s say, 100 EUR … Continue reading

Posted in ecommerce, modules | Tagged | Comments Off on Prestashop 1.6: Currency conversion issue Paypal module