Liquid error (cart-upsells line 25): product form must be given a product

Hello !

Please I need to some help in sorting this issue related to liquid error with Shopify. I am using the theme Speedfly. My Coding knowledge is very limited. I am having this error on the shopify cart page: Liquid error (cart-upsells line 25): product form must be given a product.

looking at the cart upsell liquid section, I have found that this is the content of ligne 25: {% form ‘product’, upsell, id: “addToCartFormId2”, class: “addToCartForm addToCartFormId2”%}.

I have read some tickets on liquid error mistakes where it was advised to simply delete the line. But that one does not to work for me.

I really need to get this sorted. Please help

Regards

Olivier

I have no idea what the cart-upsell is, but I’m about 73% certain that if you remove the word (and comma): “upsell,” then it should save.

I think it’s effectively saying that the form requires the upsell object and that object may be missing a product.