Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Has anyone got any experience setting up Product Variants with the HTML api of Teacommerce? (Is it even possible?)
We currently have a client whos situation is selling events using the HTML API. We were looking to hopefully just extend this to say have the variant nodes sit under the product:
And then ideally send them through to the cart with the HTML API correctly.
I understand the docs are still a WIP, but happy to document and commit to the docs repo if someone could let me know if its possible!
It should be possible to do this. You could give your variant nodes their own SKU and send that through as the product identifier when adding to the cart. I used to do it this way myself when we ran a watch shop where we would have a parent watch model node, but then style variants as child nodes.
Aha! I see what you are saying. Im going to go have a play now and get it working :)
Would you like me to screenshot / document that process to add to the "Building an eCommerce Site" section?
That would be awesome. If you could submit it as a PR on the docs repo I can review it and make sure you maintain credit for the contribution.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted