Commit c836b96 David Payne
authored
File tree 3 files changed +9
-14
lines changed
3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
3
## Draft
4
+ - Fix quantity edit on Simple Product AMP pages. [ #1257 ] ( https://github.com/bigcommerce/cornerstone/pull/1257 )
4
5
5
6
## 2.1.0 (2018-06-01)
6
7
- Add Newsletter summary section to subscription form. [ #1248 ] ( https://github.com/bigcommerce/cornerstone/pull/1248 )
Original file line number Diff line number Diff line change 28
28
</ section >
29
29
< div class ="productView-action ">
30
30
{{#or customer (if theme_settings.restrict_to_login '!==' true)}}
31
- {{#if product.options}}
32
- < amp-iframe height ="400 " width ="250 "
33
- layout ="responsive "
34
- sandbox ="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals "
35
- resizable
36
- src ="{{product.amp_options_url}} ">
37
- < div class ="button button--primary button--wide " overflow tabindex ="0 " role ="button "> Choose Options</ div >
38
- </ amp-iframe >
39
- {{else}}
40
- < a class ="button button--primary button--wide " role ="button " href ="{{product.cart_url}} "> Add To Cart</ a >
41
- {{/if}}
31
+ < amp-iframe height ="400 " width ="250 "
32
+ layout ="responsive "
33
+ sandbox ="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals "
34
+ resizable
35
+ src ="{{product.amp_options_url}} ">
36
+ < div class ="button button--primary button--wide " overflow tabindex ="0 " role ="button "> Choose Options</ div >
37
+ </ amp-iframe >
42
38
{{/or}}
43
39
{{#if product.out_of_stock}}
44
40
{{#if product.out_of_stock_message}}
Original file line number Diff line number Diff line change 16
16
{{#if settings.add_this.buttons}}
17
17
< script async custom-element ="amp-social-share " src ="https://cdn.ampproject.org/v0/amp-social-share-0.1.js "> </ script >
18
18
{{/if}}
19
- {{#if product.options}}
20
- < script async custom-element ="amp-iframe " src ="https://cdn.ampproject.org/v0/amp-iframe-0.1.js "> </ script >
21
- {{/if}}
19
+ < script async custom-element ="amp-iframe " src ="https://cdn.ampproject.org/v0/amp-iframe-0.1.js "> </ script >
22
20
{{#if product.videos}}
23
21
< script async custom-element ="amp-youtube " src ="https://cdn.ampproject.org/v0/amp-youtube-0.1.js "> </ script >
24
22
{{/if}}
You can’t perform that action at this time.
0 commit comments