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

Prestashop: Allow wildcard search

Source: https://www.prestashop.com/forums/topic/280306-native-prestashop-search-module-issuessolved-casesimprovementsother/ The search index indexes on individual words and as it is now, wants you to give a search word from the beginning of the word. To fix this, we need to edit the file Classes/Search.php to fix this, … Continue reading

Posted in ecommerce | Tagged , | Comments Off on Prestashop: Allow wildcard search

Prestashop: How to make home slider fade in version 1.6

Open yourdomain/themes/yourtheme/js/modules/homeslider/js/homeslider.js and change this: if (!!$.prototype.bxSlider) $(‘#homeslider’).bxSlider({ useCSS: false, maxSlides: 1, slideWidth: homeslider_width, infiniteLoop: homeslider_loop, hideControlOnEnd: true, pager: false, autoHover: true, auto: homeslider_loop, speed: homeslider_speed, pause: homeslider_pause, controls: true }); to this if (!!$.prototype.bxSlider) $(‘#homeslider’).bxSlider({ useCSS: false, maxSlides: 1, … Continue reading

Posted in ecommerce | Tagged , | Comments Off on Prestashop: How to make home slider fade in version 1.6

Prestashop: contentBox HTML module

Description: contentBox is a very simple, very intuitive and very powerful Prestashop Module. With contentBox you can add html blocks to prestashop, JAVASCRIPT + CSS blocks anywhere you want inside Prestashop 1.5 or Prestashop 1.6. Link: http://contentbox.org/ Works great for … Continue reading

Posted in CMS, ecommerce | Tagged , | Comments Off on Prestashop: contentBox HTML module

Prestashop 1.6: Get id_customer and getDefaultGroupId

Source: http://stackoverflow.com/questions/16231440/how-to-get-prestashop-current-user-id Example: $id = (int)$this->context->customer->id; $id_default_group = Customer::getDefaultGroupId((int)$id);

Posted in ecommerce | Tagged , | Comments Off on Prestashop 1.6: Get id_customer and getDefaultGroupId

Prestashop 1.6: how to centralise logo in new theme

Source: http://www.prestashop.com/forums/topic/318418-solved-center-logo-in-new-theme-16/ open header.tpl file (located in your theme dir) and remove this code: <div id=”header_logo”><a title=”{$shop_name|escape:’html’:’UTF-8′}” href=”{$base_dir}”> <img src=”{$logo_url}” alt=”{$shop_name|escape:’html’:’UTF-8′}” width=”{$logo_image_width}” height=”{$logo_image_height}” /> </a></div> then go to /themes/default-bootstrap/modules/blocksearch/blocksearch-top.tpl and paste code that you removed at the end of the … Continue reading

Posted in ecommerce | Tagged , | Comments Off on Prestashop 1.6: how to centralise logo in new theme