I bought the module but Prestashop tells me that it’s not compatible with my version.
I have prestashop 1.5.5
Thank you for choosing this module!
To fix the issue, open the shoplimits.php file and replace the line 42 with this code: $this->ps_versions_compliancy = array(‘min’ => ‘1.5.0’, ‘max’ => PS_VERSION);
Let me know if I can help you with someting else.
nope it doesn’t work always have : – shoplimits :
The version of your module is not compliant with your PrestaShop version. I also clean the cache in case
can you comment that line please?
It should work without it.
Hi, i did it
But when i install the module i have this message :
Property Configuration->name length (35) must be between 0 and 32
at line 837 in file classes/ObjectModel.php
832. $message = $this->validateField($field, $this->$field);
833. if ($message !== true)
835. if ($die)
836. throw new PrestaShopException($message);
837. return $error_return ? $message : false;
841. return true;
ObjectModelCore->validateFields - [line 255 - classes/ObjectModel.php] - [0 Argument]
ObjectModelCore->getFields - [line 455 - classes/ObjectModel.php] - [0 Argument]
ObjectModelCore->add - [line 360 - classes/Configuration.php] - [2 Arguments]
ConfigurationCore::updateValue - [line 68 - modules/shoplimits/shoplimits.php] - [2 Arguments]
ShopLimits->install - [line 675 - controllers/admin/AdminModulesController.php] - [0 Argument]
AdminModulesControllerCore->postProcessCallback - [line 801 - controllers/admin/AdminModulesController.php] - [0 Argument]
AdminModulesControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument]
ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument]
DispatcherCore->dispatch - [line 50 - admin8911/index.php] - [0 Argument]
When i come back, and go to catalog > Product, i have a blank page. In debug, it tells me this
Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with DispatcherCore::loadRoutes($id_shop = NULL) in /Applications/MAMP/htdocs/shop/override/classes/Dispatcher.php on line 24
Fatal error: Undefined class constant ‘WebserviceRequest::HTTP_POST’ in /Applications/MAMP/htdocs/shop/classes/controller/AdminController.php on line 1159
Please send me the login details using the contact form: http://codecanyon.net/user/danielpatilea#contact and will take a look.
I’m willing to buy this plugin, but before that i need some clarification on how it’s working.
1. We have product bundle (pack) of 3 products and we have limit in prestashop cart also of 3 products, but prestashop understands product bundle only as one single product. So do your plugin could solve our problem with cart limit and product bundles?
So, what you need from the module is to be able to limit a product that’s in the bundle and also is available outside of it. Is that so?
Or you want that a visitor to be able to add a bundle of 3 products and also 2 more products in the cart?
Thanks for quick reply!
Not quite, Right now i have e-commerce shop with Bundles. Each bundle contains 3 products. And i have also policy that customers can checkout if they are ordering more than 3 products. But when you add this Bundle in cart prestashop don’t understand that there are 3 products under this bundle. Bundle acts like single product.
And that’s why i’m looking at your plugin do you have possibility to limit each product seperatly, but still if i add 3 differente products i could buy them.
At the moment, this module doesn’t do what you need. With some small changes you can have the functionality you need on your shop.
Hi I bought the module, limiting the product’m 10 but when I got in the summary cart just let me put 9 and tells me the maximum is 10 but really there 9 is no solution?
Thanks for choosing my module!
To solve this issue you have to edit this file: /override/controllers/front/CartController.php and around line 88 you will find this code:
if (($cart_product[‘cart_quantity’] + $this->qty) >= $product_limit_value &&
replace this line with this one:
if (($cart_product[‘cart_quantity’] + $this->qty) > $product_limit_value &&
Let me know if you need further assistance.
hi hello, it works with the last version of prestashop? can i limit the maximum quantity from only one specific product?
Yes, the module works with the latest version of Prestashop.
Also you can limit the quantity for a specific product.
Hi, I’d just purchased your module, and I’ve a few questions:
1) Is there a way to add line breaks or format to the error messages?
2) Some of the errors are in English, my shop is in Spanish, how should I do to change them to Spanish?
3) In the Shopping Cart Page, once you reach the shopping cart products limit (only limit set), no matter when I press the (-) Button the limit error shows and doesn’t discount the unit.
Nice job, glws.
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Unlimited graphic downloads & digital courses. Only $29/month
22,000+ templates & 1,000+ courses
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work