Teodor Posted February 25, 2018 Share Posted February 25, 2018 Hello, how can I limited the items on the website? Regars. Link to comment Share on other sites More sharing options...
musicmaster Posted February 25, 2018 Share Posted February 25, 2018 I have no idea what you want. Please show some respect to people on this forum and take your time to write a crystal clear question - with screen dumps and drawings when needed. Link to comment Share on other sites More sharing options...
Teodor Posted February 25, 2018 Author Share Posted February 25, 2018 (edited) Sorry, so I want to add three packages and each package contain a limit for items. Example: The first pack can add up to max 10 products, second pack can add up to max 100 products, and so on ... Now you understand? Regards. Edited February 25, 2018 by Teodor (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted February 26, 2018 Share Posted February 26, 2018 No, I still don't understand. Do you mean that you have a fixed price - say ten dollar - and people can select up to ten items of your products for that amount? Link to comment Share on other sites More sharing options...
Teodor Posted February 26, 2018 Author Share Posted February 26, 2018 No no... I want to add a limit for how many product I can to add in the website. E.g: if I'll add the max limit of 10 products, just 10 products can add on the website. If I have 10 products on my website and I want to add more products, I want to appear a message "You have reached the maximum product limit on the website." . Now you understand? Link to comment Share on other sites More sharing options...
musicmaster Posted February 26, 2018 Share Posted February 26, 2018 So if I understand it correctly you are in the business of selling/renting webshops to traders and you want to sell different packages that allow them to have different amounts of products. Did you think about what you want to do with deleted and inactive products? Link to comment Share on other sites More sharing options...
Teodor Posted February 26, 2018 Author Share Posted February 26, 2018 Yes, if a product is deleted to be available a free place for another product and inactive products need to eliminate them. Link to comment Share on other sites More sharing options...
musicmaster Posted February 26, 2018 Share Posted February 26, 2018 The logical place would be controllers/Admin/AdminProductController.php (or classes/product.php) and then to put some validation check there next to the validation checks for new products. And alternative would be to modify the backoffice template so that the Add product buttons are not visible when the quotum is reached. But this requires some research. I don't know the details. You can of course also try search on Addons. 1 Link to comment Share on other sites More sharing options...
Teodor Posted February 26, 2018 Author Share Posted February 26, 2018 24 minutes ago, musicmaster said: The logical place would be controllers/Admin/AdminProductController.php (or classes/product.php) and then to put some validation check there next to the validation checks for new products. And alternative would be to modify the backoffice template so that the Add product buttons are not visible when the quotum is reached. But this requires some research. I don't know the details. You can of course also try search on Addons. Ok, I'll try. Thank very much for your help. 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