Skip to content
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

Service Points feature overview #2378

Merged
merged 20 commits into from
Jan 3, 2024
Merged

Conversation

andriispryker
Copy link
Contributor

@andriispryker andriispryker commented Dec 6, 2023

Updated documentation to include recommended customizations in order to use the feature in production.

PR Description

TBD

Checklist

  • I agree with the Code Contribution License Agreement in CONTRIBUTING.md

Updated documentation to include recommended customizations in order to use the feature in production.
Added constraints and explanation how replacement strategy works
Added example of a strategy execution
Added missing instruction on product offer to services assignment import
@andriitserkovnyi andriitserkovnyi self-assigned this Dec 8, 2023
Since we do not yet support a product catalog or a product details page, the following project-level customizations are recommended on the Product Details Page:

* First, you need to implement the Default Product Offer Reference Strategy if you want a specific offer to be prioritized at the first position. Refer to the [Install the Marketplace Product Offer features](https://docs.spryker.com/docs/pbc/all/offer-management/202307.0/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-feature.html#set-up-behavior) development documentation for more details. Ensure that only product offers are displayed on prodcut details page.
* Second, you need to filter the list of product offers displayed on the Product Details page by overriding the Merchant Product Offer Widget behavior. This filter should display product offers with an empty service and shipment type set to _empty_ or _Delivery_. In this case, customers will always be able to buy a product with the default shipment option and, if desired, choose Pickup during checkout." Refer to the [](https://docs.spryker.com/docs/pbc/all/offer-management/202307.0/marketplace/render-merchant-product-offers-on-the-storefront.html#prerequisites).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What information are we referring to in the linked doc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of it, developer just need to figure it out based on the doc that explains how widget works, we did not develop a step by step guide nor sample code for this one.


* First, you need to implement the Default Product Offer Reference Strategy if you want a specific offer to be prioritized at the first position. Refer to the [Install the Marketplace Product Offer features](https://docs.spryker.com/docs/pbc/all/offer-management/202307.0/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-feature.html#set-up-behavior) development documentation for more details. Ensure that only product offers are displayed on prodcut details page.
* Second, you need to filter the list of product offers displayed on the Product Details page by overriding the Merchant Product Offer Widget behavior. This filter should display product offers with an empty service and shipment type set to _empty_ or _Delivery_. In this case, customers will always be able to buy a product with the default shipment option and, if desired, choose Pickup during checkout." Refer to the [](https://docs.spryker.com/docs/pbc/all/offer-management/202307.0/marketplace/render-merchant-product-offers-on-the-storefront.html#prerequisites).
* Add information about product availability in the service point locations by using Service Point Widget. Refer to [Install the Service Points feature](https://docs.spryker.com/docs/pbc/all/service-point-management/202311.0/unified-commerce/install-features/install-the-service-points-feature.html) development documentation for more details.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Install the Service Points feature, the installation of the widget is not optional. So why are we referring to this as a customization when it comes as part of the feautre?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The widget OOTB displayed only on checkout, but on PDP you need to add some code to call for it, this is just a suggested / recommended way to build an end-to-end UX. We could not do it OOTB cos we keep vanilla code base clean from specific implementations. Customer can choose to go with more sofisticated approuch if they want to. We just saying this is a easiest one with almost no effrots, other UX require more changes on the project level.

Copy link
Contributor Author

@andriispryker andriispryker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@andriitserkovnyi andriitserkovnyi added the updated PR contains meaningful changes to some document label Jan 3, 2024
@andriitserkovnyi andriitserkovnyi merged commit af1d8bb into master Jan 3, 2024
12 of 13 checks passed
@andriitserkovnyi andriitserkovnyi deleted the Click-and-Collect-updates branch January 3, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
updated PR contains meaningful changes to some document
Development

Successfully merging this pull request may close these issues.

2 participants