FROM CACHE - fr_header

Create a second option on my product page

Create a second option on my product page

LauraLalire
Shopify Partner
4 0 0

Hello everyone,

 

I'm setting up a shopify shop that sells plants in pots.

 

Each plant has about ten variations (pot colour) with photos specific to each pot colour.

 

In addition to this variant, I'd like to add a checkbox to offer the pot with or without a label. To add this tick box I've used the following code:

 

<div style="padding: 10px 0;margin: 10px 10px 10px 0;display: flex;align-items: center;justify-content: left;border-radius: 36px;">
<input name="properties[papier]" type="hidden" value="NON">
<input name="properties[papier]" id="papier" type="checkbox" value="OUI">
<label style="font-family: Laurentian, sans-serif;font-weight: 600;font-style: normal;text-transform: uppercase;font-size: 9px;" for="papier"> Souhaitez-vous une étiquette sur le pot ?</label>
</div>

 

I'd like to know if it's possible to change the product image when I tick the box (as if it were another variant).

 

0 RÉPONSES 0