Skip to content

fix(templates): prevent stale priceInUSD display when USD pricing is disabled (#16160) - #16191

Open
deepshekhardas wants to merge 1 commit into
payloadcms:mainfrom
deepshekhardas:fix/16160-ecommerce-stale-price
Open

deepshekhardas wants to merge 1 commit into
payloadcms:mainfrom
deepshekhardas:fix/16160-ecommerce-stale-price

Conversation

@deepshekhardas

Copy link
Copy Markdown

Fixes #16160 - Ecommerce template displays stale priceInUSD when USD pricing is disabled

Problem: When USD pricing is disabled, products still show stale USD prices

Solution: Added priceInUSDEnabled check to filter out disabled prices before rendering

@alibaddd

Copy link
Copy Markdown

Hey, this implementation matches the solution I shared in the issue description pretty much line-for-line: #16160. Would you mind adding a reference for attribution?

@denolfe denolfe added the v3 label Apr 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ecommerce template displays stale priceInUSD when USD pricing is disabled

3 participants