@904TECHNOLOGY wrote:
Hey Guys. So I understand and have a dynamic shopify embed working correctly. However, I would like to add the reviews embed on a dynamic page as well.
Here is the code that is given by spotify:
<div id="shopify-product-reviews" data-id="{{product.id}}">{{ product.metafields.spr.reviews }}</div>
Now I can do the product.id , but any thoughts on how to get the product.metafields.spr.reviews if I am generating this code from a "Button Creation" embed from spotify?
<div data-embed_type="product" data-shop="margo-garden-products.myshopify.com" data-product_name="Bahama Blend Fire Glass" data-product_handle="bahama-blend-fire-glass" data-has_image="true" data-display_size="compact" data-redirect_to="cart" data-buy_button_text="Add to cart" data-buy_button_out_of_stock_text="Out of Stock" data-buy_button_product_unavailable_text="Unavailable" data-button_background_color="ff7e47" data-button_text_color="ffffff" data-product_modal="false" data-product_title_color="000000" data-next_page_button_text="Next page"></div> <script type="text/javascript"> document.getElementById('ShopifyEmbedScript') || document.write('<script type="text/javascript" src="https://widgets.shopifyapps.com/assets/widgets/embed/client.js" id="ShopifyEmbedScript"><\/script>'); </script> <noscript><a href="https://margo-garden-products.myshopify.com/cart/16731623361:1" target="_blank">Buy Bahama Blend Fire Glass</a></noscript>
Here is my public share link: LINK
(how to access public share link)
Posts: 4
Participants: 2