Jump to content

Prestashop Product detail view


Recommended Posts

Hello,

 

I have this problem: when you look at this page:

http://ps.jbmd.com/p...hp?id_product=6 - everything works ok: when you click on pictures -> they have exactly defined pop up window.

 

Then I modified the product.tpl and product.css files like see in link:

http://ps.jbmd.com/product.zip

-------------------------------------------------------------------------------

Briefly in tpl page originally:

<a id="color_{$id_attribute|intval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect({$id_attribute|intval});$('#wrapResetImages').show('slow');" title="{$color.name}">{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')}

<img src="{$img_col_dir}{$id_attribute}.jpg" alt="{$color.name}" width="20" height="20" />{/if}</a>

-------------------------------------------------------------------------------

tpl page after this modification:

 

<a id="color_{$id_attribute|intval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect({$id_attribute|intval});$('#wrapResetImages').show('slow'); " title="{$color.name}">{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')}

<img src="{$img_col_dir}{$id_attribute}.jpg" alt="{$color.name}" width="65" height="65" /> <span><img id="obrazek" src="{$img_col_dir}{$id_attribute}.jpg" alt="vzor" ></span> {/if}

</a>

-------------------------------------------------------------------------------

 

But in this page:

http://ps.jbmd.com/p...p?id_product=10 I am not able to have the same popup as in previous product no. 6. Moreover, the product no.6 still preserves its nice original pop.

 

How should I improve it?

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

×
×
  • Create New...