Skip to content

Commerce Datatype Stock isn't saving in splitview #708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cryothic opened this issue May 12, 2025 · 4 comments
Open

Commerce Datatype Stock isn't saving in splitview #708

cryothic opened this issue May 12, 2025 · 4 comments

Comments

@cryothic
Copy link

cryothic commented May 12, 2025

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

13.2.2

Bug summary

2 weeks ago I mentioned a sync problem with the price field while in splitview. (#695)
I mentioned Umbraco Commerce: Stock was syncing, but I think I've mixed some things up, because a customer was pointing out it didn't sync. And when I try it now (either in 10.x versions or 13.2.2) it doesn't sync in splitview.
So I guess this field has the same problem?

So to summarise: when you have a product open in 2 languages using the splitview, the stock isn't synced and saved in the 'other' language. In my case this field is not-vary-by-culture, so it remains readonly in the other language.

Specifics

No response

Steps to reproduce

  • Have a site with (at least) 2 languages
  • Have a product doctype with a Textstring-field (for verification), and a Umbraco Commerce: Stock field.
  • Set the textfield to "vary by culture", the stock field is NOT "vary by culture".
  • Open the product page in the content editor
  • Open the second language via split view
  • Enter a text in the text field
  • Enter a stockin the stock field
  • Click "Save and publish"

Expected result / actual result

I would expect after saving, the new values are in place.

But the stock value isn't saved.

Dependencies

No response


This item has been added to our backlog AB#52902

@cryothic cryothic added the bug Something isn't working label May 12, 2025
@umbracotrd
Copy link

thanks for reporting this. I'll add this to our backlog and plan for the fix.

@umbracotrd
Copy link

@cryothic : You mentioned the Stock data type meanwhile in the steps to reproduce you mentioned Umbraco Commerce: Price. Can you confirm which one is not working properly?

@cryothic
Copy link
Author

@umbracotrd My bad, I've copy paste the steps from the previous bug I sent (the one linked in the original post).

This is about Umbraco Commerce: Stock.

@mattbrailsford
Copy link
Contributor

I've just pushed a 13.2.3--preview.2 to our nightly feed if you want to give that a try to see if it resolves your issue?

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

No branches or pull requests

3 participants