Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by Jurist

  1. On 7/12/2017 at 11:00 AM, selectshop.at said:

    You can exempt customers group, by using groups and uncheck the vat. This is a native feature of Prestashop. What yo cannot realize is DIFFERENT VAT FOR A PRODUCT. As native option different VAT are only possible by customer group, or geolocalization.


    Add a new customer group and check the VAT option for that group.





    VAT for shipping options are handled directly into the carrier configuration/features. They do not apply for customer groups of products as well.





    Different VAT PRODUCT BASED is only realizable with customs module or change of scripts. This is natively not possible.

    How do you automatically add a customer to a group though?

    For example if the company and VAT fields are not empty, add it to 'Business' group. Do you need to edit create account code?

  2. Hello,

    We are PS a 1.7.6 user. Our ERP will synchronise stock of combinations. In case the combination is not in stock, we would still allow the customer to buy, he would only have longer delivery time (alternative source).

    At the moment we have Enable stock and Allow ordering out of stock products enabled. However with quantity 0, attributes cannot be sold, as the add to cart button is disabled and there's Product available with different options message.

    Is there a way to allow the customers to order attributes that are not in stock? Thanks

  3. @202 ecommerce could you help me on fixing the issues related to PayPal module for PS 1.7 please?

    We use latest PayPal module 5.4.4 and we have PS 1.7.6.

    We get the following errors with PayPal module enabled:

    shortcut.js?v=5.4.4:formatted:86 Uncaught TypeError: prestashop.on is not a function
        at Object.init (shortcut.js?v=5.4.4:formatted:86)
        at waitPaypalIsLoaded (duschrinne-wiper-premium-600-mm-ponente:3180)

    and another error:

    Uncaught ReferenceError: jQuery is not defined
        at jquery-migrate-1.2.1.min.js:2

    It is caused by PayPal JS being loaded too high in the site, before prestashop object is initialised.

    Is there a way to push the PayPal to the bottom of the list of the loaded items? I think this would resolve both problems.


  4. Thank you for your effort @musicmaster, however looks like you didn't understand what the problem is.

    With mollie module enabled, bots were creating accounts in our store (which was triggering new account emails).

    We have decided to make around to that and edited CustomerPersister.php so it blocks account from being created if the account has the characteristics of account being created by bot.


  5. We created a workaround to this.


    Now popup opens when someone clicks paypal/amazon button and there's more information there.

    If cart is empty, the button shows notification to add products to shopping cart.

    If cart is not empty, it opens a regular paypal checkout (the same as in cart/login page). Hopefully this will sort out the issue.

    However we are facing another problem now.

    Sometimes when the page is refreshed, PayPal button is just not loaded. No idea why this is happening, we also do same integration for amazon pay and all works great.

    It happens that the button is not displayed until I press ctrl + F5.

    What could be the reason of that happening? maybe I should move the module to the very top or very bottom in the hook list?

    Can it be caused by cache module?

  6. I mean, with Mollie module enabled, those bots are creating accounts, sometimes hundreds per hour.

    When new account is created, the customer received an email confirming that, and that's the spam I am talking about.

    The problem we have now, is that only with Mollie enabled, those bots are creating new accounts.

    If we are unable to find solution to that, I will just add an override, blocking new account creation if company of the new account is 'google'

  7. Hello,

    We have PS 1.7.6 store operating in netherlands with Mollie as main payment method. We use the official payment module downloaded from github.

    The problem with module is, that with it enabled it sends SPAM to customers. See attached image. 

    It happens only with module enabled. In addition to that, the logs show that it is Mollie script that is used to send spam.

    At first I thought its a hosting or store issue, but after moving to another hosting the issue persists, therefore it's 100% caused by the module.

    The logs are showing the following script is sending spam (only with mollie enabled):


    The thing all those accounts have in common is that they all use "google" as the company name. How do we fix this?


  8. Hello,

    We have PS1.7 store and problem with webservice. When we open:


    the prompt asks for username and password, we type API KEY generated into the back office into username field, password remaing empty, however nothing happens, the store just asks for those credentials again.

    when we try to access:


    we can see a response. 

    I tried adding .htaccess to /webservice folder, however it doesn't help.

    Store runs PHP 7.3 with cgi interpreter.

    How do we fix that? At the moment no API connection to the store is possible.

  9. I see how it works. Would in such case be possible to use shopping cart behaviour on product page?

    When someone clicks Pay with Paypal, it first executes add to cart and then opens standard PayPal checkout window.

    In fact, I tried to do it myself, but it seems to be impossible since PayPal button is displayed in an iframe and because of samesite policy it is impossible to execute events on elements displayed in iframe from another domain.

    Do you offer customisation for that?

  10. Hello,

    We use Prestashop 1.7 with latest PayPal module version.

    There is PayPal buy now button right next to the shopping cart on our product page.

    The only problem is, it removes products existing in cart before opening checkout.


    1. Customer has ProductA, ProductB, ProductC

    2. goes to product page of ProductD

    3. Clicks on add to cart on ProductD page.

    4. Cart is emptied, checkout is opened only with ProductD.

    Is there any way to stop PayPal from removing products from shopping cart?

    I've noticed that PayPal button during checkout works perfectly fine. It created PayPal express window with all the products that were in shopping cart.

  11. Jest problem z dopasowaniem wyszukiwania do wyników.

    Np. po wpisaniu "siemianowic" pojawia się chorzów, zamiast siemianowice.

    Po wpisaniu całej nazwy miejscowości jest ok, ale może dałoby się jakoś zrobić żeby wyszukiwało by po kilku znakach wpisanych?

    Ogólnie moduł świetny jak na to że jest darmowy.

    Wybór opcji modal zepsuty.image.thumb.png.efc5fea058d24520242d57658a259a19.png

  12. Hello,

    We have a problem with loading times of category pages of products with many attributes (close to 2000).

    While we know that it is not recommended for products to have so many attributes, this is requirement of customers and we can't change his mind.

    We tried reducing the amount of products on category pages which is obviously less than ideal.

    Is there some option or module that allows not loading attributes on category pages? How to solve the problem?

    Maybe some cache attribute would help with the issue.


  13. On 1/14/2021 at 12:53 PM, GiulioP said:

    First of all thanks for this module.

    I have installed the module version 1.7.2 on Prestashop and I cannot find out why almost 30% of my products are exported with price = 0,00 euro.

    is there anyone who can help me out? I cannot find a common property for all these products, it appears the error presents itself randomly. Updating the feed does not change a thing and the same products keep the error.

    Thanks in advance for your precious help and happy 2021!

    I have exactly the same problem.

    Did you find any solution to it?

  14. I've created a module that adds a link to marketplace on product page (for example to amazon or eBay).

    It adds a tab to back office, after accessing that tab you see it's AdminController who handles the form and saving the link (url, name, type, related product) to database. It all works well.

    However now I need to create a different link for different language.

    I've created appropriate _lang database, however despite this, when I try to save new object, it says Property Mwrmarketplacebuttons->mwr_content is empty. That's the field that needs to be translated.

    So far I've added:

        public function __construct() 
            $this->bootstrap = true;
            $this->table = 'mwrmarketplacebuttons';
            $this->className = 'Mwrmarketplacebuttons';
            $this->lang = TRUE;
            $this->bootstrap = TRUE;
            $this->context = Context::getContext();


    and my input looks like that:

                    'input' => array(
                            'type' => 'text',
                            'label' => $this->l('Button URL'),
                            'name' => 'mwr_content',
    						'id' => 'mwr_content',
    						'lang' => true,
                            'size' => 33,
                            'desc' => $this->l('Full listing address. Example: https://amazon.com/your-listing-url'),
                            'required' => true

    my sql for lang table:

                CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'mwrmarketplacebuttons` (
                    `id_mwrmarketplacebuttons` int(11) NOT NULL AUTO_INCREMENT,
                    `mwr_button_type` int(11) DEFAULT NULL,
                    `mwr_content` varchar(5000) DEFAULT NULL,
                    `mwr_product` int(11) DEFAULT NULL,
                    `mwr_product_name` varchar(5000) DEFAULT NULL,
                    `mwr_status` int(11) DEFAULT 0,
                    `active` int(11) DEFAULT 0,
                    PRIMARY KEY (`id_mwrmarketplacebuttons`)
            ) ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8');
                CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'mwrmarketplacebuttons_lang` (
                    `id_mwrmarketplacebuttons` int(10) unsigned NOT NULL,
                    `id_lang` int(10) unsigned NOT NULL,
    				`mwr_content` TEXT DEFAULT NULL,
                    PRIMARY KEY (`id_mwrmarketplacebuttons`,`id_lang`),
                KEY `id_mwrmarketplacebuttons` (`id_mwrmarketplacebuttons`)
            ) ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8');

    anything else I need to change to make it work?

    When I add new button it looks good, but it doesn't save it. Picture attached.

    Help appreciated.


  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More