Support » Plugin: WP Shopify » How to get product object?

  • Resolved aarmillr

    (@aarmillr)


    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)
  • You must be logged in to reply to this topic.