Commit Graph

1163 Commits

Author SHA1 Message Date
Sebastian Rindom
04dde7ca62 Merge remote-tracking branch 'origin/develop' into release/next 2021-09-12 11:30:15 +02:00
Sebastian Rindom
0812acaf0d fix: adds transform medusa ids (#385) 2021-09-12 11:29:57 +02:00
Sebastian Rindom
60d6e44163 fix: add microbundle 2021-09-10 16:09:18 +02:00
Oliver Windall Juhl
27150959ff fix: Ensure uniqueness for products, variants, collections and discounts (#382) 2021-09-10 16:03:44 +02:00
Sebastian Rindom
ec6d16e945 feat: adds create-medusa-app (#377)
* feat: copied from medusa-cli

* chore: gitignore

* fix: add admin + storefront

* fix: dev experience enhancement
2021-09-10 16:02:54 +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
Sebastian Mateos Nicolajsen
cf66f97758 feat: update and cancel swaps, claims, and returns (#310) 2021-09-10 13:57:34 +02:00
pKorsholm
fab155c246 Merge pull request #373 from medusajs/feat/product-variant-rank
Feat: Add product variant rank
2021-09-09 09:58:27 +02:00
Sebastian Mateos Nicolajsen
234be4e307 Feat/update discount on draft order (#349)
* only looked for rules when existing

* removed logging
2021-09-09 09:40:41 +02:00
Sebastian Rindom
da329359a9 Merge remote-tracking branch 'origin/master' into develop 2021-09-09 09:28:56 +02:00
pKorsholm
84e2081955 added missing brackets to control structures 2021-09-09 09:26:49 +02:00
pKorsholm
1331a7d4ce rename migraiton 2021-09-09 09:23:38 +02:00
Kasper Fabricius Kristensen
16b0fa377a fix: make shipping_option_id on requirements optional (#340)
* changed validator so that reqiurement shipping_option_id is now optional + added integration test that confirms that when an update contains a requirement without an ID it is created

* fix: formatting

* fix: un-bump babel-preset-medusa-package

* chore: update yarn.lock

* fix: implemented suggested changes, need to validate behaviour on clean branch so NOT ready for merging just yet

* fix: implemented suggested changes, need to validate behaviour on clean branch so NOT ready for merging just yet

* afix: made it impossible to set a min. subtotal requirement that is greater than max. subtotal

* fix: added explanation to error

* fix: Error when removing requirement on update

Co-authored-by: olivermrbl <oliver@mrbltech.com>
2021-09-09 09:03:00 +02:00
pKorsholm
976b57f944 adjusted product tests after removing sorting and public variant ranks 2021-09-08 15:19:46 +02:00
pKorsholm
8e6bd6c97e nullable variant_rank with defaulvalue of 0 excluded from select queries in database 2021-09-08 15:07:22 +02:00
pKorsholm
f5ee870854 product variant test adjustsments after variant was removed from the api 2021-09-08 15:04:03 +02:00
pKorsholm
6bd0d4458c moved variant sorting from service to the repository 2021-09-08 14:14:28 +02:00
pKorsholm
ecad9db924 product-list snapshot test 2021-09-08 14:12:27 +02:00
Sebastian Rindom
da40c240d1 Update README.md 2021-09-08 08:10:43 +02:00
Vadim Smirnov
2030ab6d35 change target branch (#375) 2021-09-07 17:24:35 +02:00
Kasper Fabricius Kristensen
56a1d99a07 fix: the topbar was positioned above the mobile docsearch search input. This fixes the z-index order of components (#371) 2021-09-07 16:59:53 +02:00
Vadim Smirnov
16c381f6b6 fix Discord link (#372) 2021-09-07 16:50:16 +02:00
Sebastian Mateos Nicolajsen
0076332e0e Fix/create customer in draft order (#285)
* draft order now creates customer when creating cart

* corrected to update instead of create

* corrected tests

* added creation of customer to create of cart

* removed update function from mock

* added test

* corrected update to update email properly

* corrected tests

* removed unused func

* updated core properly

* removed manual-payment service
2021-09-07 11:15:43 +02:00
pKorsholm
5d9d34edf4 Create variant appends variant in rankings 2021-09-06 14:20:00 +02:00
pKorsholm
ddffd45071 removed unused imports 2021-09-06 13:38:22 +02:00
pKorsholm
3992fc15a0 Merge pull request #367 from medusajs/docs/remove-spelling-errors
Docs: fix spelling errors in "2-adding custom functionality"
2021-09-06 13:31:50 +02:00
pKorsholm
0c47c78c08 change variant column 'rank' to 'variant_rank' 2021-09-06 13:29:24 +02:00
Kasper Fabricius Kristensen
4602cfc083 fix: docsearch link behaviour on navigate (#368) 2021-09-06 09:29:58 +02:00
olivermrbl
1a87a463b4 adds money amount migration 2021-09-05 21:39:00 +02:00
olivermrbl
8fdfc87049 integration tests passing 2021-09-05 21:34:13 +02:00
pKorsholm
13d539b882 add rank enforcement at product variant level 2021-09-03 17:24:06 +02:00
pKorsholm
73a4746500 add cascading deletes to product variant 2021-09-03 17:20:11 +02:00
pKorsholm
3ae6bdb7fc add ranking of variants to product creation implementation 2021-09-03 17:18:20 +02:00
pKorsholm
32880dbed3 add ranking of variants to product creation 2021-09-03 17:17:43 +02:00
pKorsholm
9e62746e43 integration tests 2021-09-03 17:15:33 +02:00
olivermrbl
692bca8a22 chore(release): Publish
- medusa-payment-manual@1.0.4
 - medusa-plugin-brightpearl@1.1.30
 - medusa-plugin-restock-notification@0.0.18
 - medusa-plugin-wishlist@1.1.25
 - @medusajs/medusa@1.1.40
2021-09-02 17:53:22 +02:00
Oliver Windall Juhl
e2897e2a62 hotfix: Adds options to cloned RestockNotificationService (#369) 2021-09-02 17:49:02 +02:00
pKorsholm
f73841c384 add variant ranking on creation of a product 2021-09-02 11:42:02 +02:00
pKorsholm
1bf2b9c2ac Test if productservice.update updates rankings of variants 2021-09-02 09:53:58 +02:00
pKorsholm
7681e6a641 add rank updates to productservice.update 2021-09-02 09:53:07 +02:00
pKorsholm
99b6a94146 add rank field to product variant 2021-09-02 09:51:53 +02:00
pKorsholm
93715e2c80 fix spelling errors 2021-09-01 14:35:03 +02:00
Kasper Fabricius Kristensen
d652b512c3 fix: docusaurus link behaviour (#363) 2021-09-01 08:54:20 +02:00
olivermrbl
798dd3c666 Merge branch 'release/next' 2021-08-31 16:18:35 +02:00
olivermrbl
65e97c2c53 chore(release): Publish
- medusa-payment-manual@1.0.3
 - medusa-plugin-brightpearl@1.1.29
 - medusa-plugin-restock-notification@0.0.17
 - medusa-plugin-wishlist@1.1.24
 - @medusajs/medusa@1.1.39
2021-08-31 16:17:33 +02:00
olivermrbl
d5556176f4 Merge branch 'develop' of https://github.com/medusajs/medusa into develop 2021-08-31 15:11:24 +02:00
Vilfred Sikker Dreijer
639e8cff14 Add inventory options to restock notification (#364)
* add options inventory required precedence on condition check

* merge develop

* checkout medusa packages

* remove medusa-interfaces from dependencies

* run yarn after removing dependencies
2021-08-31 15:10:57 +02:00
Kasper Fabricius Kristensen
cdf9c972c9 fix: formatting of links from production environment (#358) 2021-08-30 14:20:09 +02:00
olivermrbl
704908f29b chore: wishlish plugin lockfile 2021-08-30 12:23:24 +02:00
Sebastian Rindom
ae82cfc70a feat: creates support for swaps on the storefront (#355) 2021-08-30 12:14:56 +02:00