Jump to content

[SOLVED]Safari category product list problem


Recommended Posts

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=2

Here'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

  • 3 months later...
×
×
  • Create New...