Manuelle Änderung der Theme
							parent
							
								
									a5cdb94c9f
								
							
						
					
					
						commit
						2ecbc63e5b
					
				|  | @ -1,47 +1,5 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <odoo> | ||||
| 	  <template id="clarico_cart_header_icon" inherit_id="clarico_layout.clarico_header_main"> | ||||
| 		<xpath expr="//div[hasclass('header_cart_main')]" | ||||
| 			position="inside"  priority="25"> | ||||
| 			<div class="cart_style_2"> | ||||
| 			<t t-set="website_sale_order" t-value="website.sale_get_order()" /> | ||||
| 			<a href="/shop/cart"> | ||||
| 				<i class="fa fa-shopping-bag" aria-hidden="true"></i> | ||||
| 				<sup t-attf-class="my_cart_quantity label label-primary" | ||||
| 					t-esc="website_sale_order and website_sale_order.cart_quantity or ''" /> | ||||
| 				<input type="hidden" id="hiddencount" t-att-value="website_sale_order and website_sale_order.cart_quantity or '0'" /> | ||||
| 			</a>  | ||||
| 			</div> | ||||
| 				<div class="cart-update"> | ||||
| 				<span class="cart-update-text"> | ||||
| 				<t t-set="website_sale_order" t-value="website.sale_get_order()" /> | ||||
| 					<span class="my_cart_quantity label" | ||||
| 						t-esc="website_sale_order and website_sale_order.cart_quantity or '0'" > | ||||
| 					</span> | ||||
| 					<t t-if="website_sale_order.cart_quantity > 1" > | ||||
| 						<span>items : </span> | ||||
| 						<span class="cart-header-total" t-field="website_sale_order.amount_total" | ||||
| 						t-options="{'widget': 'monetary','from_currency': website_sale_order.pricelist_id.currency_id,'display_currency': website.currency_id}" /> | ||||
| 					</t> | ||||
| 					<t t-if="website_sale_order.cart_quantity == 1" > | ||||
| 						<span>item :</span> | ||||
| 						<span class="cart-header-total" t-field="website_sale_order.amount_total" | ||||
| 						t-options="{'widget': 'monetary','from_currency': website_sale_order.pricelist_id.currency_id,'display_currency': website.currency_id}" /> | ||||
| 					</t> | ||||
| 					<t t-if="website_sale_order.cart_quantity == 0" > | ||||
| 						<span>item </span> | ||||
| 					</t> | ||||
| 			</span> | ||||
| 			<span id="cart-update-icon" class="cart-update-icon"> | ||||
| 				<t t-set="website_sale_order" t-value="website.sale_get_order()" /> | ||||
| 	            <a href="/shop/cart"> | ||||
| 	                <i class="fa fa-shopping-bag"></i> | ||||
| 	                <input type="hidden" id="hiddencount" t-att-value="website_sale_order and website_sale_order.cart_quantity or '0'" /> | ||||
| 	            </a> | ||||
| 			</span> | ||||
| 			</div> | ||||
| 		</xpath> | ||||
| 	</template> | ||||
| 
 | ||||
| 	<!-- Cart in Account--> | ||||
|     <template id="clarico_account_cart" inherit_id="clarico_account.clarico_account_clarico_layout"> | ||||
|  |  | |||
|  | @ -1,17 +1,5 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <odoo> | ||||
| 	<template id="clarico_submenu" inherit_id="website.submenu"> | ||||
| 		<xpath | ||||
| 			expr="//li[@t-if='submenu.is_visible and not submenu.child_id.filtered(lambda menu: menu.is_visible)']" | ||||
| 			position="inside"> | ||||
| 			<t t-if="submenu.dynamic_menu"> | ||||
| 				<t t-call="clarico_layout.dynamic_category"></t> | ||||
| 			</t> | ||||
| 			<div class="custom-menu-inside-div dropdown-menu" t-field="submenu.menu_html" /> | ||||
| 			<span class="dynamic_active_inactive" t-esc="submenu.dynamic_menu" | ||||
| 				style="display:none;"></span> | ||||
| 		</xpath> | ||||
| 	</template> | ||||
| 
 | ||||
| 	<!-- Header main --> | ||||
| 	<template id="clarico_header_main" inherit_id="portal.frontend_layout"> | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
| 
 | ||||
|     # Dependencies | ||||
|     'depends': [ | ||||
|         'clarico_base' | ||||
|         'clarico_base','dp_custom' | ||||
|     ], | ||||
| 
 | ||||
|     # Views | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue