Any experienced J2Store users out there? I'm displaying my product articles via the j2store products module. I've made an override for a product line that we want to display but not sell yet and the product options have gotten lost in the shuffle somewhere. I believe this is because I basically copied and pasted the necessary code from addtocart.php and addtocart_options.php into my override file. Is there a way to use a direct php call to display the product options? I know they're in the article attributes I just can't figure out how to access them...
I had a similar situation on a page I built using J2Store, as the client wanted to present the products but wasn't ready to actually sell them yet.
As a quick solution that also is easy to reverse once the products are ready to be sold, I added this jQuery code to my template in order to disable all "Buy" buttons:
I don't think it's the best and cleanest solution, but it was enough for this particular case, and a very quick fix.
In your case, maybe you can remove the override file, and modify the jQuery code to target only the buy buttons from the product line you want to disable.