App reviews, troubleshooting, and recommendations
Hello,
All that was changed was the quantity of a product and one of our products buy button and image disappeared. An error message saying "Liquid error: product form must be given a product" is shown in its place. Could anyone help me with this issue?
Solved! Go to the solution
This is an accepted solution.
Hey Louis, thank you for your reply but I found the problem. Turns out that whoever coded the site before pulled the products through custom code (not dynamically through collections). The minute any changes are made on the product's end, that error message would show up again. For now, I'll just make the changes manually through the code and product but in the future, I'm hoping to pull the products dynamically instead of having to go through this tedious process!
@ChristoLuks Can you specify what exactly you changed in featured-products2.liquid and which theme you are using?
This is an accepted solution.
Hey Louis, thank you for your reply but I found the problem. Turns out that whoever coded the site before pulled the products through custom code (not dynamically through collections). The minute any changes are made on the product's end, that error message would show up again. For now, I'll just make the changes manually through the code and product but in the future, I'm hoping to pull the products dynamically instead of having to go through this tedious process!
Hi can you help me with that. I have the same problem with gempages
Me too. I'm using Gempages also.
I have solved it. For the products that are having that error in Gempages. Go into your Shopify dashboard, go that specific product and on the top right there is Product Availability section. Make sure you tick Online store and other places you're going to selling.
This is happening to me as well but I'm using PageFly and Narrative theme. I've tried checking product availability is checked for online store but it's still showing the error. Any assistance would be appreciated!
Me too 😕
help please!
That error mean you did not pass the 'product object to the form like this :
Hi, I'm also having this problem, but all my products are available in Online Store and POS, and the code seems to be correct as you cited, could there be another reason why the Add to Cart button wouldn't show up?
Is your PageFly page a Product template? It needs to be and you need to select the product that you want the information for
this helped me.. was using autoDS. i figured it out with this. thank you
Hi Christo. What you need to do is definitely not related to the code. I solved it just by customizing my online store, change the product with available products inside my list. That's it, the exact problem is you have to make your products available.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024