surov Posted January 12, 2016 Share Posted January 12, 2016 (edited) Hi, I'm using Prestashop 1.6.3, default theme and default blockcart module. I want to disable Ajax Cart for one of my group of clients. My idea is that I will create module which when it is active it will disable ajax cart in BO settings. Then in BO in editing group section I want to authoirize this module for group which I want to disable ajax cart. Other groups will have this module unauthorized (disabled). I think I should update configuration variable 'PS_BLOCK_CART_AJAX' in database but where in My module should it be ? In contruct() or install() function or somewhere else. Which one is triggered when module is disabled or enabled in editing groups section. Thanks for your help. Edited January 12, 2016 by surov (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted January 12, 2016 Share Posted January 12, 2016 Here is a tutorial by community member nemo1. http://nemops.com/override-prestashop-modules-core/#.VpUucfkrLDe Link to comment Share on other sites More sharing options...
vekia Posted January 15, 2016 Share Posted January 15, 2016 if you want to change ps_configuration entry, you dont have to alter and create any kind of override. you can do it directly from your module, like for other configuration entries. 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