Jump to content
  • 0

Atrybuty "width,height" w produktach z tej samej kategorii


lukash4

Question

W jaki sposób dodać atrybuty "width,height" do zdjęć w "Produktach z tej samej kategorii" (moduł products category)?

 

Moduł korzysta z pliku product-slider.tpl w którym są zawarte "width" i "height" ale nie są widoczne w zakładce "Produktach z tej samej kategorii"

 

{if isset($image_type) && isset($image_types[$image_type])}  width="{$image_types[$image_type].width}" height="{$image_types[$image_type].height}" {elseif isset($image_types['home_default'])} width="{$image_types['home_default'].width}" height="{$image_types['home_default'].height}" {/if}{if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if}  

 

Presta 1.6

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

1 answer to this question

Recommended Posts

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...