From 82a536aa5fea5d2bec1851cfd27a1f37e05b0320 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Tue, 26 Apr 2016 16:43:28 +0200 Subject: [PATCH] modif tpl --- themes/site/css/style.css | 3 +- themes/site/product.tpl | 68 ++++++++++++++++++++------------------- 2 files changed, 37 insertions(+), 34 deletions(-) diff --git a/themes/site/css/style.css b/themes/site/css/style.css index da39b9fa..3d818b38 100755 --- a/themes/site/css/style.css +++ b/themes/site/css/style.css @@ -5768,7 +5768,8 @@ div.two-part-form{ position: relative; margin-bottom: 5px; } -div.two-part-form:after{ +div.two-part-form:after, +div.form-attr-qty:after{ display: block; content: ''; clear: both; diff --git a/themes/site/product.tpl b/themes/site/product.tpl index 64344331..bae2a757 100755 --- a/themes/site/product.tpl +++ b/themes/site/product.tpl @@ -309,40 +309,42 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
- {if isset($groups)} - -
- {foreach from=$groups key=id_attribute_group item=group} - {if $group.attributes|@count} -

- - {assign var="groupName" value="group_$id_attribute_group"} - -

- {/if} - {/foreach} +
+ {if isset($groups)} + +
+ {foreach from=$groups key=id_attribute_group item=group} + {if $group.attributes|@count} +

+ + {assign var="groupName" value="group_$id_attribute_group"} + +

+ {/if} + {/foreach} +
+ {/if} + + {*

reference}style="display: none;"{/if}>{$product->reference|escape:'htmlall':'UTF-8'}

*} + + +

quantity <= 0) OR $virtual OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> + + minimal_quantity > 1}onkeyup="checkMinimalQuantity({$product->minimal_quantity});"{/if} /> +

+ + +

minimal_quantity <= 1 OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>{l s='You must add '} {$product->minimal_quantity} {l s=' as a minimum quantity to buy this product.'}

+ {if $product->minimal_quantity > 1} + + {/if}
- {/if} - - {*

reference}style="display: none;"{/if}>{$product->reference|escape:'htmlall':'UTF-8'}

*} - - -

quantity <= 0) OR $virtual OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> - - minimal_quantity > 1}onkeyup="checkMinimalQuantity({$product->minimal_quantity});"{/if} /> -

- - -

minimal_quantity <= 1 OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>{l s='You must add '} {$product->minimal_quantity} {l s=' as a minimum quantity to buy this product.'}

- {if $product->minimal_quantity > 1} - - {/if}
quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block">