Skip to content

Commit 08d2742

Browse files
authored
Merge pull request #1215 from w3bdesign/dev
Temporary fix for add to cart bug
2 parents c181939 + 3606eaf commit 08d2742

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/Products/ProductsSingleProduct.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ const addProductToCart = async (product) => {
138138
139139
onDone(() => {
140140
isLoading.value = false;
141+
// Refresh the page
142+
window.location.reload();
141143
});
142144
143145
onError(() => {

0 commit comments

Comments
 (0)