How to get product object?
-
When I tried the following codes, It renders the product to the page.
Here, $acf_product is the product we get with ACF Relationship field.$product = $Products->products([ 'title' => $acf_product[0]->post_title ]);
But I do want to get the Shopify product object and build a custom layout based on the data.
Is there any way to get the Shopify product object?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to get product object?’ is closed to new replies.