All things Shopify and commerce
We are adding new products with colour variants to our shop. Previously we had variants setup as separate products because we started with just a single product, so were using Platmart App to achieve colour swatches to for easy switching between separate products (displayed as radio buttons).
We are now adding more products and have set them up as 1 product with 4 x colour variants and my theme is currently limited to dropdown selector for colour variant. I want to change this to radio buttons as they appear more aesthetically pleasing. I also want these to appear on my collection page too.
Apparently Prestige doesn't have the simple variant selector options in theme settings so it must be done using code. I have setup the hexadecimal codes in colour swatches in my theme settings already and in the product metadata.
Does anyone know how to do this easily? I am assuming it's this part of the product JSON but I am no coder.
},
"variant_selector": {
"type": "variant_selector",
"settings": {
"selector_mode": "dropdown",
"show_color_swatch": false,
"show_color_carousel": false,
"size_chart": "size-chart"
}
Just trying to workout the way to do this without paying thousands to a developer for such a small change. Thanks in advance.
Backup Your Theme:
Edit Product Page Template:
Add CSS for Styling:
Optional: Add to Collection Pages:
This will replace the dropdown with radio buttons for better usability.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024