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

Update main-cart-items.liquid #3081

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cmarc-novatize
Copy link

Cart price not showing original price only final price.

PR Summary:

The product's original price was not showing by default.

Why are these changes introduced?

Fixes #0.

What approach did you take?

Since we can use the product object in the item object, I chose to use the product object to get the compare_at_price and the price of the product.

Other considerations

Decision log

# Decision Alternatives Rationale Downsides
1

Visual impact on existing themes

The merchants will be able to see the original price avec the final price of an item in the cart page.

Testing steps/scenarios

  • Step 1: add a product on sale to the cart.

Demo links

Checklist

Cart price not showing original price only final price.
@tyleralsbury
Copy link
Contributor

Thanks for this!

@melissaperreault Do you think this is something we would want to include? It might be confusing since it would be similar to how we show discounts.

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.

2 participants