[FIX] website_sale_aplicoop: home delivery unchecked by default
The checkout home-delivery checkbox had a fixed checked="checked" attribute, so it always rendered checked even when the delivery product was not in the cart. Remove it and let checkDeliveryInCart() mark it only when the delivery product is actually present. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
98fe8676ea
commit
647438e012
1 changed files with 1 additions and 1 deletions
|
|
@ -524,7 +524,7 @@
|
|||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-body">
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input" id="home-delivery-checkbox" name="home_delivery" checked="checked" />
|
||||
<input type="checkbox" class="form-check-input" id="home-delivery-checkbox" name="home_delivery" />
|
||||
<label class="form-check-label fw-bold" for="home-delivery-checkbox">Home Delivery</label>
|
||||
</div>
|
||||
<div id="delivery-info-alert" class="alert alert-info mt-3 d-none">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue