I am looking to find out how i can display a products variants on a page in Shopify. Currently I have a page where I have hard coded a products quantity and size and then linked the price to the product page where the dropdowns for the variants are then predefined.
The problem is that if any variants are changed or any new ones are added then this will not reflected unless its hard coded, hence I need to have some sort of automation so the page correlates what it is available.
From what I know I would probably need to write a custom template, but not sure how i can go about doing this.
The following is an example of what I am looking to do.
Product - Cards
Quantity - 5 10 15 20 25 Style - A A A A A
Would appreciate it, if anybody is able to help or guide me as to how i can do this.
Thanks in advance.