ramenpowered Posted February 1, 2011 Share Posted February 1, 2011 Hi guys,I've come across a problem in Safari where the product list doesn't display properly. It displays perfectly fine in Firefox, Chrome, and IE. I have also removed the add to cart button and the price, perhaps I've messed something up when doing that. Anyway, I'm wondering if you guys can help me out.Here's the link to the store category: http://premiersolarinc.com/store/category.php?id_category=2Here's my product-list.tpl: >{if isset($products)} <!-- Products list --> </pre> <ul> {foreach from=$products item=product name=products} getImageLink($product.link_rewrite, $product.id_image, 'home')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" width="{$homeSize.width}" height="{$homeSize.height}" /> {if $product.new == 1}{l s='new'}{/if}{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'} {$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'} {if $product.on_sale} {l s='On sale!'} {elseif ($product.reduction_price != 0 || $product.reduction_percent != 0) && ($product.reduction_from == $product.reduction_to OR ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $product.reduction_to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $product.reduction_from))} {l s='Price lowered!'} {/if} {* HANS --> *} {if ($product.show_cart != 0)} {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} {if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if} {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} {l s='Add to cart'} {else} {l s='Add to cart'} {/if} {l s='View'} {else} {l s='Phone for price'} {l s='View'} {/if} {/foreach} </ul> <br> <!-- /Products list --><br Thanks. Link to comment Share on other sites More sharing options...
ramenpowered Posted February 7, 2011 Author Share Posted February 7, 2011 EDIT: Never mind, apparently safari was dropping a close div. Link to comment Share on other sites More sharing options...
Steffen Posted May 26, 2011 Share Posted May 26, 2011 I have also just noticed a problem with safari and product list. I do not know how to solve - can anyone help?Thanks guys.http://nondo.dk/category.php?id_category=49 Link to comment Share on other sites More sharing options...
Recommended Posts