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

[1.x] fix: Return price as offer's Price instead of spotPrice #2603

Draft
wants to merge 1 commit into
base: 1.x
Choose a base branch
from

Conversation

lucasfp13
Copy link
Contributor

What's the purpose of this pull request?

This PR intends to fix the price we send to the store.

How it works?

Currently we send the price as offer.spotPrice, but that's wrong. We should follow the Intelligent Search use of prices:

  • "From $100 (listPrice) to $90 (sellingPrice/price), also $80 (spotPrice) in special condition"

How to test it?

Check for prices when unit multiplier is greater than 1, but also if the prices are shown correctly on PLPs and PDPs.

Starters Deploy Preview

References

@lucasfp13 lucasfp13 added the bug Something isn't working label Dec 19, 2024
@lucasfp13 lucasfp13 self-assigned this Dec 19, 2024
Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
faststore-site ❌ Failed (Inspect) Dec 19, 2024 5:52pm

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant