shx-3d-render
parent
39f86d0131
commit
dd987ab423
|
@ -1,12 +1,13 @@
|
|||
<style>.custom.form__label{margin-bottom: 0.6rem}.field.custom{margin-top:0}.custom .field__input{padding-top:0.8rem}</style>
|
||||
<label class="form__label custom" for="your-label">Your label</label>
|
||||
<div class="field custom">
|
||||
<input class="field__input" form="{{ 'product-form-' | append: section.id }}" type="text" id="your-label" name="properties[Your label]">
|
||||
<div id="shx-3d-render-input-container">
|
||||
<style>.custom.form__label{margin-bottom: 0.6rem}.field.custom{margin-top:0}.custom .field__input{padding-top:0.8rem}</style>
|
||||
<label class="form__label custom" for="your-label">Your label</label>
|
||||
<div class="field custom">
|
||||
<input class="field__input" form="{{ 'product-form-' | append: section.id }}" type="text" id="your-label" name="properties[Your label]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if product.images.size > 0 %}
|
||||
{% assign main_image = product.images.first %}
|
||||
<img src="{{ main_image.src }}" alt="{{ main_image.alt }}">
|
||||
<!-- Display the alt text -->
|
||||
<p>Main Image Alt Text: {{ main_image.alt }}</p>
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue