It seems like Shopify has updated their Buy Button embed code. I’ll be updating our help doc to reflect this, but I just wanted to give you all a quick heads up on how to fix your Webflow dynamic embed to work with the new code.
I’m running into an issue where the Buy Button will not appear for me. I’ve tried to follow the example above, but it appears that the embed code I get from Shopify is different from this example (My code includes the product handle as an example).
@PixelGeek I successfully corrected the ID and name fields with dynamic content, but now I’m experiencing issues with the positioning of the buttons.
The problem is that Shopify is generating it’s own DIV container with a unique Class name and then placing it outside of the HTML structure that I created in Webflow.
I attempted to control this by wrapping my HTML code block with a DIV container and setting both to position relative, but Shopify is still generating it’s own DIV container outside of my pre-defined DIV container. The button positions are not being controlled by a “Position” attribute, they are structurally falling outside of the HTML I defined with Webflow.