diff options
author | Anatasof Wirapraja <anata@darapsa.co.id> | 2021-07-05 13:13:07 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anata@darapsa.co.id> | 2021-07-05 13:13:31 +0700 |
commit | 45cd279326889a0426edae94e05158ac1e83df2c (patch) | |
tree | 7cbd1aed0391a23084079eac4ce51bddada19ef7 /pages | |
parent | 74a7c5c1f88fe4e2c178cb6a79fd95a1716d6182 (diff) |
fixed wrong function (was adding quantity instead of removing item)
Diffstat (limited to 'pages')
-rw-r--r-- | pages/ord/basket.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/ord/basket.html b/pages/ord/basket.html index 4924a86..2bcf660 100644 --- a/pages/ord/basket.html +++ b/pages/ord/basket.html @@ -83,7 +83,7 @@ <div class="container pb-4"> <div class="card p-4"> <div class="row d-flex align-items-center text-left text-md-center"> - <div class="col-12 col-md-5"><a class="mt-3 d-md-none" href="#" onclick="document.getElementById('[item-quantity-name]').value++; document.getElementById('form').submit()"><span class="material-icons-outlined">close</span></a> + <div class="col-12 col-md-5"><a class="mt-3 d-md-none" href="#" onclick="document.getElementById('[item-quantity-name]').value = 0; document.getElementById('form').submit()"><span class="material-icons-outlined">close</span></a> <div class="d-flex align-items-center"><a href="[area href="[item-sku]"]">[image src="[item-field image]" imagesubdir=items makesize="80x80" extra='class="cart-item-img" alt=""']</a> <div class="text-left"><a href="[area href="[item-sku]"]"><strong>[item-description]</strong></a><br><span class="text-muted text-sm">Size: Large</span><br><span class="text-muted text-sm">Colour: Green</span> </div> |