-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2193 from spryker/feature/cc-29686/dev-common-ent…
…ry-point-po-sp-availability Install the Product Offer Service Points Availability feature
- Loading branch information
Showing
7 changed files
with
415 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
286 changes: 237 additions & 49 deletions
286
...tures/202311.0/install-the-product-offer-service-points-availability-feature.md
Large diffs are not rendered by default.
Oops, something went wrong.
75 changes: 75 additions & 0 deletions
75
...311.0/install-the-shipment-product-offer-service-points-availability-feature.md
This file contains 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,75 @@ | ||
|
||
|
||
This document describes how to install the Shipment Product Offer Service Points Availability feature. | ||
|
||
## Prerequisites | ||
|
||
Install the required features: | ||
|
||
| NAME | VERSION | INSTALLATION GUIDE | | ||
|-------------------------------------------|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Product Offer Service Points Availability | {{page.version}} | [Install the Product Offer Service Points Availability feature](/docs/pbc/all/service-points/{{page.version}}/unified-commerce/install-and-upgrade/install-the-product-offer-service-points-availability-feature.html) | | ||
| Shipment | {{page.version}} | [Shipment feature integration](/docs/pbc/all/carrier-management/{{page.version}}/base-shop/install-and-upgrade/install-features/install-the-shipment-feature.html) | | ||
|
||
## 1) Install the required modules | ||
|
||
Install the required modules using Composer: | ||
|
||
```bash | ||
composer require spryker-feature/shipment-product-offer-service-points-availability: "{{page.version}}" --update-with-dependencies | ||
``` | ||
|
||
{% info_block warningBox "Verification" %} | ||
|
||
Make sure the following modules have been installed: | ||
|
||
| MODULE | EXPECTED DIRECTORY | | ||
|-----------------------------------------------------------|----------------------------------------------------------------------------------| | ||
| ShipmentTypeProductOfferServicePointAvailabilitiesRestApi | vendor/spryker/shipment-type-product-offer-service-point-availabilities-rest-api | | ||
|
||
{% endinfo_block %} | ||
|
||
|
||
## 2) Set up transfer objects | ||
|
||
Generate transfer changes: | ||
|
||
```bash | ||
console transfer:generate | ||
``` | ||
|
||
{% info_block warningBox "Verification" %} | ||
|
||
* Make sure the following changes have been applied in transfer objects: | ||
|
||
| TRANSFER | TYPE | EVENT | PATH | | ||
|-------------------------------------------------------------|-------|---------|---------------------------------------------------------------------------------------------------| | ||
| RestProductOfferServicePointAvailabilitiesRequestAttributes | class | created | src/Generated/Shared/Transfer/RestProductOfferServicePointAvailabilitiesRequestAttributesTransfer | | ||
| ProductOfferServicePointAvailabilityConditions | class | created | src/Generated/Shared/Transfer/ProductOfferServicePointAvailabilityConditionsTransfer | | ||
|
||
* Make sure you can use the `shipmentTypeUuid` filter when sending requests to the `product-offer-service-point-availabilities` resource. Example: | ||
|
||
`POST https://glue.mysprykershop.com/product-offer-service-point-availabilities` | ||
```json | ||
{ | ||
"data": { | ||
"type": "product-offer-service-point-availabilities", | ||
"attributes": { | ||
"servicePointUuids": [ | ||
"{{service-point-uuid}}" | ||
], | ||
"serviceTypeUuid": "{{service-type-uuid}}", | ||
"productOfferServicePointAvailabilityRequestItems": [ | ||
{ | ||
"productConcreteSku": "{{product-concrete-sku}}", | ||
"productOfferReference": "{{product-offer-reference}}", | ||
"quantity": 1 | ||
} | ||
], | ||
"shipmentTypeUuid": "{{shipment-type-uuid}}" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
{% endinfo_block %} |
77 changes: 77 additions & 0 deletions
77
...l-the-marketplace-merchant-product-offer-service-points-availability-feature.md
This file contains 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,77 @@ | ||
|
||
|
||
This document describes how to install the Marketplace Merchant + Product Offer Service Points Availability. | ||
|
||
## Prerequisites | ||
|
||
Install the required features: | ||
|
||
| NAME | VERSION | INSTALLATION GUIDE | | ||
|-------------------------------------------|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Product Offer Service Points Availability | {{page.version}} | [Install the Product Offer Service Points Availability feature](/docs/pbc/all/service-points/{{page.version}}/unified-commerce/install-and-upgrade/install-the-product-offer-service-points-availability-feature.html) | | ||
| Merchant | {{page.version}} | [Merchant feature integration](/docs/pbc/all/merchant-management/{{page.version}}/marketplace/install-and-upgrade/install-features/install-the-marketplace-merchant-feature.html) | | ||
|
||
## 1) Install the required modules | ||
|
||
Install the required modules using Composer: | ||
|
||
```bash | ||
composer require spryker-feature/marketplace-merchant-product-offer-service-points-availability: "{{page.version}}" --update-with-dependencies | ||
``` | ||
|
||
{% info_block warningBox "Verification" %} | ||
|
||
Make sure the following modules have been installed: | ||
|
||
| MODULE | EXPECTED DIRECTORY | | ||
|-------------------------------------------------------|------------------------------------------------------------------------------| | ||
| MerchantProductOfferServicePointAvailability | vendor/spryker/merchant-product-offer-service-point-availability | | ||
| MerchantProductOfferServicePointAvailabilitiesRestApi | vendor/spryker/merchant-product-offer-service-point-availabilities-rest-api | | ||
| MerchantProductOfferServicePointAvailabilityWidget | vendor/spryker-shop/merchant-product-offer-service-point-availability-widget | | ||
|
||
{% endinfo_block %} | ||
|
||
## 2) Set up transfer objects | ||
|
||
Generate transfer changes: | ||
|
||
```bash | ||
console transfer:generate | ||
``` | ||
|
||
{% info_block warningBox "Verification" %} | ||
|
||
* Make sure the following changes have been applied in transfer objects: | ||
|
||
| TRANSFER | TYPE | EVENT | PATH | | ||
|----------------------------------------------------------------|-------|---------|------------------------------------------------------------------------------------------------------| | ||
| ProductOfferServicePointAvailabilityRequestItem | class | created | src/Generated/Shared/Transfer/ProductOfferServicePointAvailabilityRequestItemTransfer | | ||
| ProductOfferServicePointAvailabilityResponseItem | class | created | src/Generated/Shared/Transfer/ProductOfferServicePointAvailabilityResponseItemTransfer | | ||
| RestProductOfferServicePointAvailabilityRequestItemsAttributes | class | created | src/Generated/Shared/Transfer/RestProductOfferServicePointAvailabilityRequestItemsAttributesTransfer | | ||
|
||
* Make sure you can use the `merchantReference` filter when sending requests to the `product-offer-service-point-availabilities` resource. Example: | ||
|
||
`POST https://glue.mysprykershop.com/product-offer-service-point-availabilities` | ||
```json | ||
{ | ||
"data": { | ||
"type": "product-offer-service-point-availabilities", | ||
"attributes": { | ||
"servicePointUuids": [ | ||
"{{service-point-uuid}}" | ||
], | ||
"serviceTypeUuid": "{{service-type-uuid}}", | ||
"productOfferServicePointAvailabilityRequestItems": [ | ||
{ | ||
"productConcreteSku": "{{product-concrete-sku}}", | ||
"productOfferReference": "{{product-offer-reference}}", | ||
"quantity": 1, | ||
"merchantReference": "{{merchant-reference}}" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
``` | ||
|
||
{% endinfo_block %} |
8 changes: 8 additions & 0 deletions
8
...l-the-marketplace-merchant-product-offer-service-points-availability-feature.md
This file contains 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,8 @@ | ||
--- | ||
title: Install the Marketplace Merchant + Product Offer Service Points Availability feature | ||
description: Install the Marketplace Merchant + Product Offer Service Points Availability feature | ||
last_updated: Sep 21, 2023 | ||
template: feature-integration-guide-template | ||
--- | ||
|
||
{% include pbc/all/install-features/{{page.version}}/marketplace/install-the-marketplace-merchant-product-offer-service-points-availability-feature.md %} <!-- To edit, see /_includes/pbc/all/install-features/202311.0/marketplace/install-the-marketplace-merchant-product-offer-service-points-availability-feature.md --> |
2 changes: 1 addition & 1 deletion
2
...ll-and-upgrade/install-the-product-offer-service-points-availability-feature.md
This file contains 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
8 changes: 8 additions & 0 deletions
8
...grade/install-the-shipment-product-offer-service-points-availability-feature.md
This file contains 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,8 @@ | ||
--- | ||
title: Install the Shipment Product Offer Service Points Availability feature | ||
description: Learn how to integrate the Shipment Product Offer Service Points Availability feature feature into your project | ||
last_updated: Sep 21, 2023 | ||
template: feature-integration-guide-template | ||
--- | ||
|
||
{% include pbc/all/install-features/{{page.version}}/install-the-shipment-product-offer-service-points-availability-feature.md %} <!-- To edit, see /_includes/pbc/all/install-features/202400.0/install-the-shipment-product-offer-service-points-availability-feature.md --> |