diff --git a/templates/default/assets/less/thelia/cart.less b/templates/default/assets/less/thelia/cart.less index 58f32a4c9..5f8c2dfb1 100644 --- a/templates/default/assets/less/thelia/cart.less +++ b/templates/default/assets/less/thelia/cart.less @@ -48,7 +48,11 @@ } } } - &.qty {} + &.qty { + .group-qty { + margin-bottom: 0; + } + } &.subprice { .price { color: @brand-primary; diff --git a/templates/default/assets/less/thelia/global.less b/templates/default/assets/less/thelia/global.less index 1430bdaa4..378af265c 100755 --- a/templates/default/assets/less/thelia/global.less +++ b/templates/default/assets/less/thelia/global.less @@ -33,12 +33,12 @@ // thumbnail .thumbnail { - &.active, + /*&.active, &:active { border-style: solid; border-width: 2px; - } - &.active { border-color: @gray-light; } + }*/ + &.active { border-color: @gray-dark; } } // Layout diff --git a/templates/default/assets/themes/default/less/theme.less b/templates/default/assets/themes/default/less/theme.less index f3cd5fb99..f07461c56 100755 --- a/templates/default/assets/themes/default/less/theme.less +++ b/templates/default/assets/themes/default/less/theme.less @@ -1120,6 +1120,21 @@ td.product, } } +.table-cart-mini { + + thead, + tbody, + tfoot { + > tr { + > th, + > td { + vertical-align: middle; + } + } + } +} + + .table-cart { thead, @@ -1130,6 +1145,7 @@ td.product, > td { padding: 14px; text-align: center; + vertical-align: middle; &.product { text-align: left; } } } diff --git a/templates/default/includes/mini-cart.html b/templates/default/includes/mini-cart.html index 739302620..b91f73d83 100644 --- a/templates/default/includes/mini-cart.html +++ b/templates/default/includes/mini-cart.html @@ -45,7 +45,8 @@ {intl l="View Cart"} - + {intl l="Checkout"} + {**}
diff --git a/templates/default/layout.tpl b/templates/default/layout.tpl index c23e522a6..1fe7e913d 100644 --- a/templates/default/layout.tpl +++ b/templates/default/layout.tpl @@ -23,7 +23,7 @@ URL: http://www.thelia.net {* Page Title *} - {block name="page-title"}{strip}{if $breadcrumbs}{foreach from=$breadcrumbs|array_reverse item=breadcrumb}{$breadcrumb.title} | {/foreach}{/if}{config key="company_name"}{/strip}{/block} + {block name="page-title"}{strip}{if $breadcrumbs}{foreach from=$breadcrumbs|array_reverse item=breadcrumb}{$breadcrumb.title} - {/foreach}{/if}{config key="company_name"}{/strip}{/block} {* Meta Tags *} @@ -179,15 +179,15 @@ URL: http://www.thelia.net
@@ -198,7 +198,7 @@ URL: http://www.thelia.net
diff --git a/templates/default/order-delivery.html b/templates/default/order-delivery.html index baf4cf9a7..fc2110e06 100644 --- a/templates/default/order-delivery.html +++ b/templates/default/order-delivery.html @@ -31,6 +31,7 @@ {form name="thelia.order.delivery"} + {assign var="isPost" value="{$smarty.post|count}"}
{form_hidden_fields form=$form} @@ -42,7 +43,7 @@
{intl l="Add a new address"} - {intl l="Chose your delivery address"} + {intl l="Choose your delivery address"} {if $error} {$message} {/if} @@ -50,18 +51,20 @@
- {loop type="address" name="customer.addresses" customer="current"} - - + {if $isPost} + {if $value == $ID} + {assign var="isDeliveryAddressChecked" value="true"} + {/if} + {elseif $DEFAULT} + {assign var="isDeliveryAddressChecked" value="true"} + {/if} @@ -125,12 +128,19 @@
{loop type="delivery" name="deliveries" force_return="true"}
- + {form_field form=$form field='delivery-module'} + {if $isPost} + {if $value == $ID} + {assign var="isDeliveryMethodChecked" value="true"} + {/if} + {elseif $LOOP_COUNT == 1} + {assign var="isDeliveryMethodChecked" value="true"} + {/if} + + {/form_field}
{/loop}
diff --git a/templates/default/order-invoice.html b/templates/default/order-invoice.html index 54334647b..374a63e62 100644 --- a/templates/default/order-invoice.html +++ b/templates/default/order-invoice.html @@ -70,7 +70,6 @@ {loop type="cart" name="cartloop"} -