Commit Graph

1863 Commits

Author SHA1 Message Date
Adrien de Peretti
edeac8ac72 feat(medusa): Add /admin/products/:id/variants end point (#1471)
* feat(medusa): Add /admin/products/:id/variants end point

* test(medusa): Fix get-variants test casees

* feat(medusa): Include the config to the ProdutService#retrieveVariants as a method parameter

* feat(medusa): Improve get-variants endpoint

* feat(medusa): Improve get-variants endpoint

* test(medusa): Fix unit tests

* test(medusa): Fix unit tests

* feat(medusa): Improve typings

* feat(medusa): Update according to feedback

* feat(medusa): Update according to feedback

* test(medusa): Fix list-variants tests

* feat(medusa): Getting the variants from the product end point should use the productVariantService

* fix(medusa): list-variants expand possibly undefined

* Fix(medusa): List-variants endpoint

* fix(medusa): Tests suite for list-variant

* test(integration-tests): Fix yarn lock

* test(integration-tests): Fix yarn lock
2022-05-16 12:19:34 +02:00
Frane Polić
79345d27ec fix(medusa-react): Invalidate price list product cache on various price list updates (#1503) 2022-05-16 11:28:28 +02:00
Adrien de Peretti
e31fe4af16 fix(medusa): CartService fix discounts empty array check on update (#1516)
* fix(medusa): CartService fix constraint check

* test(medusa): CartService test case, remove all discount if empty array is passed
2022-05-16 10:06:50 +02:00
Kasper Fabricius Kristensen
7605963ded fix(medusa): Use boolean on list shipping options params (#1493) 2022-05-16 10:05:48 +02:00
olivermrbl
4198ee7756 Merge branch 'master' into develop 2022-05-13 14:32:24 +02:00
Shahed Nasser
40d8d88cb9 Merge pull request #1506 from mkaychuks/patch-5
Update setting-up-a-nextjs-storefront-for-your-medusa-project.md
2022-05-13 15:25:18 +03:00
Shahed Nasser
659ab83b2a Merge pull request #1507 from mkaychuks/patch-6
Update create-medusa-app.md
2022-05-13 15:24:25 +03:00
Oliver Windall Juhl
9ca45ea492 feat(medusa): Add endpoints specific to DiscountConditions (#1355) 2022-05-13 12:42:23 +02:00
Achufusi Ifeanyichukwu
42f7b1e736 Update create-medusa-app.md
Capitalized some words and minor syntax changes.
2022-05-12 17:47:41 +01:00
Achufusi Ifeanyichukwu
66934db0db Update setting-up-a-nextjs-storefront-for-your-medusa-project.md
Made minor syntax and sentence changes, for your kind approval!!
2022-05-12 17:33:06 +01:00
Shahed Nasser
82b21b19e9 Merge pull request #1500 from mkaychuks/patch-2
A little punctuation here and there 😄
2022-05-12 13:53:04 +03:00
Shahed Nasser
681aff154a Merge pull request #1502 from mkaychuks/patch-4
minor punctuations
2022-05-12 13:14:17 +03:00
Philip Korsholm
a69b52e031 Feat: Filter price lists by customer group (#1431)
* add customer groups to price list factory

* add integration test for filtering price lists by customer group

* normalize list price list query

* add customer groups to list-price-list queryparameters

* query based on customergroups if they exist for price lists

* remove verbose flag

* add another price list with a customer group

* remove console.log

* pr feedback

* add query type to repository

* add query type to repository

* set groups to undefined instead of deleting parameter

* remove wildcard destructing

* make buildQuery type specific to price lists

* steal Adriens types

* fix(medusa): support searching for price lists (#1407)

* delete instead of settting groups to undefined

* add groups to query with q

* use simple customer group factory instead of manual creation

* Update simple-customer-group-factory.ts

* remove comma that breaks integration-tests

Co-authored-by: Zakaria El Asri <33696020+zakariaelas@users.noreply.github.com>
2022-05-12 04:22:46 +02:00
Adrien de Peretti
0b2a3a0f0e Merge pull request #1475 from medusajs/fix-cartServiceCreateLostShippingAddress 2022-05-11 22:02:24 +02:00
Achufusi Ifeanyichukwu
d8222885ec minor punctuations 2022-05-11 19:37:29 +01:00
Achufusi Ifeanyichukwu
59009c50b7 syntax changes (#1499) 2022-05-11 20:36:57 +02:00
Achufusi Ifeanyichukwu
db48111963 A little punctuation here and there 😄
Read through, capitalized the necessary Nouns and punctuated the page.
2022-05-11 19:00:05 +01:00
Shahed Nasser
0a72ab4935 Merge pull request #1492 from medusajs/docs/fix-payment-provider
Docs: replace fulfillment with payment were necessary
2022-05-11 13:15:34 +03:00
Shahed Nasser
e87cdbd3ad replace fulfillment with payment were necessary 2022-05-11 12:56:16 +03:00
Frane Polić
03c5617896 fix(medusa): allow price list prices update when region_id is provided (#1472) 2022-05-11 07:43:19 +02:00
Shahed Nasser
863d80396a docs: Migration and Upgrade Guides (#1487) 2022-05-10 18:00:54 +02:00
Adrien de Peretti
327614e126 feat(medusa-payment-stripe): Ability to add payment description and improve status resolution (#1404) 2022-05-10 17:34:41 +02:00
Shahed Nasser
5c51b724fe Revert "use relative link"
This reverts commit 162777364f.
2022-05-10 17:47:16 +03:00
Shahed Nasser
162777364f use relative link 2022-05-10 17:44:34 +03:00
adrien2p
1c5647f69e style(medusa): Cleanup some tests case naming 2022-05-10 16:28:10 +02:00
adrien2p
1c3c62e966 test(medusa): Fix integration 2022-05-10 14:15:08 +02:00
adrien2p
d9bc6b4c41 style(medusa): Remove unused dependencies 2022-05-10 14:15:08 +02:00
Adrien de Peretti
65186036b5 Merge branch 'develop' into fix-cartServiceCreateLostShippingAddress 2022-05-10 11:16:19 +02:00
adrien2p
9b5354502f test(medusa): Fix test pipelines 2022-05-10 11:09:52 +02:00
Adrien de Peretti
eae37d8449 Merge pull request #1344 from adrien2p/feat-improveNewBaseService
feat(medusa): Move BaseService to the core and refactor it as part of the new TransactionBaseService
2022-05-09 17:05:18 +02:00
Adrien de Peretti
90870292c6 fix(medusa): Remove line-item.js file (#1414) 2022-05-09 09:52:15 +02:00
Adrien de Peretti
c67d6bee30 fix(medusa): PluginLoaders when loading services should only look for js files (#1473) 2022-05-09 09:42:47 +02:00
Adrien de Peretti
525910f72a fix(medusa-file-spaces): Allow duplicate filenames (#1474) 2022-05-09 09:41:18 +02:00
Zakaria El Asri
f71b9b3a87 fix(medusa): support searching for price lists (#1407) 2022-05-08 18:45:18 +02:00
Kasper Fabricius Kristensen
e7cb76ab6e fix: Cascade remove prices + option values on variant and product delete (#1465) 2022-05-08 16:12:31 +02:00
Philip Korsholm
e2d08316dd fix: Use correct product price when fetching product for pricelist (#1416) 2022-05-08 13:03:29 +02:00
Shahed Nasser
98f5c4ec8b fix(medusa-js): Updated URLs for JS Client (#1435) 2022-05-06 14:54:04 +02:00
adrien2p
f5edaf51ea fix(medusa): Proper fix of the cart service 2022-05-06 10:31:02 +02:00
adrien2p
32a65d27fc test(medusa): Add a test to check that the shipping_address is not erase when an id is have been given 2022-05-05 15:28:33 +02:00
adrien2p
c442be47d4 fix(medusa): CartService lost shipping address when using the id 2022-05-05 15:07:00 +02:00
Shahed Nasser
6cfd007742 Merge pull request #1458 from shreedharhegde99/docs/send-grid
Docs: Heading "Order Cancelled" changed to "Order Canceled" .
2022-05-05 12:48:24 +03:00
Adrien de Peretti
3c75a65792 fix(medusa): MoneyAmountRepository#findManyForVariantInRegion sql statement for constraint related to price_list (#1462) 2022-05-05 07:56:34 +02:00
adrien2p
3ad91741b2 feat(medusa): Move some typings into the common types 2022-05-04 16:01:04 +02:00
Philip Korsholm
2260c2d09e fix(medusa-cli): allow spaces in develop command (#1430) 2022-05-04 08:44:37 +02:00
adrien2p
f7ef3aac36 feat(medusa): Rename base-service.spec to transaction-base-service.spec 2022-05-03 09:22:00 +02:00
adrien2p
978ee98dc3 refactor(medusa): Improve proposal in cartService use arguments to pass to the super 2022-05-02 18:08:03 +02:00
adrien2p
ff9ff21487 feat(medusa): Update TransactionBaseService methods visibility 2022-05-02 13:38:15 +02:00
olivermrbl
ae5801c518 chore(release): Publish
- gatsby-source-medusa@0.1.0
 - @medusajs/medusa-cli@1.3.0
 - medusa-file-s3@1.1.0
 - medusa-file-spaces@1.2.0
 - medusa-fulfillment-webshipper@1.3.0
 - medusa-interfaces@1.3.0
 - @medusajs/medusa-js@1.2.0
 - medusa-payment-klarna@1.3.0
 - medusa-payment-paypal@1.2.0
 - medusa-plugin-add-ons@1.2.0
 - medusa-plugin-algolia@0.2.0
 - medusa-plugin-brightpearl@1.3.0
 - medusa-plugin-contentful@1.2.0
 - medusa-plugin-ip-lookup@1.2.0
 - medusa-plugin-meilisearch@0.2.0
 - medusa-plugin-segment@1.3.0
 - medusa-plugin-sendgrid@1.3.0
 - medusa-plugin-slack-notification@1.3.0
 - medusa-plugin-twilio-sms@1.2.0
 - medusa-react@0.3.0
 - medusa-source-shopify@1.2.0
 - @medusajs/medusa@1.3.0
2022-05-01 15:16:35 +02:00
olivermrbl
d0675dc8b5 fix: merge conflicts 2022-05-01 14:58:28 +02:00
Shahed Nasser
56e79d334e fix(medusa-plugin-twilio-sms): fix name in README (#1457) 2022-05-01 11:56:41 +02:00