angel_aparicio Posted January 25, 2018 Share Posted January 25, 2018 Hi. I want to change the default options when I add a new product to my store. By example, I want that the option "available for orders" will be disabled for new products. It is possible? Link to comment Share on other sites More sharing options...
musicmaster Posted January 25, 2018 Share Posted January 25, 2018 This is software. So everything is possible if you find the right line(s) in the code. You should find the template for the product in the backoffice (somewhere below your admin directory) and change the relevant part there so that you get a different default. Link to comment Share on other sites More sharing options...
angel_aparicio Posted January 26, 2018 Author Share Posted January 26, 2018 Ok, I need to override the Product class with the default options that I want to use. Link to comment Share on other sites More sharing options...
musicmaster Posted January 26, 2018 Share Posted January 26, 2018 That is not what I said. I wrote about changing the template (.tpl file). You can try changing/overriding the class but I am not sure whether that works, It depends on the code. 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