I have a 1 page web app to build a customized product, and I want to add it to the cart of a current zencart installation on the same domain. I have it mostly figured out, and tested by manually copy/pasting security token (will figure out how to automate next).
My main question is, what attribute can I pass via the html form to set the price of the product? There are thousands of price possibilities, so I can't manually create them.
For example, I've done this on another cart software with this <input type="hidden" id="price" name="price" value="[price injected dynamically]">.
For reference, here is my custom product builder with the remote add to cart button: https://www.chair-mat-office.com/custom-mat-builder/


Reply With Quote
