Tags:
- Themes
New article.updated_at Liquid property and updated behavior for cart
We’ve added a new property for the article object as well as updated the behaviour of cart.attributes and the endpoint.
The property returns a timestamp defining when a blog article was updated. This allows themes to include the field within their Structured Data for SEO purposes. The date filter can be applied to format the timestamp. Learn more about the property in the Help Center.
cart.attributes
This existing property has been updated to hide keys with a double underscore (__) prefix from Liquid and AJAX API. Learn more about the cart.attributes property in the Help Center.
The endpoint (add to cart) of the AJAX API has been updated to support adding multiple items to the cart in a single request. This previously required a complex queuing system to send multiple requests. The previous payload format is still supported, but the "multiple items" payload format is now the recommended approach. Learn more about the Ajax API in the Help Center.