get variation sku
-
Hi.
I have a single product page with a variable product with 11 variations.
I need to get the variation sku or id into the ‘content_ids:’ from the ‘Add to cart event’ in Facebook Pixel.
The $product->get_sku() give me the parent product sku and I don`t need this. I need the variation sku or id which has been added to cart.
Can anybody help me?
Thank you.
Andrei c.
- The topic ‘get variation sku’ is closed to new replies.