Changes to allow for Showing Customer Segment Pricing in Browse#474
Open
kibo-thomasphipps wants to merge 3 commits intodevelopfrom
Open
Changes to allow for Showing Customer Segment Pricing in Browse#474kibo-thomasphipps wants to merge 3 commits intodevelopfrom
kibo-thomasphipps wants to merge 3 commits intodevelopfrom
Conversation
Fix for product model when quantity changes to update the price. Update product collection page to pass customer segments. Add customerSegments to collection members page. Add customer segments to product page and pass to api call for configure Update configure calls in models-product.js to support customer segments
f114657 to
099a89a
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Display Customer Segment Pricing on Category Browse Pages
Overview
This PR introduces changes to the Kibo Storefront Theme to allow customer segment-based pricing to be displayed during product browsing. Previously, such pricing was only visible in the cart and checkout flows. This enhancement ensures a more consistent pricing experience for customers throughout the shopping journey.
Changes
Theme Setting Addition
// theme.json
A new theme setting
customerSegmentSpecificPricinghas been added to enable or disable this feature:Enhanced Partial Caching Key
Updated the partial cache key in
category-interior.hyprto include customer segments, ensuring pricing is cached appropriately per customer segment:Updated Include Products Call
The
include_productscall now passes the customer's segments to support correct pricing retrieval:Result
With these updates: