--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" width="15.309" height="14.333" viewBox="0 0 15.309 14.333">
+ <path id="Tracé_2" data-name="Tracé 2" d="M2295.219,2403.247l3.977,4.957,7.128-9.77" transform="translate(-2293.11 -2396.338)" fill="none" stroke="#fff" stroke-linecap="round" stroke-width="3"/>
+</svg>
--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" width="110" height="110" viewBox="0 0 110 110">
+ <g id="Groupe_4" data-name="Groupe 4" transform="translate(-133 -195)">
+ <rect id="Rectangle_2" data-name="Rectangle 2" width="110" height="110" rx="55" transform="translate(133 195)" fill="#6cc3ee"/>
+ <path id="Tracé_3" data-name="Tracé 3" d="M42.484,17.156l-19.2,25.6-12.8-12.8" transform="translate(162.016 220.344)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="8"/>
+ </g>
+</svg>
.hide-on-mobileapp,
.related.products,
.woocommerce-cart-form .product-price,
- &.woocommerce div.product .woocommerce-tabs ul.tabs .additional_information_tab
+ &.woocommerce div.product .woocommerce-tabs ul.tabs .additional_information_tab,
+ .woocommerce-info,
+ .woocommerce-notice
display: none
// Single product
font-weight: 600
margin-bottom: .3em
line-height: 30px
- .price *
- color: #6CC3EE
+ .price
+ font-weight: $semibold
+ *
+ color: #6CC3EE
&-product-details__short-description p
font-size: 18px !important
&:checked::before
transform: scale(1)
+ // Checkbox
+ input[type="checkbox"]
+ width: 18px
+ height: 18px
+ -webkit-appearance: none
+ appearance: none
+ background-color: #fff
+ margin: 0
+ outline: none
+ display: inline-flex !important
+ border-radius: 3px
+ &::before
+ content: ""
+ width: 100%
+ height: 100%
+ border-radius: 3px
+ background-repeat: no-repeat
+ background-position: center
+ background-size: 12px
+ border: 1px solid #1B2943
+ &:checked::before
+ content: ""
+ background-image: url("../images/icons/valid.svg")
+ border-color: #6CC3EE
+ background-color: #6CC3EE
+
form.cart button[type='submit']:not(#qib_id):not(#qib_id):not(_):not(_),
- .checkout-button
+ .checkout-button,
+ #close-validation
width: 100%
height: 55px
font-size: 18px !important
text-transform: initial !important
font-weight: 600
background-color: #1B2943 !important
+ display: flex
+ align-items: center
+ justify-content: center
.checkout-button
padding: 1em 2em !important
.label
margin-right: auto
- .order-total
- display: flex
- justify-content: space-between
- .label,
- [data-title=Total] strong .woocommerce-Price-amount
- font-size: 22px
- [data-title=Total]
- text-align: right
- .includes_tax
- display: block
-
- .woocommerce-shipping-totals .label
- margin-bottom: 10px
+ .woocommerce-shipping-totals
+ padding-bottom: 16px
+ margin-bottom: 24px
+ line()
+ .label
+ margin-bottom: 10px
.woocommerce-shipping-calculator
- padding-bottom: 16px
- border-bottom: 1px solid #E3E4E7
- margin-bottom: 22px
.shipping-calculator-button
text-decoration: underline
font-size: 16px
font-weight: 600
margin-bottom: 14px
+ .cart_item
+ padding-bottom: 16px
+ margin-bottom: 24px
+ line()
+
.cart-subtotal
display: flex
justify-content: space-between
margin-bottom: 23px
font-weight: $semibold
+ .order-total
+ display: flex
+ justify-content: space-between
+ .label,
+ [data-title=Total] strong .woocommerce-Price-amount
+ font-size: 22px
+ [data-title=Total]
+ text-align: right
+ .includes_tax
+ display: block
+
.woocommerce ul#shipping_method li
margin-bottom: 3px
- .woocommerce-billing-fields__field-wrapper
+ .woocommerce-billing-fields__field-wrapper,
+ .woocommerce-shipping-fields__field-wrapper,
+ .woocommerce-checkout-payment-box
.form-row
width: 100%
- .input-text::placeholder
- color: #8E94A1
+ .wc-stripe-elements-field
+ padding: 17.7px
+ border-radius: 28px
- .input-text:not(textarea)
+ .input-text
+ font-weight: 300
+ &::placeholder
+ color: #8E94A1
+ &:not(textarea)
white-box(28px)
- &#order_comments
- border-radius: 24px
+
+ textarea.input-text
+ white-box(24px)
.woocommerce form .form-row label
text-transform: initial
color: #1B2943
+ font-weight: $regular
+ font-size: 16px
+ margin: 4px 10px
+ .woocommerce form .form-row .required
+ color: #1B2943
+ .woocommerce #ship-to-different-address
+ font-size: 16px
+ label
+ display: flex
+ align-items: center
+ input
+ margin-right: 8px
+ .woocommerce-additional-fields
+ padding-bottom: 24px
+ margin-bottom: 24px
+ border-bottom: 1px solid #E3E4E7
+
+ #order_review_heading
+ margin-bottom: 6px
+
+ .woocommerce-checkout-payment-box
+ background-color: #EAF1F8
+ border-radius: 15px
+ margin-top: 16px
+ padding: 24px 16px
+ .payment_methods
+ border: 0 !important
+ .wc_payment_method
+ padding: 0
+ border-bottom: 1px solid rgba(#8E94A1,.5)
+ .place-order
+ padding: 0 !important
+ margin: 0
+
+ .woocommerce-checkout-payment-button
+ margin-top: 16px
+ button
+ background-color: #1b2943 !important
+
+ .woocommerce-terms-and-conditions-wrapper
+ .woocommerce-terms-and-conditions-checkbox-text a,
+ .required
+ color: #356DA8
+ .woocommerce-terms-and-conditions-checkbox-text
+ font-weight: $semibold
+ a
+ text-decoration: underline
+
+ .woocommerce-checkout #payment div.payment_box
+ background: transparent
+ padding: 0
+ margin: 0
+ line()
+ &:before
+ display: none
+ .form-row
+ padding: 0 !important
+
+ label[for=payment_method_stripe]
+ font-size: 18px
+ font-weight: $semibold
body.validation
font-size: 16px
+ h3
+ font-size: 22px
+ font-weight: $semibold
+ color: #1B2943
+ .woocommerce-cart-summary-card
+ font-size: 18px
+ .quantity, small
+ font-size: 16px
+ .order-total
+ font-size: 22px
+
+ .woocommerce-order-overview
+ white-box(15px)
+ padding: 16px 24px
+
+ .woocommerce-thankyou-order-message
+ stroke-dasharray: 1000
+ stroke-dashoffset: 1000
+ animation: dash 5s linear forwards
+ text-align: center
+ margin-bottom: 32px
+ h3
+ max-width: 240px
+ margin: 0 auto 24px
+ line-height: normal
+
+ .woocommerce ul.order_details li
+ float: none
+ display: flex !important
+ align-items: baseline
+ justify-content: space-between
+ margin: 0
+ padding: 0
+ border: 0
+ text-transform: initial
+ font-size: 18px
+ &.method,
+ &.email
+ display: none !important
+ strong
+ max-width: 156px
+ font-size: inherit
+ text-align: right
+ &:not(:last-child)
+ margin-bottom: 16px
+
+ body.woocommerce-order-received
+ font-size: 18px
+
+ .woocommerce ul.order_details
+ margin: 0 0 1em
+
+@keyframes dash
+ to
+ stroke-dashoffset: 0
border-radius: r
box-shadow: 0 3px 6px #ECF2F8
padding: 16px 24px
+
+line()
+ border-bottom: 1px solid #E3E4E7
.woocommerce-order-details
margin-top: 1.5em
- ul.order_details
- padding-left: 0
-
- li
- strong
- margin-top: 0.25em
-
-
// Checkout
&-checkout
#payment
--- /dev/null
+<?php
+/**
+ * Pay for order form
+ *
+ * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-pay.php.
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you
+ * (the theme developer) will need to copy the new files to your theme to
+ * maintain compatibility. We try to do this as little as possible, but it does
+ * happen. When this occurs the version of the template file will be bumped and
+ * the readme will list any important changes.
+ *
+ * @see https://woocommerce.com/document/template-structure/
+ * @package WooCommerce\Templates
+ * @version 8.2.0
+ */
+
+defined( 'ABSPATH' ) || exit;
+
+$totals = $order->get_order_item_totals(); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
+?>
+<form id="order_review" method="post">
+
+ <table class="shop_table">
+ <thead>
+ <tr>
+ <th class="product-name"><?php esc_html_e( 'Product', 'woocommerce' ); ?></th>
+ <th class="product-quantity"><?php esc_html_e( 'Qty', 'woocommerce' ); ?></th>
+ <th class="product-total"><?php esc_html_e( 'Totals', 'woocommerce' ); ?></th>
+ </tr>
+ </thead>
+ <tbody>
+ <?php if ( count( $order->get_items() ) > 0 ) : ?>
+ <?php foreach ( $order->get_items() as $item_id => $item ) : ?>
+ <?php
+ if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) {
+ continue;
+ }
+ ?>
+ <tr class="<?php echo esc_attr( apply_filters( 'woocommerce_order_item_class', 'order_item', $item, $order ) ); ?>">
+ <td class="product-name">
+ <?php
+ echo wp_kses_post( apply_filters( 'woocommerce_order_item_name', $item->get_name(), $item, false ) );
+
+ do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false );
+
+ wc_display_item_meta( $item );
+
+ do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false );
+ ?>
+ </td>
+ <td class="product-quantity"><?php echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">' . sprintf( '× %s', esc_html( $item->get_quantity() ) ) . '</strong>', $item ); ?></td><?php // @codingStandardsIgnoreLine ?>
+ <td class="product-subtotal"><?php echo $order->get_formatted_line_subtotal( $item ); ?></td><?php // @codingStandardsIgnoreLine ?>
+ </tr>
+ <?php endforeach; ?>
+ <?php endif; ?>
+ </tbody>
+ <tfoot>
+ <?php if ( $totals ) : ?>
+ <?php foreach ( $totals as $total ) : ?>
+ <tr>
+ <th scope="row" colspan="2"><?php echo $total['label']; ?></th><?php // @codingStandardsIgnoreLine ?>
+ <td class="product-total"><?php echo $total['value']; ?></td><?php // @codingStandardsIgnoreLine ?>
+ </tr>
+ <?php endforeach; ?>
+ <?php endif; ?>
+ </tfoot>
+ </table>
+
+ <?php
+ /**
+ * Triggered from within the checkout/form-pay.php template, immediately before the payment section.
+ *
+ * @since 8.2.0
+ */
+ do_action( 'woocommerce_pay_order_before_payment' );
+ ?>
+
+ <div id="payment">
+ <?php if ( $order->needs_payment() ) : ?>
+ <ul class="wc_payment_methods payment_methods methods">
+ <?php
+ if ( ! empty( $available_gateways ) ) {
+ foreach ( $available_gateways as $gateway ) {
+ wc_get_template( 'checkout/payment-method.php', array( 'gateway' => $gateway ) );
+ }
+ } else {
+ echo '<li>';
+ wc_print_notice( apply_filters( 'woocommerce_no_available_payment_methods_message', esc_html__( 'Sorry, it seems that there are no available payment methods for your location. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) ), 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
+ echo '</li>';
+ }
+ ?>
+ </ul>
+ <?php endif; ?>
+ <div class="form-row">
+ <input type="hidden" name="woocommerce_pay" value="1" />
+
+ <?php wc_get_template( 'checkout/terms.php' ); ?>
+
+ <?php do_action( 'woocommerce_pay_order_before_submit' ); ?>
+ </div>
+ </div>
+ <div>
+ <?php echo apply_filters( 'woocommerce_pay_order_button_html', '<button type="submit" class="button alt' . esc_attr( wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '' ) . '" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '">' . esc_html( $order_button_text ) . '</button>' ); // @codingStandardsIgnoreLine ?>
+
+ <?php do_action( 'woocommerce_pay_order_after_submit' ); ?>
+
+ <?php wp_nonce_field( 'woocommerce-pay', 'woocommerce-pay-nonce' ); ?>
+ </div>
+</form>
--- /dev/null
+<?php
+/**
+ * Checkout Payment Section
+ *
+ * This template can be overridden by copying it to yourtheme/woocommerce/checkout/payment.php.
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you
+ * (the theme developer) will need to copy the new files to your theme to
+ * maintain compatibility. We try to do this as little as possible, but it does
+ * happen. When this occurs the version of the template file will be bumped and
+ * the readme will list any important changes.
+ *
+ * @see https://woocommerce.com/document/template-structure/
+ * @package WooCommerce\Templates
+ * @version 8.1.0
+ */
+
+defined( 'ABSPATH' ) || exit;
+
+if ( ! wp_doing_ajax() ) {
+ do_action( 'woocommerce_review_order_before_payment' );
+}
+?>
+<div id="payment" class="woocommerce-checkout-payment">
+ <?php if ( WC()->cart->needs_payment() ) : ?>
+ <div class="woocommerce-checkout-payment-box">
+ <ul class="wc_payment_methods payment_methods methods">
+ <?php
+ if ( ! empty( $available_gateways ) ) {
+ foreach ( $available_gateways as $gateway ) {
+ wc_get_template( 'checkout/payment-method.php', array( 'gateway' => $gateway ) );
+ }
+ } else {
+ echo '<li>';
+ wc_print_notice( apply_filters( 'woocommerce_no_available_payment_methods_message', WC()->customer->get_billing_country() ? esc_html__( 'Sorry, it seems that there are no available payment methods. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) : esc_html__( 'Please fill in your details above to see available payment methods.', 'woocommerce' ) ), 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
+ echo '</li>';
+ }
+ ?>
+ </ul>
+ <?php endif; ?>
+ <div class="form-row place-order">
+ <noscript>
+ <?php
+ /* translators: $1 and $2 opening and closing emphasis tags respectively */
+ printf( esc_html__( 'Since your browser does not support JavaScript, or it is disabled, please ensure you click the %1$sUpdate Totals%2$s button before placing your order. You may be charged more than the amount stated above if you fail to do so.', 'woocommerce' ), '<em>', '</em>' );
+ ?>
+ <br/><button type="submit" class="button alt<?php echo esc_attr( wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '' ); ?>" name="woocommerce_checkout_update_totals" value="<?php esc_attr_e( 'Update totals', 'woocommerce' ); ?>"><?php esc_html_e( 'Update totals', 'woocommerce' ); ?></button>
+ </noscript>
+
+ <?php wc_get_template( 'checkout/terms.php' ); ?>
+
+ <?php do_action( 'woocommerce_review_order_before_submit' ); ?>
+ </div>
+ </div>
+ <div class="woocommerce-checkout-payment-button">
+ <?php echo apply_filters( 'woocommerce_order_button_html', '<button type="submit" class="button alt' . esc_attr( wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '' ) . '" name="woocommerce_checkout_place_order" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '">' . esc_html( $order_button_text ) . '</button>' ); // @codingStandardsIgnoreLine ?>
+
+ <?php do_action( 'woocommerce_review_order_after_submit' ); ?>
+
+ <?php wp_nonce_field( 'woocommerce-process_checkout', 'woocommerce-process-checkout-nonce' ); ?>
+ </div>
+</div>
+<?php
+if ( ! wp_doing_ajax() ) {
+ do_action( 'woocommerce_review_order_after_payment' );
+}
--- /dev/null
+<?php
+/**
+ * Review order table
+ *
+ * This template can be overridden by copying it to yourtheme/woocommerce/checkout/review-order.php.
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you
+ * (the theme developer) will need to copy the new files to your theme to
+ * maintain compatibility. We try to do this as little as possible, but it does
+ * happen. When this occurs the version of the template file will be bumped and
+ * the readme will list any important changes.
+ *
+ * @see https://woocommerce.com/document/template-structure/
+ * @package WooCommerce\Templates
+ * @version 5.2.0
+ */
+
+defined( 'ABSPATH' ) || exit;
+?>
+@php($app = filter_input(INPUT_GET, 'app', FILTER_SANITIZE_STRING))
+<?php if($app == "true") { ?>
+<div class="woocommerce-cart-summary-card">
+ <div>
+ <?php
+ do_action( 'woocommerce_review_order_before_cart_contents' );
+
+ foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
+ $_product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
+
+ if ( $_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) ) {
+ ?>
+ <div class="line <?php echo esc_attr( apply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key ) ); ?>">
+ <div class="product-name">
+ <?php echo wp_kses_post( apply_filters( 'woocommerce_cart_item_name', $_product->get_name(), $cart_item, $cart_item_key ) ) . ' '; ?>
+ <?php echo wc_get_formatted_cart_item_data( $cart_item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
+ </div>
+ <div class="product-total flex-between">
+ <div class="quantity"><?php esc_html_e( 'Quantity', 'woocommerce' ); ?> : <?php echo esc_html($cart_item['quantity']) ?></div>
+ <div class="semibold">
+ <?php echo apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
+ </div>
+ </div>
+ </div>
+ <?php
+ }
+ }
+
+ do_action( 'woocommerce_review_order_after_cart_contents' );
+ ?>
+ <div>
+
+ <?php foreach ( WC()->cart->get_coupons() as $code => $coupon ) : ?>
+ <div class="cart-discount coupon-<?php echo esc_attr( sanitize_title( $code ) ); ?>">
+ <div><?php wc_cart_totals_coupon_label( $coupon ); ?></div>
+ <div><?php wc_cart_totals_coupon_html( $coupon ); ?></div>
+ </div>
+
+ <?php endforeach; ?>
+
+ <?php if ( WC()->cart->needs_shipping() && WC()->cart->show_shipping() ) : ?>
+
+ <?php do_action( 'woocommerce_review_order_before_shipping' ); ?>
+
+ <?php wc_cart_totals_shipping_html(); ?>
+
+ <?php do_action( 'woocommerce_review_order_after_shipping' ); ?>
+
+ <?php endif; ?>
+
+ <?php foreach ( WC()->cart->get_fees() as $fee ) : ?>
+ <div class="fee">
+ <div><?php echo esc_html( $fee->name ); ?></div>
+ <div><?php wc_cart_totals_fee_html( $fee ); ?></div>
+ </div>
+ <?php endforeach; ?>
+
+ <?php if ( wc_tax_enabled() && ! WC()->cart->display_prices_including_tax() ) : ?>
+ <?php if ( 'itemized' === get_option( 'woocommerce_tax_total_display' ) ) : ?>
+
+ <?php foreach ( WC()->cart->get_tax_totals() as $code => $tax ) : // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited ?>
+ <div class="tax-rate tax-rate-<?php echo esc_attr( sanitize_title( $code ) ); ?>">
+ <div><?php echo esc_html( $tax->label ); ?></div>
+ <div><?php echo wp_kses_post( $tax->formatted_amount ); ?></div>
+ </div>
+ <?php endforeach; ?>
+
+ <?php else : ?>
+ <div class="tax-total">
+ <div><?php echo esc_html( WC()->countries->tax_or_vat() ); ?></div>
+ <div><?php wc_cart_totals_taxes_total_html(); ?></div>
+ </div>
+ <?php endif; ?>
+
+ <?php endif; ?>
+ <?php do_action( 'woocommerce_review_order_before_order_total' ); ?>
+ <div class="order-total">
+ <div class="label semibold"><?php esc_html_e( 'Total', 'woocommerce' ); ?></div>
+ <div data-title="<?php echo esc_attr("Total") ?>"><?php wc_cart_totals_order_total_html(); ?></div>
+ </div>
+ <?php do_action( 'woocommerce_review_order_after_order_total' ); ?>
+
+ </div>
+</div>
+</div>
+<?php }else{ ?>
+<table class="shop_table woocommerce-checkout-review-order-table">
+ <thead>
+ <tr>
+ <th class="product-name"><?php esc_html_e( 'Product', 'woocommerce' ); ?></th>
+ <th class="product-total"><?php esc_html_e( 'Subtotal', 'woocommerce' ); ?></th>
+ </tr>
+ </thead>
+ <tbody>
+ <?php
+ do_action( 'woocommerce_review_order_before_cart_contents' );
+
+ foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
+ $_product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
+
+ if ( $_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) ) {
+ ?>
+ <tr class="<?php echo esc_attr( apply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key ) ); ?>">
+ <td class="product-name">
+ <?php echo wp_kses_post( apply_filters( 'woocommerce_cart_item_name', $_product->get_name(), $cart_item, $cart_item_key ) ) . ' '; ?>
+ <?php echo apply_filters( 'woocommerce_checkout_cart_item_quantity', ' <strong class="product-quantity">' . sprintf( '× %s', $cart_item['quantity'] ) . '</strong>', $cart_item, $cart_item_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
+ <?php echo wc_get_formatted_cart_item_data( $cart_item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
+ </td>
+ <td class="product-total">
+ <?php echo apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
+ </td>
+ </tr>
+ <?php
+ }
+ }
+
+ do_action( 'woocommerce_review_order_after_cart_contents' );
+ ?>
+ </tbody>
+ <tfoot>
+
+ <tr class="cart-subtotal">
+ <th><?php esc_html_e( 'Subtotal', 'woocommerce' ); ?></th>
+ <td><?php wc_cart_totals_subtotal_html(); ?></td>
+ </tr>
+
+ <?php foreach ( WC()->cart->get_coupons() as $code => $coupon ) : ?>
+ <tr class="cart-discount coupon-<?php echo esc_attr( sanitize_title( $code ) ); ?>">
+ <th><?php wc_cart_totals_coupon_label( $coupon ); ?></th>
+ <td><?php wc_cart_totals_coupon_html( $coupon ); ?></td>
+ </tr>
+ <?php endforeach; ?>
+
+ <?php if ( WC()->cart->needs_shipping() && WC()->cart->show_shipping() ) : ?>
+
+ <?php do_action( 'woocommerce_review_order_before_shipping' ); ?>
+
+ <?php wc_cart_totals_shipping_html(); ?>
+
+ <?php do_action( 'woocommerce_review_order_after_shipping' ); ?>
+
+ <?php endif; ?>
+
+ <?php foreach ( WC()->cart->get_fees() as $fee ) : ?>
+ <tr class="fee">
+ <th><?php echo esc_html( $fee->name ); ?></th>
+ <td><?php wc_cart_totals_fee_html( $fee ); ?></td>
+ </tr>
+ <?php endforeach; ?>
+
+ <?php if ( wc_tax_enabled() && ! WC()->cart->display_prices_including_tax() ) : ?>
+ <?php if ( 'itemized' === get_option( 'woocommerce_tax_total_display' ) ) : ?>
+ <?php foreach ( WC()->cart->get_tax_totals() as $code => $tax ) : // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited ?>
+ <tr class="tax-rate tax-rate-<?php echo esc_attr( sanitize_title( $code ) ); ?>">
+ <th><?php echo esc_html( $tax->label ); ?></th>
+ <td><?php echo wp_kses_post( $tax->formatted_amount ); ?></td>
+ </tr>
+ <?php endforeach; ?>
+ <?php else : ?>
+ <tr class="tax-total">
+ <th><?php echo esc_html( WC()->countries->tax_or_vat() ); ?></th>
+ <td><?php wc_cart_totals_taxes_total_html(); ?></td>
+ </tr>
+ <?php endif; ?>
+ <?php endif; ?>
+
+ <?php do_action( 'woocommerce_review_order_before_order_total' ); ?>
+
+ <tr class="order-total">
+ <th><?php esc_html_e( 'Total', 'woocommerce' ); ?></th>
+ <td><?php wc_cart_totals_order_total_html(); ?></td>
+ </tr>
+
+ <?php do_action( 'woocommerce_review_order_after_order_total' ); ?>
+
+ </tfoot>
+</table>
+<?php }
<?php else : ?>
<?php wc_get_template( 'checkout/order-received.php', array( 'order' => $order ) ); ?>
-
- <ul class="woocommerce-order-overview woocommerce-thankyou-order-details order_details">
+ <div class="woocommerce-thankyou-order-message">
+ <h3><?php esc_html_e('Votre commande est enregistrée', 'woocommerce'); ?></h3>
+ <div class="valid">
+ <svg xmlns="http://www.w3.org/2000/svg" width="110" height="110" viewBox="0 0 110 110">
+ <g id="Groupe_4" data-name="Groupe 4" transform="translate(-133 -195)">
+ <rect id="Rectangle_2" data-name="Rectangle 2" width="110" height="110" rx="55" transform="translate(133 195)" fill="#6cc3ee"/>
+ <path id="Tracé_3" data-name="Tracé 3" d="M42.484,17.156l-19.2,25.6-12.8-12.8" transform="translate(162.016 220.344)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="8"/>
+ </g>
+ </svg>
+ </div>
+ <p><?php esc_html_e('Nous vous remercions pour votre commande.', 'woocommerce'); ?></p>
+ </div>
+ <ul class="woocommerce-order-overview woocommerce-thankyou-order-details order_details">
<li class="woocommerce-order-overview__order order">
<?php esc_html_e( 'Order number:', 'woocommerce' ); ?>
$product = $item->get_product();
$is_visible = $product && $product->is_visible();
$product_permalink = apply_filters( 'woocommerce_order_item_permalink', $is_visible ? $product->get_permalink( $item ) : '', $item, $order );
- echo wp_kses_post( apply_filters( 'woocommerce_order_item_name', $product_permalink ? sprintf( '<a href="%s">%s</a>', $product_permalink, $item->get_name() ) : $item->get_name(), $item, true ) );
+ echo $item->get_name();
$qty = $item->get_quantity();
$refunded_qty = $order->get_qty_refunded_for_item( $item_id );
} else {
$qty_display = esc_html( $qty );
}
- echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">' . sprintf( '× %s', $qty_display ) . '</strong>', $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">(' . sprintf( '× %s', $qty_display ) . ')</strong>', $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
@endphp
</strong>
</li>
<?php if ( $order->get_payment_method_title() ) : ?>
- <li class="woocommerce-order-overview__payment-method method hide-on-mobileapp">
+ <li class="woocommerce-order-overview__payment-method method">
<?php esc_html_e( 'Payment method:', 'woocommerce' ); ?>
<strong><?php echo wp_kses_post( $order->get_payment_method_title() ); ?></strong>
</li>