Jump to content

Product List Attributes


Maciek_7

Recommended Posts

Hi,

 

I've got some problem with display of products attributes (sizes) in product-list.tpl

 

He's my code:

<p>
							
{foreach from=$product.rozmiary item=rozmiar name=rozmiary}
								
<span>{$rozmiar}{if (!$smarty.foreach.rozmiary.last)},{/if} </span>
							
{/foreach}
							
</p>

If I add size like 42, 43, etc. all is OK, but when I've got halves - 42.5, 43.5 or fractions - 42 1/3, 44 1/3 then in space places something is adding dash and my size looks like: 43-1-3

 

 

Do you know why?

 

 

edit:

i started to use product list attributes module

 

 

Regards,

Maciek

Edited by vekia (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...