sasorobic Posted March 26, 2016 Share Posted March 26, 2016 Hello. We have a module that imports data from our supplier every hour... But there are a couple of categories what we dont want to be enabled. they can exist but it must be disabled and all products in that categories too... any way to acomplish that using cron? thanks Link to comment Share on other sites More sharing options...
musicmaster Posted March 27, 2016 Share Posted March 27, 2016 You could just make a tiny php file and call that from your cron. After the login data it could contain mysql commands like "update ps_category set active=0 where id_category in ("11","23")" I suppose you also will want to add commands to disable the products. 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