What's new at ShopWired?
Added new setting types for themes
Two new setting types have been added to improve theme flexibility and allow more advanced data handling within themes.
The code setting type provides a dedicated code editor within the theme editor, allowing developers to enter Twig code directly. This enables dynamic rendering within themes using the render function, supporting both global theme settings and section/block settings.
The custom_field setting type allows users to select from custom fields associated with specific item types within their ShopWired account. The customFieldItemType property is required and supports the following values: product, blog_post, category, brand, and page.
On the front end, the custom_field setting returns an object containing:
namelabelvalue
The value will be null if no value has been set for the selected item. The setting itself will return null when not used on a supported item page.