on 2018 Sep 09 5:00 AM
Hello,
I want to see what are all the available variants for a given product. Could any one help me what is the flexible query that I can use to get all the variants for a given product.
A product can have multiple variants so I want to see all the variants.
Thanks in advance.
Request clarification before answering.
Hi,
you could try execute following query : select {V.CODE} from {VariantProduct as V JOIN Product as P on {P.PK} = {V.BaseProduct}} where {P.CODE} = 'PRODUCTCODE' Then you will get the code for the products. Replace PRODUCTCODE with the product code that you are interested in
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your quick response Marko.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.