Editing .liquid to change custom input boxes

Gariep
Tourist
10 0 2

Hello everyone, 

I started editing my stores a few days ago to add some input bnox for my customizable item. 

Now for a specific item, i would like multiple input box but for a specific variant, i would like only 1

 

I tried a few things like using an if statement based on variant.id  based on price, nothing works, but as I said i'm fairly new and  while i know ther's probably multiples ways to do it, non that i've tried worked so far. 

 

See item here, https://lightburndesign.ca/products/calendrier-danniversaires-personnalisable

for the latest variant, i want only 1 input boxes, and if possible a different description

Anyone can help? 

{% if variant.id == 37530937589921 %}
             <p class="line-item-property__field">
  				<label for="test12">test12<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="test12" type="text" name="properties[test12]">
                  				<input type="number" id="test12" name="test12" min="1" max="31"><br><br>
			</p>
        
          
           
          {%- endif -%}
                      
			<p class="line-item-property__field">                   
  				<label  for="Nom-a-inscrire">Nom-a-inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>
              <p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>
                <p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>
                  <p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>
                    <p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>
                      <p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>
                        <p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>
                          <p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>
                            <p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>
                              <p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p><p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p><p class="line-item-property__field">
  				<label for="Nom-a-inscrire">Nom à inscrire<for="Date"> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;Date</label>
  				<input required class="required" id="Nom-a-inscrire" type="text" name="properties[Nom à inscrire]">
                
  				<input type="number" id="Date" name="Date" min="1" max="31"><br><br>
			</p>

 

0 Likes