BartekPrintSoft Posted September 23, 2024 Share Posted September 23, 2024 Hi, I have Prestashop 8.1.3 and I'm writing regarding product combinations (generator). When I create a combination, a few products with other variants are in a single product. Is there a way to make them appear as new products after generating combinations? Maybe with a module? Link to comment Share on other sites More sharing options...
ps8modules Posted September 23, 2024 Share Posted September 23, 2024 Hi. When you add combinations to a product, you know its ID. Example: $product = new Product((int)$idProduct); $product->date_add = date('Y-m-d H:i:s'); // current date $roduct->update(); Link to comment Share on other sites More sharing options...
BartekPrintSoft Posted September 23, 2024 Author Share Posted September 23, 2024 The point is that when a customer enters and wants to add a product, they create a product with combinations. When they create combinations, it generates, for example, 7 separate products, not 7 variants under one product, because I need this for another program. Can I somehow make it easier for him? Link to comment Share on other sites More sharing options...
ps8modules Posted September 23, 2024 Share Posted September 23, 2024 Hi. I see. Sorry, I misunderstood your question. There are many unknowns here, I am unable to advise you. Maybe someone else. 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