You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a shopping-tag is clicked:
Add an 'activeProductData' key to SHOPPING_DATA.
Set the value to the shopping data (ShoppingConfigDataDef) of the clicked item.
Example implementation of a handler in amp-story-shopping-tag:
processprocess
changed the title
[amp story shopping] Set active product in store service
[amp story shopping] Set active product data in store service
Dec 3, 2021
Description
When a shopping-tag is clicked:
Add an 'activeProductData' key to SHOPPING_DATA.
Set the value to the shopping data (ShoppingConfigDataDef) of the clicked item.
Example implementation of a handler in amp-story-shopping-tag:
An alternate option would be to send the productData from the click handler, this would remove the
get
from the click handler.The text was updated successfully, but these errors were encountered: