Oliver Windall Juhl
|
3308766389
|
chore(feature-flags): Sales Channels enabled by default (#2966)
|
2023-01-10 16:45:23 +00:00 |
|
Zakaria El Asri
|
f0be31120f
|
refactor(medusa): Migrate ProductService to TS (#1625)
* refactor: product service
* fix: type errors in consumers
* fix: use Status enum instead of ProductStatus
* fix: remove ProductStatus
* fix: rename ProductStatus
* fix: product model nullable fields
* fix: explicit typecasting in listVariants
* fix: use atomicPhase in public methods
* fix: use transactionManager in protected methods
* fix: remove disable eslint rule comment
* fix: retrieveVariants relations
* fix: retrieveVariants
* fix: FilterableProductProps validation
* fix: nullable thumbnail
* fix: tests by making model column types more explicit
* move upsert method to repo layer
* fix: unit tests
* fix: integration tests
* fix: product tags query + integration test
* fix: rename FindWithRelationsOptions to FindWithoutRelationsOptions
* fix (productRepository): use string[] for relations
* refactor: extract price relation filtering logic into util
* fix: failing unit test
* rename DTO suffix to Input suffix
* fix: missing awaits
* fix: check for images and tags length
* fix: remove unneeded function
* extract types used in product service to types folder
* fix: use text instead of varchar
* remove: reorderOptions from ProductService
* fix: product model
* fix: add private retrieve method
* fix: conflicts
* fix: failing unit test
* fix: integration test
* fix: remove ProductSelector type
* fix: remove validateId
* fix: use spread operator
* fix: repo method typings
* fix: remove comment
|
2022-06-20 10:50:46 +01:00 |
|
Kasper Fabricius Kristensen
|
46d9e6c44c
|
fix(medusa): add q param to listAndCount product types and product tags (#1531)
|
2022-05-18 11:31:02 +02:00 |
|
Philip Korsholm
|
e2423020c0
|
Feat: use price selection strategy (#1165)
* init
* add query params
* added buld id validation to repo
* admin done
* updated price reqs
* initial price selection strategy
* update customer seeder
* format models
* price selection strategy
* price selection testing
* update price selection tests
* update price selection strategy
* remove console.warn
* update price seleciton strategy
* use price selection strategy in "get-product"
* price selection strategy integration testing
* update integration tests
* update price selection strat
* remove console.log
* fix unit tests
* update product snapshot integration tests
* fix failing unit tests
* update variant test snapshots
* update variant test snapshots
* fix failing unit tests
* update product snapshot integration tests
* intial implementation of PriceList
* add price selection strategy test to list-products
* add price selection to list products
* add price selection strategy to getRegionPrice
* add price selection strategy to get variant
* update product snapshot test
* store testing of price selection
* variant services
* update cart service
* update product tests
* update test
* unit testing with price selection strategy
* integration tests for price lists
* update sort prices for consistent results
* update snapshot
* update product snapshot with product ids
* this time pipelines work
* swap tests
* redo ordering
* updated admin/product integration tests
* update updateVariantPrices method
* remove comment from error handler
* add integration test for batch deleting prices associated with price list
* named ids
* run with verbose
* add console.log
* sort products in integration test
* remove verbose flag
* make update to prices through variant service limited to default prices
* update store/products.js snapshot
* update comment
* add todo
* lift existing price calculations to variant level
* remove unused import
* add api unit tests and update product integration tests to validate that prices from Price List are ignored
* fix product test
* update integration tests
* pre merge commit
* requested changes
* cascade
* ensure delete variant cascades to MoneyAmount
* fetch variants correctly
* use find options
* add pricelist to relevant seeders
* update integration tests
* update price selection with "includeDiscountPrices"
* use transaction with price selection strategy
* add await to prevent store test errors
* remove verbose
* addresses PR feedback
* removed unused endpoint
* remove unused repository from constructor
* remove from constructor argument
* update mock
* update unit tests
* fix failing store integration tests
* remove medusajs ressource
* re add env.template
* price selection strategy methods
* fix integration tests
* update unit tests
* remove commented out code
* update jsdoc
* update price selection strategy parameter
* update snapshots
* integration tests cleanup
* pr feedback
* update integration tests
* pr feedback
* price selection unit tests
* add calculated price type to results
* cleanup include discount prices and price selection configs
* refactor price selection params to a separate file
* update tests and refactor price selection seeder
* remove prices from variant update
* rename result
* pr feedback
* remove unused import
* create getRegionPriceContext
* remove from params in search
* remove unused import
Co-authored-by: Kasper <kasper@medusajs.com>
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
|
2022-03-23 17:17:19 +01:00 |
|
Zakaria El Asri
|
cb7b211c9b
|
fix: variant price update (#1093)
* fix: variant prices update + integration tests
* add: unit tests
* fix: rename variable
* add: integration tests
* fix: integration tests
* fix: test name
* fix: move db logic to repo layer + create upsert method
* fix: linting
|
2022-02-22 20:23:11 +01:00 |
|
Oliver Windall Juhl
|
1e50aee4fe
|
feat: Allow retrieval of soft-deleted products (#723)
|
2021-11-10 22:23:56 +01:00 |
|
pKorsholm
|
5ef2a3fbcb
|
feat: Product filtering (#439)
|
2021-10-13 16:01:59 +02:00 |
|
Vilfred Sikker Dreijer
|
682741041a
|
Feat: add product default relations support for variant prices (#359)
Co-authored-by: olivermrbl <oliver@mrbltech.com>
|
2021-09-10 14:53:12 +02:00 |
|
pKorsholm
|
ecad9db924
|
product-list snapshot test
|
2021-09-08 14:12:27 +02:00 |
|
pKorsholm
|
ddffd45071
|
removed unused imports
|
2021-09-06 13:38:22 +02:00 |
|
pKorsholm
|
0c47c78c08
|
change variant column 'rank' to 'variant_rank'
|
2021-09-06 13:29:24 +02:00 |
|
olivermrbl
|
8fdfc87049
|
integration tests passing
|
2021-09-05 21:34:13 +02:00 |
|
pKorsholm
|
9e62746e43
|
integration tests
|
2021-09-03 17:15:33 +02:00 |
|
Oliver Windall Juhl
|
6358f8fc75
|
fix(medusa): Resolve issue with soft-delete and unique indexes in DB (#296)
|
2021-07-01 14:59:44 +02:00 |
|
Oliver Windall Juhl
|
a031f1f338
|
fix(medusa): Upsert product images (#200)
|
2021-03-12 10:09:01 +01:00 |
|
Oliver Windall Juhl
|
c4d1203155
|
feat(medusa): Product category, type and tags
|
2021-02-12 08:42:19 +01:00 |
|