Tag Archives: prestashop 1.6

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: Fix pagination error on Attributes and Features in Backoffice

https://www.prestashop.com/forums/topic/554037-possible-bug-on-product-attributes-list-pagination-in-1616/ https://www.prestashop.com/forums/topic/507337-backoffice-pagination-error-in-products-attribute-section/ Hi, i fixed this by adding a short code to ‘AdminAttributesGroupsController.php’ in /controllers/admin/ public function setRedirectAfter($url) { $addUrl = ”; if(Tools::isSubmit(‘viewattribute_group’) && Tools::getValue(‘id_attribute_group’)) { $addUrl = ‘&viewattribute_group&id_attribute_group=’ . Tools::getValue(‘id_attribute_group’); } $this->redirect_after = $url . $addUrl; } Function fixes … Continue reading

Posted in troubleshoot | Tagged , | Comments Off on Prestashop: Fix pagination error on Attributes and Features in Backoffice

Prestaship 1.6 Fix for Contact form invulnerable to spam bots

Contact form is vulnerable to spam bot. Captcha does not help in this case. Fix here – https://github.com/PrestaShop/PrestaShop/pull/8168/files Useful information on how to build an anti spam bot contact form without captcha http://www.nfriedly.com/techblog/2009/11/how-to-build-a-spam-free-contact-forms-without-captchas/ Update: Doesn’t work well against some automated … Continue reading

Posted in troubleshoot | Tagged , | Comments Off on Prestaship 1.6 Fix for Contact form invulnerable to spam bots

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: 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 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

Prestashop 1.6: Homepage slider not showing on mobile devices

Homepage slider shows up on desktop version website but not on responsive default-bootstrap mobile theme. Solution is to go to the Image slider for your homepage plugin configuration and enable it for mobile devices. Source: https://www.prestashop.com/forums/topic/345282-my-home-page-slider-is-not-showing-on-mobile-device/ (Answer in post #8)

Posted in ecommerce, modules | Tagged , | Comments Off on Prestashop 1.6: Homepage slider not showing on mobile devices

Prestashop: Paypal module v3.5.7 and up IPN validation error

Change your IPN settings in Paypal from yoursite/modules/paypal/validation.php TO yoursite/modules/paypal/inp.php Source: https://www.prestashop.com/forums/topic/271627-paypal-instant-payment-notification-warning/

Posted in modules | Tagged , | Comments Off on Prestashop: Paypal module v3.5.7 and up IPN validation error