Skip to content

fix: prevent checkout button display in basket#4289

Open
Chadys wants to merge 1 commit intodjango-oscar:masterfrom
Chadys:fix_basket_button_display
Open

fix: prevent checkout button display in basket#4289
Chadys wants to merge 1 commit intodjango-oscar:masterfrom
Chadys:fix_basket_button_display

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

@codecov
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 163 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 with missing lines 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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

@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