How to customize the product show page?
Example Concept: “Sylius T-Shirts with different colors”

Configuration

Dynamic update of product main image
1. Create a live component
2. Register the component
3. Investigate the Twig Hook to Override

4. Create template for component
5. Update twig hook
Style the Variant Selection Method
1. Investigate the Twig Hooks to Override

2. Create Twig Templates for Variants
3. Register Twig Hooks
Result
1. Go to the product page for “Sylius T-Shirt”, you should see custom radios

2. Selecting a variant should dynamically update the main product image without reloading the page.

Last updated
Was this helpful?
