Topic summary
A user is attempting to integrate Shopify product data into an Instapage landing page using AMP (Accelerated Mobile Pages) script.
Technical Implementation:
- Uses
<amp-script>component to fetch product data from a Shopify API endpoint - Retrieves product details including variants, pricing, compare-at price, and images
- Dynamically generates HTML to display product information with a “Shop Now” button linking to checkout
Code Structure:
- Fetches JSON data via API call
- Constructs product display with image, title, pricing (including compare-at price if available), and call-to-action button
- The code appears corrupted or reversed in sections, suggesting potential formatting issues in the original post
Status:
No responses or solutions have been provided yet. The discussion remains open with the implementation question unanswered. The code snippet may need debugging due to apparent encoding or display problems in the posted content.