diff --git a/themes/default/css/global.css b/themes/default/css/global.css index c5501473b..97be508e0 100644 --- a/themes/default/css/global.css +++ b/themes/default/css/global.css @@ -547,6 +547,12 @@ div.star_hover a, div.star a:hover { background-position: 0 -32px } #footer li {padding:7px 0} #footer li a {color:#fff} +#footer .myaccount {padding: 15px 10px;} +#footer .myaccount h4 { + padding:0 0 10px 0; + background:none; +} + /* ************************************************************************************************ PRODUCT PAGE ************************************************************************************************ */ diff --git a/themes/default/css/product.css b/themes/default/css/product.css index 1e347ef61..f3c9c3b68 100644 --- a/themes/default/css/product.css +++ b/themes/default/css/product.css @@ -151,10 +151,11 @@ span.view_scroll_spacer { padding:1px; border:1px solid #ccc } +.attribute_list #color_to_pick_list li.selected{border:1px solid #000} .attribute_list #color_to_pick_list a.color_pick{ display:block; height:15px; - width:15px + width:15px; } .product_attributes { @@ -198,6 +199,8 @@ span.view_scroll_spacer { /* prices */ .content_prices { margin-top:10px; + padding-top:10px; + border-top:1px solid #ccc; text-align:right } #buy_block p.price {padding:0} diff --git a/themes/default/css/product_list.css b/themes/default/css/product_list.css index b532ec09b..1c426529c 100644 --- a/themes/default/css/product_list.css +++ b/themes/default/css/product_list.css @@ -102,6 +102,11 @@ ul#product_list { text-transform: uppercase; background: none repeat scroll 0 0 #9B0000 } + #product_list li .online_only { + position:absolute; + top:20px; + right:0; + } #product_list li .content_price { margin:26px 0 15px 0; } diff --git a/themes/default/js/product.js b/themes/default/js/product.js index 12604a611..c125e3df3 100644 --- a/themes/default/js/product.js +++ b/themes/default/js/product.js @@ -306,7 +306,7 @@ function updateDisplay() if (selectedCombination['specific_price'].reduction_type == 'percentage') { $('#reduction_amount').hide(); - $('#reduction_percent_display').html('-' + selectedCombination['specific_price'].reduction*100 + '%'); + $('#reduction_percent_display').html('-' + parseFloat(selectedCombination['specific_price'].reduction_percent) + '%'); $('#reduction_percent').show(); } else if (selectedCombination['specific_price'].reduction_type == 'amount') { $('#reduction_percent').hide(); @@ -584,11 +584,11 @@ function checkMinimalQuantity(minimal_quantity) function colorPickerClick(elt) { id_attribute = $(elt).attr('id').replace('color_', ''); - $('.color_pick').removeClass('selected'); + $('.color_pick').parent().removeClass('selected'); $(elt).fadeTo('fast', 1, function(){ $(this).fadeTo('slow', 0, function(){ $(this).fadeTo('slow', 1, function(){ - $(this).addClass('selected'); + $(this).parent().addClass('selected'); }); }); }); diff --git a/themes/default/product-list.tpl b/themes/default/product-list.tpl index 93ad243b9..396f3f7ef 100644 --- a/themes/default/product-list.tpl +++ b/themes/default/product-list.tpl @@ -38,8 +38,11 @@ {/if}
- {$product.legend|escape:'htmlall':'UTF-8'} -

{if isset($product.new) && $product.new == 1}{l s='New'}{/if}{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}

+ + {$product.legend|escape:'htmlall':'UTF-8'} + {if isset($product.new) && $product.new == 1}{l s='New'}{/if} + +

{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}

{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'}

@@ -55,17 +58,14 @@ {if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE} {if ($product.allow_oosp || $product.quantity > 0)} {if isset($static_token)} - {l s='Add to cart'} + {l s='Add to cart'} {else} - {l s='Add to cart'} + {l s='Add to cart'} {/if} {else} {l s='Add to cart'}
{/if} {/if} - {l s='View'} - {if isset($comparator_max_item) && $comparator_max_item} -

- {/if} + {l s='View'}
{/foreach} diff --git a/themes/default/product-sort.tpl b/themes/default/product-sort.tpl index 95d3e4888..2c8260ae4 100644 --- a/themes/default/product-sort.tpl +++ b/themes/default/product-sort.tpl @@ -66,7 +66,6 @@ $(document).ready(function() {/if} -

diff --git a/themes/default/product.tpl b/themes/default/product.tpl index a81c47819..a3da4140c 100644 --- a/themes/default/product.tpl +++ b/themes/default/product.tpl @@ -350,6 +350,7 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'}

{/if} +

quantity > 0} style="display: none;"{/if}> {$HOOK_PRODUCT_OOS} @@ -377,9 +378,9 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus

{if $priceDisplay >= 0 && $priceDisplay <= 2} {convertPrice price=$productPrice} - + {/if}