Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Unable to save nonzero stock on product #90

Open
DejanMilicic opened this issue Jan 11, 2016 · 2 comments
Open

Unable to save nonzero stock on product #90

DejanMilicic opened this issue Jan 11, 2016 · 2 comments

Comments

@DejanMilicic
Copy link

I am using build created from DEV branch, installed via local nuget package I created after building DEV branch.
In Umbraco backend, I open product for editing, then go to Price tab and set Stock to some nonzero value (e.g. 5, 77, ...) and save. Umbraco reports that product is successfully saved.
However, stock seems to be zero after saving. This occurs for all products in the store.

Is there any store-wide setting that needs to be set in order to correct this behavior?

@DejanMilicic
Copy link
Author

Update on this. I checked uWebshopStock table, and I basically can see each of my attempts to set stock as one row in this table. However, "nodeid" column conains ZERO for all rows.
After I manually populated product node ID (it was 1151 for this concrete produt) in one of the rows, and opened product for editing, I can now see correct stock value which conforms to the value I populated manually.

@DejanMilicic
Copy link
Author

Update # 2 : After manually setting nodeid in uWebshopStock and achieving stock greater than zero, each subsequential save via Umbraco resets this value to zero by setting stock column to zero.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant