AnGe7 Posted August 14, 2023 Share Posted August 14, 2023 Hello everybody, I have a merchant customer, who using an add-on to display all combination like a product in various lists. Now, i would like to know if it's possible to add 2 same combination (Product ID + Color ID + Size ID) (with other secondary fields different) and if it's possible ? (i know it's possible to update directly database) but in backoffice, natively, it seems impossible. Thank you for your help Link to comment Share on other sites More sharing options...
musicmaster Posted August 14, 2023 Share Posted August 14, 2023 What do you mean with "with other secondary fields different"? The table ps_cart_product has an unique index that forbids have twice the same product with some clauses. Link to comment Share on other sites More sharing options...
AnGe7 Posted August 16, 2023 Author Share Posted August 16, 2023 Actually i have product. For each product i have some combinations example : Product A in size 1 and Color Z Product A in size 2 and color X Product A in size 3 and color Y Product A in size 3 and color Z Product A in size 3 and color X Actually, in back office it's not possible to do this : Product A in size 1 and Color Z Product A in size 1 and Color Z Product A in size 1 and Color Z It's what i would like to do. Cause i have this case : Product A in size 1 and Color Z : Reference 0001 Product A in size 1 and Color Z : Reference 0002 Product A in size 1 and Color Z : Reference 0003 (Each combination is display as a product in listing) Link to comment Share on other sites More sharing options...
musicmaster Posted August 16, 2023 Share Posted August 16, 2023 7 minutes ago, AnGe7 said: Actually i have product. For each product i have some combinations example : Product A in size 1 and Color Z Product A in size 2 and color X Product A in size 3 and color Y Product A in size 3 and color Z Product A in size 3 and color X Actually, in back office it's not possible to do this : Product A in size 1 and Color Z Product A in size 1 and Color Z Product A in size 1 and Color Z It's what i would like to do. Cause i have this case : Product A in size 1 and Color Z : Reference 0001 Product A in size 1 and Color Z : Reference 0002 Product A in size 1 and Color Z : Reference 0003 (Each combination is display as a product in listing) This doesn't explain anything. How can you have more than one reference for the same product? Link to comment Share on other sites More sharing options...
AnGe7 Posted August 17, 2023 Author Share Posted August 17, 2023 On 8/16/2023 at 9:33 AM, musicmaster said: This doesn't explain anything. How can you have more than one reference for the same product? I don't know how my customer use this.. Link to comment Share on other sites More sharing options...
s4lvozesta Posted August 17, 2023 Share Posted August 17, 2023 If it is shoe, then productA yellow 35 should have different Reference than productA yellow 36. The same productA yellow 35 should have the same Reference throughout. If it is phone, androidA black 3” can have different reference from androidA black 3” maybe because RAM is different, CPU or storage is different, etc. If you share your real case, someone might get better understanding and maybe would have ideas Link to comment Share on other sites More sharing options...
JBW Posted August 19, 2023 Share Posted August 19, 2023 In this case its a different combination and should be created as such - usually it will also differ in price and stock 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