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

fix: prevent checkout button display in basket #4289

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

Conversation

Chadys
Copy link
Contributor

@Chadys Chadys commented Apr 23, 2024

Some actions make the basket notification message display the "Checkout now" while we are on the basket page. This is a fix

Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.27%. Comparing base (204b9a7) to head (a33ee6c).
Report is 32 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4289      +/-   ##
==========================================
- Coverage   88.28%   88.27%   -0.01%     
==========================================
  Files         293      293              
  Lines       16046    15911     -135     
==========================================
- Hits        14166    14046     -120     
+ Misses       1880     1865      -15     
Files Coverage Δ
src/oscar/apps/basket/utils.py 96.03% <100.00%> (-0.04%) ⬇️
src/oscar/apps/basket/views.py 92.01% <100.00%> (-0.03%) ⬇️

... and 184 files with indirect coverage changes

@Chadys Chadys force-pushed the fix_basket_button_display branch from 8140884 to a33ee6c Compare April 23, 2024 16:53
Copy link
Contributor

@samar-hassan samar-hassan left a comment

Choose a reason for hiding this comment

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

Thanks for all your contributions @Chadys. Please see if you can outline the steps to reproduce it. I tested this and found out include_buttons should be set to False in basket.views.SavedView. Kindly add it there as well.

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