Shopify 2.0 product form is not working on dawn theme

I have try this form on the collection list item but this was not working

{% form 'product', product, id: product_form_id, class: 'form', novalidate: 'novalidate',  data-type: 'add-to-cart-form' %}  
 

  

{{ form | payment_button }}
{% endform %}

Error

Something went wrong.

What happened?
Parameter Missing or Invalid: Required parameter missing or invalid: items
What can I do?

after click goes to the

myshopify.com/cart/add

Hello , @AvidBrio

Can you please provide your store URL ? So that i can check this in detail

@IttantaTech thanks for the reply

Here is store preview links https://uvubpxxd9q9veklm-15143478.shopifypreview.com/collections/mens-jeans
password : 1234.

See the attached screenshot for the output

Hello , @AvidBrio

I have checked this and found that right now the quantity box is outside the

You have to put it inside the form .

So , basically you have to put this code inside the form:-

Decrease quantity for Rustic Jeans Increase quantity for Rustic Jeans
1 Like

@IttantaTech thanks for the issue tracked

here is full code snippets I moved the quantity-input inside the form tag please check this

{{ 'section-main-product.css' | asset_url | stylesheet_tag }}

 {%- assign product_form_id__ = 'product-form-'| append: section.id -%}
 {%- assign product_form_id_ = 'product-form-'| append: product.id -%}

 

    {%- unless product.has_only_default_variant -%}
    {%- if  settings.card_picker_type == 'button' -%}
    
    {%- else -%}
    

    {%- endif -%}
    {%- endunless -%}

    

  {%- if product != blank -%}
    
  {%- else -%}
    

      

        
      

    

  {%- endif -%}

still the correct input not adding to the cart

add to cart button adding only one qty at one click per the time.

@IttantaTech thanks a lot for the custom code


              

              
            
  
              
              

              {{ 'component-pickup-availability.css' | asset_url | stylesheet_tag }}

              {%- assign pick_up_availabilities = product.selected_or_first_available_variant.store_availabilities | where: 'pick_up_enabled', true -%}

              
            

  
  {%- else -%}
    
      

        
      

    

  {%- endif -%}