Creating Drop Down Box for T Shirt Size

Hi guys,
I just started learning Hugo and I am using Hargo theme for a ecommerce website.
Do you have any idea how can I add a drop down box for t shirt sizes? Also the theme is using snipcart.
Here’s the code for the button sending the details to snipcart.

          class="snipcart-add-item btn btn-primary"
          data-item-id="1"
          data-item-name="Chill Tees 1"
          data-item-image="https://chillwithdel.web.app/images/products/cwd-tee-1.png"
          data-item-price="50 AED"
          data-item-url="https://chillwithdel.web.app/products/cwd-tee-1/">
          Add to cart

Hi there,

We do not support general HTML / JS / snipcart / webdev questions in this forum. Try asking the theme maintainers, or some other support forum.

1 Like