Liquid error (product-form line 2): product form must be given a product

lesber
New Member
3 0 1

Hello i am looking for help may be you can give me a hand

{% capture form_id %}AddToCartForm-{{ section_id }}{% endcapture %}
{% form 'product', product, id: form_id, class:'product-single__form' %}  (this is the code that i can not figure out i am sure its prob something very small)
{% unless product.has_only_default_variant %}

at the page this is what i get 

Liquid error (product-form line 2): product form must be given a product

now, when i look at my other product pages its not showing but this one i inserted the code to another page 

 

please help if you can i been looking all day for help and asked several people event the impulse theme people

 

thanks again

0 Likes