FROM CACHE - fr_header
Cette communauté a fait place à une assistance de pair-à-pair. L’assistance Shopify ne sera plus proposée pour cette communauté. Nous vous encourageons à entrer en contact avec d’autres marchands et partenaires pour obtenir de l’aide et partager vos expériences ! Veuillez continuer à signaler tout ce qui va à l'encontre de notre Code de conduite ou tout contenu que vous souhaitez faire supprimer.

Create a second option on my product page

Create a second option on my product page

LauraLalire
Shopify Partner
5 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