Add to cart button not working for specific products

Howard20
Visitor
1 0 1

Hello, the button does not work for some specific products, this is an example: https://starlionmedical.com/products/ammex-x3-vinyl-gloves

 

Api response: {status: "bad_request", message: "Parameter Missing or Invalid",…}
description: "Required parameter missing or invalid: items"
message: "Parameter Missing or Invalid"
status: "bad_request"

 

 

<div class="fixed-button">
    <div class="product-form__item product-form__item--submit  product_payments_btns">
    {% unless section.settings.hide_addtocart %}
       <button type="submit" name="add" id="dT_AddToCart-{{section.id}}" class="dT_AddToCart dt-sc-btn {% if product.options.size == 1 and product.variants[0].title == 'Default Title' and product.variants.size == 1 %} product-form__cart-submit--small{% endif %}">
       <span class="dT_AddToCartText-{{ section.id }}"> {{ 'products.product.add_to_cart' | t }}</span>
       <img src="https://cdn.shopify.com/s/files/1/0617/4231/7786/files/heart-svgrepo-com.svg?v=1640812439">
        </button>
     {% endunless %}  
          
  </div> 
</div>

 

Reply 1 (1)

Zworthkey
Shopify Partner
5581 642 1564

@Howard20 
Welcome to the Shopify community!
Thanks for your good question.


for that, you have to hire Someone to fix it.