Merge pull request #7147 from akhtarkhan1/option-button-for-bundle-product
Issue Fixed #7080
This commit is contained in:
commit
eb77f928e9
File diff suppressed because one or more lines are too long
|
|
@ -43,4 +43,16 @@
|
|||
|
||||
.do-not-cross-linked-product-arrow {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
.bundle-product-item-with-options {
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
|
||||
.no-product-item-found {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.bundle-option-button {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
|
@ -598,6 +598,7 @@ return [
|
|||
'grouped-products' => 'المنتجات المجمعة',
|
||||
'search-products' => 'البحث عن المنتجات',
|
||||
'no-result-found' => 'منتجات غير موجودة بنفس الاسم.',
|
||||
'no-product-added' => 'لا يوجد منتج مضاف',
|
||||
'channel' => 'القنوات',
|
||||
'bundle-items' => 'عناصر الحزمة',
|
||||
'add-option-btn-title' => 'إضافة خيار',
|
||||
|
|
|
|||
|
|
@ -592,6 +592,7 @@ return [
|
|||
'related-products' => 'সংশ্লিষ্ট পণ্য',
|
||||
'product-search-hint' => 'পণ্যের নাম টাইপ করা শুরু করুন',
|
||||
'no-result-found' => 'একই নামের পণ্য পাওয়া যায়নি.',
|
||||
'no-product-added' => 'কোন পণ্য যোগ করা হয়নি',
|
||||
'searching' => 'অনুসন্ধান করা হচ্ছে...',
|
||||
'grouped-products' => 'দলবদ্ধ পণ্য',
|
||||
'search-products' => 'পণ্য অনুসন্ধান করুন',
|
||||
|
|
|
|||
|
|
@ -586,6 +586,7 @@ return [
|
|||
'related-products' => 'Verwandte Produkte',
|
||||
'product-search-hint' => 'Geben Sie den Produktnamen ein',
|
||||
'no-result-found' => 'Produkte nicht mit demselben Namen gefunden.',
|
||||
'no-product-added' => 'Kein Produkt hinzugefügt',
|
||||
'searching' => 'Suche ...',
|
||||
'grouped-products' => 'Gruppierte Produkte',
|
||||
'search-products' => 'Produkte suchen',
|
||||
|
|
|
|||
|
|
@ -592,6 +592,7 @@ return [
|
|||
'related-products' => 'Related Products',
|
||||
'product-search-hint' => 'Start typing product name',
|
||||
'no-result-found' => 'Products not found with same name.',
|
||||
'no-product-added' => 'No Product Added',
|
||||
'searching' => 'Searching ...',
|
||||
'grouped-products' => 'Grouped Products',
|
||||
'search-products' => 'Search Products',
|
||||
|
|
|
|||
|
|
@ -592,6 +592,7 @@ return [
|
|||
'related-products' => 'Productos relacionados',
|
||||
'product-search-hint' => 'Inicie escribiendo un nombre de producto',
|
||||
'no-result-found' => 'Productos con el mismo nombre no fueron encontrados.',
|
||||
'no-product-added' => 'Ningún producto agregado',
|
||||
'searching' => 'Buscando ...',
|
||||
'grouped-products' => 'Productos Agrupados',
|
||||
'search-products' => 'Buscar Productos',
|
||||
|
|
|
|||
|
|
@ -584,6 +584,7 @@ return [
|
|||
'grouped-products' => 'محصولات گروه بندی شده',
|
||||
'search-products' => 'جستجوی محصولات',
|
||||
'no-result-found' => 'محصولاتی با همین نام یافت نشد',
|
||||
'no-product-added' => 'هیچ محصولی اضافه نشده است',
|
||||
'channel' => 'کانالها',
|
||||
'bundle-items' => 'موارد بسته بندی',
|
||||
'add-option-btn-title' => 'گزینه را اضافه کنید',
|
||||
|
|
|
|||
|
|
@ -593,6 +593,7 @@ return [
|
|||
'related-products' => 'Produits connexes',
|
||||
'product-search-hint' => 'Commencez à saisir le nom du produit',
|
||||
'no-result-found' => 'Produits introuvables avec le même nom.',
|
||||
'no-product-added' => 'Aucun produit ajouté',
|
||||
'searching' => 'Recherche...',
|
||||
'grouped-products' => 'Produits groupés',
|
||||
'search-products' => 'Recherche de produits',
|
||||
|
|
|
|||
|
|
@ -592,6 +592,7 @@ return [
|
|||
'related-products' => 'Related Products',
|
||||
'product-search-hint' => 'Start typing product name',
|
||||
'no-result-found' => 'Products not found with same name.',
|
||||
'no-product-added' => 'No Product Added',
|
||||
'searching' => 'Searching ...',
|
||||
'grouped-products' => 'Grouped Products',
|
||||
'search-products' => 'Search Products',
|
||||
|
|
|
|||
|
|
@ -589,6 +589,7 @@ return [
|
|||
'related-products' => 'संबंधित उत्पाद',
|
||||
'product-search-hint' => 'उत्पाद का नाम लिखना प्रारंभ करें',
|
||||
'no-result-found' => 'उत्पाद समान नाम से नहीं मिले।',
|
||||
'no-product-added' => 'कोई उत्पाद नहीं जोड़ा गया',
|
||||
'searching' => 'खोज कर ...',
|
||||
'grouped-products' => 'समूहीकृत उत्पाद',
|
||||
'search-products' => 'उत्पादों को खोजना',
|
||||
|
|
|
|||
|
|
@ -586,6 +586,7 @@ return [
|
|||
'grouped-products' => 'Prodotti Raggruppati',
|
||||
'search-products' => 'Cerca Prodotti',
|
||||
'no-result-found' => 'Prodotti con lo stesso nome non trovato.',
|
||||
'no-product-added' => 'Nessun prodotto aggiunto',
|
||||
'channel' => 'Canali',
|
||||
'bundle-items' => 'Elementi Bundle',
|
||||
'add-option-btn-title' => 'Aggiungi Opzione',
|
||||
|
|
|
|||
|
|
@ -592,6 +592,7 @@ return [
|
|||
'related-products' => 'Related Products',
|
||||
'product-search-hint' => 'Start typing product name',
|
||||
'no-result-found' => 'Products not found with same name.',
|
||||
'no-product-added' => 'No Product Added',
|
||||
'searching' => 'Searching ...',
|
||||
'grouped-products' => 'Grouped Products',
|
||||
'search-products' => 'Search Products',
|
||||
|
|
|
|||
|
|
@ -578,6 +578,7 @@ return [
|
|||
'related-products' => 'Gerelateerde producten',
|
||||
'product-search-hint' => 'Start typing product name',
|
||||
'no-result-found' => 'Er zijn geen producten gevonden met dezelfde naam.',
|
||||
'no-product-added' => 'Geen product toegevoegd',
|
||||
'searching' => 'Zoeken ...',
|
||||
'grouped-products' => 'Gegroepeerde producten',
|
||||
'search-products' => 'Zoek producten',
|
||||
|
|
|
|||
|
|
@ -578,6 +578,7 @@ return [
|
|||
'related-products' => 'Pokrewne produkty',
|
||||
'product-search-hint' => 'Wprowadź nazwę produktu',
|
||||
'no-result-found' => 'Nie znaleziono produktów o tej samej nazwie.',
|
||||
'no-product-added' => 'Nie dodano produktu',
|
||||
'searching' => 'Wyszukiwanie ...',
|
||||
'grouped-products' => 'Zgrupowane produkty',
|
||||
'search-products' => 'Wyszukaj produkty',
|
||||
|
|
|
|||
|
|
@ -581,6 +581,7 @@ return [
|
|||
'grouped-products' => 'Produtos Agrupados',
|
||||
'search-products' => 'procurar produtos',
|
||||
'no-result-found' => 'Produtos não encontrados com o mesmo nome.',
|
||||
'no-product-added' => 'Nenhum produto adicionado',
|
||||
'channel' => 'Canais',
|
||||
'bundle-items' => 'Itens do pacote',
|
||||
'add-option-btn-title' => 'Adicionar opção',
|
||||
|
|
|
|||
|
|
@ -592,6 +592,7 @@ return [
|
|||
'related-products' => 'сопутствующие товары',
|
||||
'product-search-hint' => 'Начните вводить название продукта',
|
||||
'no-result-found' => 'Не найдены продукты с таким же названием.',
|
||||
'no-product-added' => 'Товар не добавлен',
|
||||
'searching' => 'Идет поиск ...',
|
||||
'grouped-products' => 'Сгруппированные продукты',
|
||||
'search-products' => 'Поиск продуктов',
|
||||
|
|
|
|||
|
|
@ -592,6 +592,7 @@ return [
|
|||
'related-products' => 'Related Products',
|
||||
'product-search-hint' => 'Start typing product name',
|
||||
'no-result-found' => 'Products not found with same name.',
|
||||
'no-product-added' => 'No Product Added',
|
||||
'searching' => 'Searching ...',
|
||||
'grouped-products' => 'Grouped Products',
|
||||
'search-products' => 'Search Products',
|
||||
|
|
|
|||
|
|
@ -589,6 +589,7 @@ return [
|
|||
'grouped-products' => 'Gruplandırılmış Ürünler',
|
||||
'search-products' => 'Ürünleri Ara',
|
||||
'no-result-found' => 'Aynı isimde ürün bulunamadı.',
|
||||
'no-product-added' => 'Ürün Eklenmedi',
|
||||
'channel' => 'Kanallar',
|
||||
'bundle-items' => 'Paket İçerik',
|
||||
'add-option-btn-title' => 'Seçenek Ekle',
|
||||
|
|
|
|||
|
|
@ -592,6 +592,7 @@ return [
|
|||
'related-products' => 'сопутствующие товары',
|
||||
'product-search-hint' => 'Начните вводить название продукта',
|
||||
'no-result-found' => 'Не найдены продукты с таким же названием.',
|
||||
'no-product-added' => 'Продукт не додано',
|
||||
'searching' => 'Идет поиск ...',
|
||||
'grouped-products' => 'Сгруппированные продукты',
|
||||
'search-products' => 'Поиск продуктов',
|
||||
|
|
|
|||
|
|
@ -575,6 +575,7 @@ return [
|
|||
'related-products' => '相关产品',
|
||||
'product-search-hint' => '开始输入产品名称',
|
||||
'no-result-found' => '找不到同名的产品.',
|
||||
'no-product-added' => '未添加产品',
|
||||
'searching' => '搜索中 ...',
|
||||
'grouped-products' => '分组产品',
|
||||
'search-products' => '搜索产品',
|
||||
|
|
|
|||
|
|
@ -15,10 +15,6 @@
|
|||
@push('scripts')
|
||||
<script type="text/x-template" id="bundle-option-list-template">
|
||||
<div class="">
|
||||
<button type="button" class="btn btn-md btn-primary" @click="addOption" style="margin-bottom: 20px;">
|
||||
{{ __('admin::app.catalog.products.add-option-btn-title') }}
|
||||
</button>
|
||||
|
||||
<bundle-option-item
|
||||
v-for='(option, index) in options'
|
||||
:option="option"
|
||||
|
|
@ -26,6 +22,10 @@
|
|||
:index="index"
|
||||
@onRemoveOption="removeOption($event)"
|
||||
></bundle-option-item>
|
||||
|
||||
<button type="button" class="btn btn-md btn-primary bundle-option-button" @click="addOption">
|
||||
{{ __('admin::app.catalog.products.add-option-btn-title') }}
|
||||
</button>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
|
@ -133,7 +133,7 @@
|
|||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tbody class="bundle-product-item-with-options">
|
||||
|
||||
<bundle-product-item
|
||||
v-for='(product, index) in bundle_option_products'
|
||||
|
|
@ -146,6 +146,11 @@
|
|||
@onCheckProduct="checkProduct($event)">
|
||||
</bundle-product-item>
|
||||
|
||||
<tr v-if="! bundle_option_products.length">
|
||||
<td colspan="10">
|
||||
<p class="no-product-item-found">{{ __('admin::app.catalog.products.no-product-added') }} </p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue