On my product page I have a header that reads “what’s included”
Under it includes what products come in the pack based on the variant
I want to be able to change it so with each variant that is selected it changes to include the products .
I would like like to sort it by price, so if a product variant is $19.99 it includes 1 product.
If a product variant is $35 it reads that it includes 2 products.
I understand this would require some JS, and if anyone could point me in a direction as to do this I would so appreciate it.