Fix cart dropdown footer JS: match wishlist style on all pages
This commit is contained in:
@@ -276,14 +276,7 @@
|
|||||||
'<a href="/shop" class="btn-outline">Continue Shopping</a>';
|
'<a href="/shop" class="btn-outline">Continue Shopping</a>';
|
||||||
} else {
|
} else {
|
||||||
footer.innerHTML = `
|
footer.innerHTML = `
|
||||||
<div class="cart-total">
|
<a href="/shop" class="btn-outline">Continue Shopping</a>
|
||||||
<span>Total:</span>
|
|
||||||
<strong>${window.Utils.formatCurrency(total)}</strong>
|
|
||||||
</div>
|
|
||||||
<a href="/shop" class="btn-text">Continue Shopping</a>
|
|
||||||
<button class="btn-primary-full" onclick="alert('Checkout coming soon!')">
|
|
||||||
Proceed to Checkout
|
|
||||||
</button>
|
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -476,14 +476,7 @@
|
|||||||
'<a href="/shop" class="btn-outline">Continue Shopping</a>';
|
'<a href="/shop" class="btn-outline">Continue Shopping</a>';
|
||||||
} else {
|
} else {
|
||||||
footer.innerHTML = `
|
footer.innerHTML = `
|
||||||
<div class="cart-total">
|
<a href="/shop" class="btn-outline">Continue Shopping</a>
|
||||||
<span>Total:</span>
|
|
||||||
<strong>${window.Utils.formatCurrency(total)}</strong>
|
|
||||||
</div>
|
|
||||||
<a href="/shop" class="btn-text">Continue Shopping</a>
|
|
||||||
<button class="btn-primary-full" onclick="alert('Checkout coming soon!')">
|
|
||||||
Proceed to Checkout
|
|
||||||
</button>
|
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user