So, I've got a CMS page that I'm using as a landing page. I want to add a button that lets customers add a product straight to the shopping cart, completely bypassing the main product page. The usual php methods for making an add-to-cart product link don't work from a CMS page. Is there some way to call these via the CMS interface with the replacement syntax {{foo}}
? If not, how do I get the link I need?
Relevant info:
We are using the obfuscated add-to-cart format, so the normal query url doesn't seem to work.
Our product links and ids don't seem to be stable, so I can't just copy-paste something.
Yes, this landing page needs to be a CMS page, not hardcoded in the site.