-
Notifications
You must be signed in to change notification settings - Fork 35
feat: Add configuration item pricing, section ID, and product snapshots #489
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
492a96e
feat: Add price and section ID to configuration items and include pro…
alexeyshibanov e38fca4
feat: Implement product snapshot saving in customer orders
alexeyshibanov d6128c9
feat: Filter configuration items for checkout in customer orders
alexeyshibanov c127f04
feat: Update dependency versions for variation configuration type
alexeyshibanov 7b3fcb3
feat: Update product retrieval method to use GetNoCloneAsync without …
alexeyshibanov 3b80d66
feat: Refactor order indexing logic (#476)
alexeyshibanov 6b368a1
feat: Add LineItemId property to ConfigurationItem and update entity …
alexeyshibanov c7fd2ed
feat: Update dependency versions for Cart and Catalog modules
alexeyshibanov 103b4b5
Merge origin/dev into feat/variation-configuration-type
alexeyshibanov 4c40d22
Update dependencies to Wave 1 alpha versions
alexeyshibanov 5a174e9
Update module.manifest dependencies to Wave 1 alpha versions
alexeyshibanov 4dfe5a7
Merge remote-tracking branch 'origin/dev' into feat/variation-configu…
alexeyshibanov bd9d7bf
chore: Update Catalog and Cart dependencies to alpha versions
alexeyshibanov 70f3fae
chore: remove .serena from version control
alexeyshibanov b880849
refactor: use ProductJsonSerializer from CatalogModule.Core instead o…
alexeyshibanov 6ab6c85
refactor: narrow snapshot response group + fix LineItem.Clone for Con…
alexeyshibanov 6113f92
Merge remote-tracking branch 'origin/dev' into feat/variation-configu…
alexeyshibanov d061d63
chore: update CatalogModule.Core to 3.1007.0-alpha.2486
alexeyshibanov 52f8ed9
fix: make ConfigurationItem.Clone() virtual for subclass support
alexeyshibanov e18a13e
Merge branch 'dev' into feat/variation-configuration-type
OlegoO af2a777
Bump versions to release
OlegoO a65e081
Bump platform version to 3.1004
OlegoO aeddade
Fix versions
OlegoO File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/VirtoCommerce.OrdersModule.Data.MySql/ConfigurationItemEntityConfiguration.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| using Microsoft.EntityFrameworkCore; | ||
| using Microsoft.EntityFrameworkCore.Metadata.Builders; | ||
| using VirtoCommerce.OrdersModule.Data.Model; | ||
|
|
||
| namespace VirtoCommerce.OrdersModule.Data.MySql | ||
| { | ||
| public class ConfigurationItemEntityConfiguration : IEntityTypeConfiguration<ConfigurationItemEntity> | ||
| { | ||
| public void Configure(EntityTypeBuilder<ConfigurationItemEntity> builder) | ||
| { | ||
| builder.Property(x => x.Price).HasColumnType("decimal").HasPrecision(18, 4); | ||
| builder.Property(x => x.SalePrice).HasColumnType("decimal").HasPrecision(18, 4); | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.