-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STRF-4282 - Add support in Cornerstone to consume AMP ID #1155
Conversation
Autotagging @bigcommerce/storefront-team @davidchin |
templates/layout/amp.html
Outdated
@@ -20,9 +20,9 @@ | |||
{{{snippet 'htmlhead'}}} | |||
<script async custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script> | |||
<script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script> | |||
{{#if theme_settings.amp_analytics_id}} | |||
{{#or category.amp_analytics_id product.amp_analytics_id}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't work - i need to find another way to do this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nevermind - works just fine
@bigcommerce/storefront-team ♻️ |
1 similar comment
@bigcommerce/storefront-team ♻️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mjschock this needs a rebase.
@junedkazi ♻️ |
What?
Adds support to consume AMP ID (on the product and/or category rather than config)
Tickets
GIFs
http://g.recordit.co/eD9i23HoIt.gif
http://g.recordit.co/RpAKTvRMxh.gif
ping @bigcommerce/storefront-team @bookernath