Skip to content
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

Merged
merged 1 commit into from
Jan 31, 2018
Merged

STRF-4282 - Add support in Cornerstone to consume AMP ID #1155

merged 1 commit into from
Jan 31, 2018

Conversation

mjschock
Copy link
Contributor

@mjschock mjschock commented Jan 24, 2018

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

@bigbot
Copy link

bigbot commented Jan 24, 2018

Autotagging @bigcommerce/storefront-team @davidchin

@@ -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}}
Copy link
Contributor Author

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nevermind - works just fine

@mjschock
Copy link
Contributor Author

@bigcommerce/storefront-team ♻️

1 similar comment
@mjschock
Copy link
Contributor Author

@bigcommerce/storefront-team ♻️

Copy link
Contributor

@junedkazi junedkazi left a 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.

@mjschock
Copy link
Contributor Author

@junedkazi ♻️

@mjschock mjschock merged commit d3e5b36 into bigcommerce:master Jan 31, 2018
@mjschock mjschock deleted the STRF-4282 branch January 31, 2018 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants