I am having some issues with individual variant stock. I will input the stock amount, and save it and can see it has put it into the "teacommerce_stock" table but doesn't save it against the product variant?
When I reload the page, the stock data isn't pulled in, but I'm unsure of why, so when I save the product again, the stocks are completely removed from the database.
Anyone got any idea what I'm doing wrong? This is the first project I've worked on with TeaCommerce and it's bugging the life out me I can't figure it out!
I've also got another problem when trying to get stock for a variant, the javascript api returns an error that The product doesn't have a store id associated with it. No sure if I can get stock for a variant or what to pass into the api as a product identifier, tried variant node id and sku, maybe it's not possible?
Issues with Variant Stock
Edit: I'm using Umbraco 7.11.1 & MySQL Database
I am having some issues with individual variant stock. I will input the stock amount, and save it and can see it has put it into the "teacommerce_stock" table but doesn't save it against the product variant?
When I reload the page, the stock data isn't pulled in, but I'm unsure of why, so when I save the product again, the stocks are completely removed from the database.
Anyone got any idea what I'm doing wrong? This is the first project I've worked on with TeaCommerce and it's bugging the life out me I can't figure it out!
I've just run into exactly the same problem, did you ever solve it?
I never did, it worked as expected on another installation which is a bit annoying more than anything else.
Glad you got it working.
I've also got another problem when trying to get stock for a variant, the javascript api returns an error that The product doesn't have a store id associated with it. No sure if I can get stock for a variant or what to pass into the api as a product identifier, tried variant node id and sku, maybe it's not possible?
TC.getStock({storeId: 1, productIdentifier: '1123' });
Tried this server side and stock comes back null as well TC.GetVariants(1, content, true);
Hi guys,
Check out this post, and see if your problem is the same: https://our.umbraco.com/projects/website-utilities/tea-commerce/tea-commerce-support/92695-cannot-add-product-variants
/Rune
is working on a reply...