{% if product.sku %}
{% else %} {% endif %}Topic summary
A user is attempting to integrate Amazon’s “Buy With Prime” widget into their Shopify template (Sense theme) around line 448.
The provided code snippet includes:
- An async script tag loading Amazon’s Buy With Prime JavaScript library
- A conditional block checking for product SKU availability
- Widget configuration with specific site-id and widget-id parameters
The code appears corrupted or improperly formatted in the latter portion, with reversed/garbled text (“tegdiW emirP htiW yuB fo dnE” appears to be “End of Buy With Prime Widget” backwards). This suggests either a copy-paste error or encoding issue that needs correction before implementation.
The discussion remains open with no responses yet, indicating the user may need assistance debugging the malformed code or guidance on proper widget integration within the Sense template structure.