Category: modules

  • Prestashop: Layered Navigation Block – Auto Scroll to Products

    Source: https://www.prestashop.com/forums/topic/347990-layered-navigation-block-auto-scroll-to-products/

    js file under “/themes/themename/js/modules/blocklayered” called “blocklayered.js”

    Solution 1:

    Replace :

    $.scrollTo('.product_list', 400);

    by

    $.scrollTo('product_list', 0); //stop the scroll

    or

    $.scrollTo('body', 0); // brings to the top of the page instantly.

    Solution 2:

    //if(slideUp)
    	//$.scrollTo('.product_list', 400);
    //updateProductUrl();

     

  • Prestashop: category pages noindex

    Due to layered navigation block disabling robots by default…

    Solution: https://www.prestashop.com/forums/topic/866411-category-pages-noindex/

    Hi, the problem comes from the “Layered navigation block” module. After the update to v2.2.1 something has changed.

    To Fix the problem for Prestashop 1.6 go to Modules and Services >> Layered navigation block >> Configure
    Scroll down to the CONFIGURATION section and set to YES the “Allow indexing robots….”
    This action will change the metatags for all category pages to “indexed, follow”

  • 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 but did this for future reference.

    2) override/modules/iqitmegamenu/iqitmegamenu.php

    3) themes/warehouse/js/modules/iqitmegamenu/js/mlpushmenu.js
    comment out the script that prepends responsiveInykator to the div
    comment out the script that changes + to –
    leave this as standalone so that the submenu shows when tapped on $(this).parent().children(‘ul’).slideToggle(300);

  • 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

  • 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/

  • 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 value is 150 USD

    Result:
    At Paypal checkout, 100 EUR becomes 100 USD
    For some reason, there is a bug in Paypal/PS that only changes the currency symbol to the Shop Default Currency without converting the value.

    Solution:
    Download the process.php file from Prestashop forum. It ensures Prestashop only send ONE default shop currency value to Paypal regardless of what currency customer selects (which is what I needed)
    Source: https://www.prestashop.com/forums/topic/268556-solved-currency-not-supported-in-paypal-358/page-2

    Backoffice Payment setting for Paypal module must be set to Customer currency
    Express checkout disabled/enabled no difference

  • 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)

  • 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/