Browse Source

May 29 [UPDT] : Bug Fixed 'theme_fuge'

pull/257/head
AjmalCybro 2 years ago
parent
commit
3df442d49c
  1. 2
      theme_fuge/views/product_view.xml
  2. 14
      theme_fuge/views/shop_view.xml

2
theme_fuge/views/product_view.xml

@ -19,7 +19,7 @@
</xpath> </xpath>
<xpath expr="//t[@t-call='website_sale.product_price']" position="replace"> <xpath expr="//t[@t-call='website_sale.product_price']" position="replace">
</xpath> </xpath>
<xpath expr="//div[hasclass('d-sm-flex')]" position="replace"> <xpath expr="//div[hasclass('d-flex')]" position="replace">
</xpath> </xpath>
<xpath expr="//section[@id='product_detail']" position="after"> <xpath expr="//section[@id='product_detail']" position="after">
<section class="men_women"> <section class="men_women">

14
theme_fuge/views/shop_view.xml

@ -300,7 +300,7 @@
<span class="">Continue Shopping</span> <span class="">Continue Shopping</span>
</a> </a>
<a role="button" t-if="website_sale_order and website_sale_order.website_order_line" <a role="button" t-if="website_sale_order and website_sale_order.website_order_line"
class="btn btn-primary float-right d-none d-xl-inline-block" class="btn btn-primary float-end d-none d-xl-inline-block"
href="/shop/checkout?express=1"> href="/shop/checkout?express=1">
<span class="">Process Checkout</span> <span class="">Process Checkout</span>
<span class="fa fa-chevron-right"/> <span class="fa fa-chevron-right"/>
@ -374,11 +374,11 @@
<div class="oe_structure clearfix mt-3" id="oe_structure_website_sale_payment_1"/> <div class="oe_structure clearfix mt-3" id="oe_structure_website_sale_payment_1"/>
<t t-if="website_sale_order.amount_total"> <t t-if="website_sale_order.amount_total">
<div t-if="acquirers or tokens" id="payment_method" class="mt-3"> <div t-if="providers or tokens" id="payment_method" class="mt-3">
<h3 class="mb24">Pay with</h3> <h3 class="mb24">Pay with</h3>
<t t-call="payment.checkout"> <t t-call="payment.checkout">
<t t-set="footer_template_id" t-value="'website_sale.payment_footer'"/> <t t-set="footer_template_id" t-value="'website_sale.payment_footer'"/>
<t t-set="submit_button_label" t-value="'Pay Now'"/> <t t-set="submit_button_label" >Pay Now</t>
</t> </t>
</div> </div>
<div t-else="" class="alert alert-warning"> <div t-else="" class="alert alert-warning">
@ -388,7 +388,7 @@
</div> </div>
</t> </t>
<div t-if="not acquirers" class="mt-2"> <div t-if="not providers" class="mt-2">
<a role="button" class="btn-link" <a role="button" class="btn-link"
groups="base.group_system" groups="base.group_system"
t-attf-href="/web#action=#{payment_action_id}"> t-attf-href="/web#action=#{payment_action_id}">
@ -469,12 +469,12 @@
<tbody> <tbody>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<t t-esc="order.get_portal_last_transaction().acquirer_id.name"/> <t t-esc="order.get_portal_last_transaction().provider_id.sudo().name"/>
</td> </td>
<td class="text-right" width="100"> <td class="text-end" width="100">
<strong>Total:</strong> <strong>Total:</strong>
</td> </td>
<td class="text-right" width="100"> <td class="text-end" width="100">
<strong t-field="order.amount_total" <strong t-field="order.amount_total"
t-options="{'widget': 'monetary', 'display_currency': order.pricelist_id.currency_id}"/> t-options="{'widget': 'monetary', 'display_currency': order.pricelist_id.currency_id}"/>
</td> </td>

Loading…
Cancel
Save