tumil Posted August 4, 2016 Share Posted August 4, 2016 Hi, is there a way to disable (I don't want it to disappear, just to block the option to check the checkbox next to it) a carrier when there are too many items in customer's cart? Link to comment Share on other sites More sharing options...
Tung at RockPOS.com Posted August 4, 2016 Share Posted August 4, 2016 Hi, As far as I understand, there is no straightforward option to do so. If you are using some shipping modules like USPS, Fedex, Australia Post Pro, etc.. most likely, these modules include their own functions to calculate weight or dimensions. If it exceeds to a limit, the corresponding carriers will be hidden. In this case, you should override PrestaShop core to: - Decide if your shopping cart exceeds to the defined quantity - Mark it as disabled - At front-end, using CSS or JS to disable it This is not a funny task, I bet that Link to comment Share on other sites More sharing options...
tumil Posted August 4, 2016 Author Share Posted August 4, 2016 (edited) Wow, that will be some blackmagic to me without instructions. Well, if someone has an idea, I would be glad Edited August 4, 2016 by tumil (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now