Skip to content

Commit

Permalink
fix: STRF-11899 Update cart when multiple coupons are removed (#1197)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntario authored Apr 16, 2024
1 parent cc2bc83 commit 13a31ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/plugins/renderer/renderer.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ internals.getResponse = async (request) => {
responseArgs,
);
}
if (request.method !== 'get') {
if (request.method !== 'get' || request.path === '/cart.php') {
// clear when making a non-get request because smth may be changed
cache.clear();
}
Expand Down

0 comments on commit 13a31ba

Please sign in to comment.