Add to cart button not working for specific products

1 0 1

Hello, the button does not work for some specific products, this is an example:


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-{{}}" 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-{{ }}"> {{ 'products.product.add_to_cart' | t }}</span>
       <img src="">
     {% endunless %}  


Reply 1 (1)

Shopify Partner
5581 642 1567

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

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