Possible to have Product Variants using the HTML API?
Hello all!
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:
Product
Variant 1
Variant 2
e.t.c
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.
Possible to have Product Variants using the HTML API?
Hello all!
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:
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!
Hi Tom,
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.
Hi Matt,
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?
Hi Tom,
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.
Thank you
is working on a reply...