maver2
asked on
Prestashop Product detail view
Hello,
I have this problem: when you look at this page:
http://ps.jbmd.com/product.php?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|i ntval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect ({$id_attr ibute|intv al});$('#w rapResetIm ages').sho w('slow'); " title="{$color.name}">{if file_exists($col_img_dir|c at:$id_att ribute|cat :'.jpg')}
<img src="{$img_col_dir}{$id_at tribute}.j pg" alt="{$color.name}" width="20" height="20" />{/if}</a>
-------------------------- ---------- ---------- ---------- ---------- ---------- ---
tpl page after this modification
<a id="color_{$id_attribute|i ntval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect ({$id_attr ibute|intv al});$('#w rapResetIm ages').sho w('slow'); " title="{$color.name}">{if file_exists($col_img_dir|c at:$id_att ribute|cat :'.jpg')}
<img src="{$img_col_dir}{$id_at tribute}.j pg" alt="{$color.name}" width="65" height="65" /> <span><img id="obrazek" src="{$img_col_dir}{$id_at tribute}.j pg" alt="vzor" ></span> {/if}
</a>
-------------------------- ---------- ---------- ---------- ---------- ---------- ---
But in this page:
http://ps.jbmd.com/product.php?id_product=10
I am not able to have the same popup as in previous product no. 6. Moreover, the product no.6 still preserve its nice original pop.
How should I improve it?
I have this problem: when you look at this page:
http://ps.jbmd.com/product.php?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|i
<img src="{$img_col_dir}{$id_at
--------------------------
tpl page after this modification
<a id="color_{$id_attribute|i
<img src="{$img_col_dir}{$id_at
</a>
--------------------------
But in this page:
http://ps.jbmd.com/product.php?id_product=10
I am not able to have the same popup as in previous product no. 6. Moreover, the product no.6 still preserve its nice original pop.
How should I improve it?
ASKER
Very much so! Would you explain more? I cannot get this result with any browser on my pc.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Unbelievable!!!!!!! Thank you.
Clipboard02.jpg