using the Tweakwise Magento extension
Configure Tweakwise Magento extension
- In Magento, go to Stores > Configuration
- Go to Catalog > Tweakwise
- Scroll to the Merchandising Builder section and set the option Enabled to 'Yes'
Configure your builder(s)
To be able to show visuals in your product listers (category pages, recommendations, search results) you have to configure builders in the Tweakwise App. Please contact your customer success manager for information about this topic.
Overriding the default template
The Tweakwise Magento extension provides you with a default template to show visuals. If you want to develop your own way to show the visuals, you can override the file visual.phtml template in your own theme.
WCAG
If you want to add a useful alt tag to the visual:
- Add a supporting text to the item attributes in Tweakwise
- Expose the attribute in the Delivery API
- Use the attribute in the visual.phtml.