hmeza Posted November 16, 2020 Share Posted November 16, 2020 (edited) Hi PrestaShop Community, I have a question regarding which would be the best approach to create the following scenario: We have a shop with products categorized, all sharing distinct categories. Now marketing asks to create a campaign to obtain leads. This campaign will be a set of existing products with a discount, but only for this particular campaign, which we have created as a new category. If a user access a product from outside this category listing the discount must not exist. If we create a discount for a product in a certain category, this product is listed with a discount everywhere, so we cloned all selected products for this campaign and applied the discounts in the copies. However this solution required us to fill the quantities and the carrier for all copies, and also for certain products with limited availability this approach requires our team to be aware of stock available in both products (original and created) to maintain control of it. Moreover creating more campaigns like this would require more and more product managing from backoffice side. My question is: Is there a better approach you would take in such scenario? Is there a way of getting PrestaShop to manage this? As we were short in time we had to do it this way; I'm thinking in programming a module to keep track of original products for cloned ones so when an order is placed and discount units in all products linked (say searching for a module that does this), however I would like to know if anyone faced a requirement like this one. Thanks! Edited November 24, 2020 by hmeza (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted November 18, 2020 Share Posted November 18, 2020 From my point of view this is the best way. If it's something that you plan to do for a long time the only thing I would try to develop is to synchronize stocks between same products. 1 Link to comment Share on other sites More sharing options...
hmeza Posted November 19, 2020 Author Share Posted November 19, 2020 Hi joseantgv, Thank you so much for your response. Your answer confirms what we thought. Fortunately we did not do anything bizarre and omitted a simpler solution. I'll keep this thread open for a couple of days more and if no other suggestion is posted I'll close this as solved. Cheers! 1 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