From f4597e397e6dd6ac165e322c91a1e603df8ce469 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Fri, 29 Apr 2016 16:04:17 +0200 Subject: [PATCH] modif flag expe in product tpl --- themes/site/css/style.css | 24 ++++++++-- themes/site/delay.tpl | 76 ++++++++++++++++++++++---------- themes/site/img/add_to_cart.jpg | Bin 2108 -> 12492 bytes themes/site/product.tpl | 22 ++++++--- 4 files changed, 88 insertions(+), 34 deletions(-) diff --git a/themes/site/css/style.css b/themes/site/css/style.css index 0eb512ca..c2d56fd8 100755 --- a/themes/site/css/style.css +++ b/themes/site/css/style.css @@ -5689,7 +5689,7 @@ div#giftvoucher_ask_infos_block .gv_customization > .gv_param input { display: block; text-align: center; width: 100%; - height: 15px; + height: 22px; position: absolute; } #views_block #view_scroll_left img, #view_scroll_right img{ @@ -5697,11 +5697,11 @@ div#giftvoucher_ask_infos_block .gv_customization > .gv_param input { } #views_block #view_scroll_left{ /* margin-bottom: 10px; */ - top: -5px; + top: -10px; } #views_block #view_scroll_right{ /* margin-top: 10px; */ - bottom: -5px; + bottom: -10px; } #thumbs_list{ height: 420px; @@ -5755,11 +5755,16 @@ div#giftvoucher_ask_infos_block .gv_customization > .gv_param input { background-position: -5px; padding-left: 55px; } -#sale_end #countdown { +#product #sale_end #countdown { clear: both; color: #fb66a9; float: left; } +#product .delay_flag{ + position: absolute; + top: 115px; + left: -15px; +} #product #short_description_block { padding: 0px 20px 0px 20px; width: 100%; @@ -5817,6 +5822,17 @@ div.form-right{ padding-top: 10px; text-align: right; } +#product #add_to_cart input.exclusive_disabled, +#product #add_to_cart input.exclusive[type="submit"] { + background: url("../img/add_to_cart.jpg") no-repeat left center #504d8b; + padding: 0 11px 0 50px; + height: 32px; + opacity: 1 !important; + border-radius: 0; +} +#product #add_to_cart input.exclusive[type="submit"]:hover { + background: url("../img/add_to_cart.jpg") no-repeat left center #FB5FA6; +} #product #short_description_block #more_description_content{ margin-top: 20px; } diff --git a/themes/site/delay.tpl b/themes/site/delay.tpl index 6b2b4867..ab7d8dd2 100644 --- a/themes/site/delay.tpl +++ b/themes/site/delay.tpl @@ -1,25 +1,53 @@ -{if $delivery_delay == 2} -
- 48h -
-{elseif $delivery_delay == 3} -
- 7j -
-{elseif $delivery_delay == 4} -
- 10j -
-{elseif $delivery_delay == 5} -
- noel -
-{elseif $delivery_delay == 6} -
- star -
-{elseif $delivery_delay == 7} -
- 72h -
+{if $page_name == 'product'} + {if $delivery_delay == 2} +
+ 48h +
+ {elseif $delivery_delay == 3} +
+ 7j +
+ {elseif $delivery_delay == 4} +
+ 10j +
+ {elseif $delivery_delay == 5} +
+ noel +
+ {elseif $delivery_delay == 6} +
+ star +
+ {elseif $delivery_delay == 7} +
+ 72h +
+ {/if} +{else} + {if $delivery_delay == 2} +
+ 48h +
+ {elseif $delivery_delay == 3} +
+ 7j +
+ {elseif $delivery_delay == 4} +
+ 10j +
+ {elseif $delivery_delay == 5} +
+ noel +
+ {elseif $delivery_delay == 6} +
+ star +
+ {elseif $delivery_delay == 7} +
+ 72h +
+ {/if} {/if} diff --git a/themes/site/img/add_to_cart.jpg b/themes/site/img/add_to_cart.jpg index 0ec7e65d72a055f8a1cd5682ac962f65e622d918..6543a8764a127207c89e96b00099c86a279f886a 100644 GIT binary patch literal 12492 zcmeG?XIN87*K^YYp#~5UB@{u?KoU|>1X3s}f^@qfxr9haViJmNt?Sy>f{MK%_O5I1 zSXftA1r@uCy0*0}c3n%pxis2rgFlaOyoyMTk8E%daj&7bV42FxR zH9iPob?G}Mxe-~lR(1tLHQBr=6cqdPdl&i|B%00PlYbOi_rAreRgGL=Fj z6B!YZ=td;@yK~90J(bLW!J~N;j~UChNCSgBQxE4v@J(Z?Wz@E%Y4tass>}kf@~vZo zRQ{?`{PwjaB2=VfMY(fG2JJC4`h zeI<&|(iDF;XVuQCi}zl;0RjPPOTu-cQpf^a1%IwP32HDnfJx?!p5cLMa5%NPJ|ZaR zrfE#6EX`A8=09yq!4#kd3o2`%63bht6&XScda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oBpvzhQM@`e|hSHoOX#fS=-th(;IhI;j zUEDj!$mf@x9&Nn#&fK3?Ki9Wz%S`r!1asf7s3k2^ySBb%uWjYu1-XS~YU+^;pa+Yw zF7KF0;hL8U2u_m^YBK9W?}@J?=4m!vR59O|Oj(k@Q8mY%lj~bgYQnVwdH=%-@z}|G z1+G}f#spr*sNYj2a}oPSp=#e+UJu)sN%l*1t@bk4G!0&9&d!2%N_Vdg`;%4Wn)s{b zg9dxOtSYo2PfHAm)|jb@OMaF=XY1^t? z9U|o&VI4J1ecc9XWW?DK6Hac#j;4IF2?e};bW@RSd&T_T_;co{ZA3%w>mv@&uzFG9 zb+G%IXt9d0Z%VgpQO*z4rt~N-x%Gl-ASR(-fzlj0ez(4`Gr1gpC;zInh$5d6$26KygExzuw`VGBUG`cl#tzA=k#{iQ+b0S01CB(WIVODLFLs7xTsB ztKJ6!(syD0or6Yzc6G4T>%vy6k|oz4o^e=kAiC{jm*kPMojC9GvFFm1D29Oi{r0lR z`OedpCEa!w>JZ#m9{Z^Ro!}M-mb5qyHO}x1H3mCcXryUZptR+DqV;gS@LQ*F-;jeo z{F)!voZoy_iNRmmo7I0s-#UqD&(?B&+qlm8R(Q?9HOH$fZay1ED$VoE wi#7sB3fjknZx0%Q;;Q#CgT+h50jDZ&yo`Aq*z`1a+=S>-yMS-Yw>S3v110P}`Tzg` diff --git a/themes/site/product.tpl b/themes/site/product.tpl index 1c17a51b..d62c59bc 100755 --- a/themes/site/product.tpl +++ b/themes/site/product.tpl @@ -160,7 +160,7 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
{if isset($images) && count($images) > 4} - + {/if}
@@ -179,7 +179,7 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
{if isset($images) && count($images) > 4} - + {/if}
@@ -383,6 +383,16 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus

{l s='Bébé Boutik aime ce produit : parce qu’il est innovant, pratique, parce qu’il éveille votre enfant par ses couleurs, sa texture, ses fonctions, ou parce qu’il l’habille avec douceur et originalité, Bébé Boutik vous le recommande !'}

{/if} + {if $sale->delivery_delay == 2 + || $sale->delivery_delay == 3 + || $sale->delivery_delay == 4 + || $sale->delivery_delay == 5 + || $sale->delivery_delay == 6 + || $sale->delivery_delay == 7} +
+ {include file="./themes/site/delay.tpl" delivery_delay=$sale->delivery_delay} +
+ {/if} {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if} @@ -418,8 +428,8 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus {if $product->description_short || $product->description || $features || $accessories || $HOOK_PRODUCT_TAB || $attachments}
- {if $product->description_short} + {if !empty($product->description_short)}
{$product->description_short}
{/if} - {if $product->description} + {if !empty($product->description)}
{$product->description}