Fixed bundlle product radio/checkbox issue
This commit is contained in:
parent
24c09e709e
commit
113e4220ae
File diff suppressed because one or more lines are too long
|
|
@ -4,7 +4,7 @@
|
|||
"/js/velocity.js": "/js/velocity.js?id=8b1069b19dbc71593cfd0e5832b857fb",
|
||||
"/js/manifest.js": "/js/manifest.js?id=e069a8f952a02ea0f290bcca8fab930e",
|
||||
"/js/components.js": "/js/components.js?id=c9a9f1dc745e01355f3fded83be9e865",
|
||||
"/css/velocity.css": "/css/velocity.css?id=05bcc08c11faa35f29a622bf85470e37",
|
||||
"/css/velocity.css": "/css/velocity.css?id=abfb1c697c0633e29092c99bc73f32cd",
|
||||
"/css/velocity-admin.css": "/css/velocity-admin.css?id=b67a82956e53163b5e3ff45a44f9778f",
|
||||
"/images/controls.svg": "/images/controls.svg?id=5a8389845cb675c7e1e483c3acc3d7b1",
|
||||
"/images/icon-calendar.svg": "/images/icon-calendar.svg?id=870d0f733a58377422766f3152e15486",
|
||||
|
|
|
|||
|
|
@ -176,14 +176,14 @@
|
|||
|
||||
.price-from {
|
||||
.bundle-regular-price {
|
||||
font-size: 20px !important;
|
||||
font-size: 18px !important;
|
||||
font-weight: 500;
|
||||
margin-right: 10px;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.bundle-special-price {
|
||||
font-size: 18px !important;
|
||||
font-size: 30px !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
<quantity-changer quantity-text="{{ __('shop::app.products.quantity') }}"></quantity-changer>
|
||||
|
||||
<div class="control-group mt10 mb20">
|
||||
<label>{{ __('shop::app.products.total-amount') }}</label>
|
||||
<label class="mb10">{{ __('shop::app.products.total-amount') }}</label>
|
||||
|
||||
<div class="bundle-price no-margin">
|
||||
@{{ formatted_total_price | currency(currency_options) }}
|
||||
|
|
@ -88,13 +88,14 @@
|
|||
<span class="radio" v-for="(product, index2) in option.products">
|
||||
<input
|
||||
type="radio"
|
||||
:id="'bundle_options[' + option.id + '][' + product.id + ']'"
|
||||
:name="'bundle_options[' + option.id + '][]'"
|
||||
v-model="selected_product"
|
||||
v-validate="option.is_required ? 'required' : ''"
|
||||
:data-vv-as="'"' + option.label + '"'"
|
||||
:value="product.id" />
|
||||
|
||||
<label :for="'bundle_options[' + option.id + '][]'" class="radio-view"></label>
|
||||
<label :for="'bundle_options[' + option.id + '][' + product.id + ']'" class="radio-view"></label>
|
||||
|
||||
<span>
|
||||
@{{ product.name }}
|
||||
|
|
@ -110,7 +111,7 @@
|
|||
<span class="checkbox" v-for="(product, index2) in option.products">
|
||||
<input
|
||||
type="checkbox"
|
||||
:id="'bundle_options[' + option.id + '][]'"
|
||||
:id="'bundle_options[' + option.id + '][' + product.id + ']'"
|
||||
:name="'bundle_options[' + option.id + '][]'"
|
||||
:value="product.id"
|
||||
v-model="selected_product"
|
||||
|
|
@ -118,7 +119,7 @@
|
|||
:data-vv-as="'"' + option.label + '"'"
|
||||
>
|
||||
|
||||
<label :for="'bundle_options[' + option.id + '][]'" class="checkbox-view"></label>
|
||||
<label :for="'bundle_options[' + option.id + '][' + product.id + ']'" class="checkbox-view"></label>
|
||||
|
||||
<span>
|
||||
@{{ product.name }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue