panier
This commit is contained in:
parent
58a077e7a8
commit
8afc4c86c0
@ -93,9 +93,9 @@ class OrderController extends OrderControllerCore
|
||||
// Check that the conditions (so active) were accepted by the customer
|
||||
$cgv = Tools::getValue('cgv') || $this->context->cookie->check_cgv;
|
||||
|
||||
if ($is_advanced_payment_api === false && Configuration::get('PS_CONDITIONS')
|
||||
&& (!Validate::isBool($cgv) || $cgv == false))
|
||||
Tools::redirect('index.php?controller=order&step=2');
|
||||
// if ($is_advanced_payment_api === false && Configuration::get('PS_CONDITIONS')
|
||||
// && (!Validate::isBool($cgv) || $cgv == false))
|
||||
// Tools::redirect('index.php?controller=order&step=2');
|
||||
|
||||
if ($is_advanced_payment_api === false)
|
||||
Context::getContext()->cookie->check_cgv = true;
|
||||
|
@ -2489,8 +2489,7 @@ body .addresses {
|
||||
border: 1px solid #dbdbdb;
|
||||
}
|
||||
.order-paiement .paiement-module {
|
||||
background: #f0f0f0;
|
||||
border: 1px solid #dbdbdb;
|
||||
background: #f7f7f7;
|
||||
color: #333;
|
||||
font-family: 'pt_sans';
|
||||
font-size: 16px;
|
||||
@ -2507,8 +2506,9 @@ body .addresses {
|
||||
padding: 0;
|
||||
}
|
||||
.order-paiement .resume-cart h3 {
|
||||
border-bottom: 1px solid #dbdbdb;
|
||||
color: #000;
|
||||
background: #333;
|
||||
border-bottom: 1px solid #bbbbbb;
|
||||
color: #fff;
|
||||
font-size: 24px;
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
@ -2532,7 +2532,7 @@ body .addresses {
|
||||
}
|
||||
|
||||
.order-paiement .resume-price {
|
||||
background: #f0f0f0;
|
||||
background: #f7f7f7;
|
||||
padding: 12px 0;
|
||||
}
|
||||
.order-paiement .resume-price > div {
|
||||
@ -2540,6 +2540,7 @@ body .addresses {
|
||||
}
|
||||
.order-paiement .resume-products .product > div > span:last-child,
|
||||
.order-paiement .resume-price > div > span:last-child {
|
||||
font-family: 'Vidaloka';
|
||||
text-align: right;
|
||||
}
|
||||
.order-paiement .resume-price > div > span:first-child {
|
||||
@ -2550,26 +2551,31 @@ body .addresses {
|
||||
}
|
||||
.order-paiement .resume-price > div > span:last-child {
|
||||
color: #333;
|
||||
font-family: 'GothamRndLight';
|
||||
font-family: 'Vidaloka';
|
||||
font-size: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.order-paiement .resume-price > div.price > span:first-child { color: #333 }
|
||||
.order-paiement .resume-price > div.price > span:last-child { color: #b4293c }
|
||||
.order-paiement .resume-price > div.price > span:last-child { color: #e4535d; font-size: 24px; }
|
||||
.order-paiement h3 {
|
||||
color: #000;
|
||||
margin-top: 22px;
|
||||
margin-top: 35px;
|
||||
font-family: 'Vidaloka';
|
||||
font-size: 24px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.order-paiement .cgv {
|
||||
background: #deeee6;
|
||||
background: #fff;
|
||||
border: 1px solid #e4535d;
|
||||
border-radius: 2px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
margin: 20px 0 0 0;
|
||||
overflow: hidden;
|
||||
padding: 25px;
|
||||
}
|
||||
.order-paiement .cgv .submit {
|
||||
margin: 20px 0 0 0;
|
||||
.order-paiement .cgv .iframe {
|
||||
color: #e4535d;
|
||||
}
|
||||
.order-paiement .submit {
|
||||
margin-top: 35px;
|
||||
|
@ -695,7 +695,7 @@ body .fancybox-overlay {
|
||||
height: 30px;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
margin-top: -15px;
|
||||
margin: -15px 0 0 0;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 30px;
|
||||
|
@ -10,23 +10,21 @@
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
<main>
|
||||
<section>
|
||||
<header class="page-heading order-process">
|
||||
<div id="breadcrumbs">
|
||||
<div class="container">
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
<div class="intro_top order-process">
|
||||
<div class="container">
|
||||
<div class="intro_cat">
|
||||
<h1>
|
||||
{l s='Summary & payment'}
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<h1>
|
||||
{l s='Summary & payment'}
|
||||
</h1>
|
||||
{include file="$tpl_dir./order-steps.tpl"}
|
||||
</div>
|
||||
</header>
|
||||
{include file="$tpl_dir./order-steps.tpl" current_step="address"}
|
||||
</div>
|
||||
</div>
|
||||
<div class="order-paiement container">
|
||||
<h2>{l s='Please choose your payment method'}</h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-7 col-sm-12">
|
||||
<h2>{l s='Please choose your payment method'}</h2>
|
||||
<div class="paiement clearfix">
|
||||
{if $HOOK_PAYMENT}
|
||||
{$HOOK_PAYMENT}
|
||||
@ -38,7 +36,7 @@
|
||||
<!-- CGV -->
|
||||
<h3>{l s='Terms of service'}</h3>
|
||||
<div class="cgv">
|
||||
<p class="checkbox clearfix">
|
||||
<p class="clearfix">
|
||||
<input type="checkbox" name="cgv" id="cgv" class="custom-input inline" value="1" />
|
||||
<label for="cgv">
|
||||
{l s='I agree to the terms of service and will adhere to them unconditionally.'}<br />
|
||||
|
Loading…
Reference in New Issue
Block a user