Jump to content

logo and product images not displayed on product page


Recommended Posts

My logo and product images are no longer displayed on product page after i change the background color of the theme i bought (if i remember correctly....). Now in the front office product page, product images only shows when click the "view in full size" button.

 

I am totally a newbie on PS. could anyone kindly show me how to fix it?

 

thanks in advance!!!

Link to comment
Share on other sites

I checked your site and I don't think the problem related to your background.

 

1. The image in the product page not getting any dimentions (0px by 0px) so thats why you don't see it, you can modify inside product.tpl but it will be harder, so for now just change: 'modules/uhu_setting/css/setting_1.css' line #913

from:

  Quote
#pb-right-column #image-block img {border: none;}

to:

  Quote
#pb-right-column #image-block img {border: none;width: 264px;height: 264px;}

 

2. Your logo & slogan getting an hidden class to the a tag, and hidden class gives display: none; so its hidding your logo

to fix it you need to edit your 'themes/theme180v15/header.tpl'

line #82 from:

  Quote
<a class="{if $logoMode <> 'image'} hidden{/if}" id="logo_image" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">

to:

  Quote
<a id="logo_image" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">

 

line #85

from:

  Quote
<a class="{if $logoMode <> 'text'} hidden{/if}" id="logo_text" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">

to:

  Quote
<a id="logo_text" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">

 

you can also change the hidden class but I am not sure if it will effect other areas in your site

Edited by yaniv14 (see edit history)
  • Like 1
Link to comment
Share on other sites

  On 3/29/2013 at 1:26 PM, yaniv14 said:
I checked your site and I don't think the problem related to your background. 1. The image in the product page not getting any dimentions (0px by 0px) so thats why you don't see it, you can modify inside product.tpl but it will be harder, so for now just change: 'modules/uhu_setting/css/setting_1.css' line #913 from: to: 2. Your logo & slogan getting an hidden class to the a tag, and hidden class gives display: none; so its hidding your logo to fix it you need to edit your 'themes/theme180v15/header.tpl' line #82 from: to: line #85 from: to: you can also change the hidden class but I am not sure if it will effect other areas in your site

 

Thank you yaniv14!

I have edited the file following the tips. But the product image missing problem is still unsolved. As for the logo display problem, it finally shows on product page, but there are both a image and a text displaying in header (i only need the image logo....).

post-524247-0-00587800-1364610857_thumb.png

 

When i enable front edit panel in the theme setting module, it only shows the image logo. post-524247-0-28280900-1364610869_thumb.png

 

Do u have any clue what is going on here? Thx a loooooooooooooot!!!

Link to comment
Share on other sites

  On 3/29/2013 at 1:26 PM, yaniv14 said:

I checked your site and I don't think the problem related to your background.

 

1. The image in the product page not getting any dimentions (0px by 0px) so thats why you don't see it, you can modify inside product.tpl but it will be harder, so for now just change: 'modules/uhu_setting/css/setting_1.css' line #913

from:

 

to:

 

 

2. Your logo & slogan getting an hidden class to the a tag, and hidden class gives display: none; so its hidding your logo

to fix it you need to edit your 'themes/theme180v15/header.tpl'

line #82 from:

 

to:

 

 

line #85

from:

 

to:

 

 

you can also change the hidden class but I am not sure if it will effect other areas in your site

 

Hi yaniv14! I made a mistake.... product images show on product page now.

But they are not displayed on sub-category page:

http://www.punk-style.com/60-steam-punk#

Could u please take a look at it and show me how to fix it? THANK U :)

Link to comment
Share on other sites

edit 'themes/theme180v15/product-list.tpl' and change lines #18-22

from:

  Quote
{if $imgPosition == 'left'}

<a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}">

<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, $imgType)}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" {if isset($homeSize)} width="{$imgWidth}" height="{$imgHeight}"{/if} />

</a>

{/if}

 

To:

 

 

  Quote
<a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}">

<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} />

</a>

assuming you have home_default image size in your back office Preferences -> Images

  • Like 1
Link to comment
Share on other sites

  On 3/30/2013 at 6:50 AM, yaniv14 said:

edit 'themes/theme180v15/product-list.tpl' and change lines #18-22

from:

 

 

To:

 

 

 

assuming you have home_default image size in your back office Preferences -> Images

 

IT WORKED!!!! yaniv14, You are AWESOME!

 

Thank u so much! :D

Link to comment
Share on other sites

One more thing~~the thumbnail images is still missing on product page. when cursor moves to thumbs position where other product images are supposed to show, the images display in mail image block, like this:

http://www.punk-styl...od-shuffle.html

 

i tried regenerating thumbnails in BO, but it didn't work...

this is frustrating~~yaniv14, really need your help. Thx again~~

Link to comment
Share on other sites

Hi,

 

I can help you fix it but your store is a mess, I strongly recommend you start from fresh installation, because the way I see it you will have later additional issues with images and other stuff.

 

It seems like your theme is not that different from original prestashop theme, so you will not loose a lot by starting from fresh.

also you can find some real nice themes for free, some even with responsive design, like those for example (link).

 

Anyway thats only my opinion, if your want to stick with what you have now, I will be happy to help you solve your issues.

 

Let me know.

Link to comment
Share on other sites

  On 3/30/2013 at 2:49 PM, yaniv14 said:
Hi, I can help you fix it but your store is a mess, I strongly recommend you start from fresh installation, because the way I see it you will have later additional issues with images and other stuff. It seems like your theme is not that different from original prestashop theme, so you will not loose a lot by starting from fresh. also you can find some real nice themes for free, some even with responsive design, like those for example (link). Anyway thats only my opinion, if your want to stick with what you have now, I will be happy to help you solve your issues. Let me know.

 

Hi yaniv14, thanks again for your patient help!

 

This theme cost me 199.99 Dollars.......(sigh~~~)and it was bought on Prestashop add-on... i contacted the developer, but they only replied once and did nothing to solve my problem. It's ok, i'll take it as a good lesson...

 

You are right. To avoid more headaches, i will try to re-install my shop.

 

You are so nice and i really appreciate your help!!

Link to comment
Share on other sites

did you ever manage to get your shop look like the theme you bought? if not than probably you didn't install it correctly.

Do you have installation instructions? do you have 'config.xml' file in the root of the zip file? did you install it manually or with theme import module?

Link to comment
Share on other sites

  On 3/30/2013 at 4:05 PM, yaniv14 said:

did you ever manage to get your shop look like the theme you bought? if not than probably you didn't install it correctly.

Do you have installation instructions? do you have 'config.xml' file in the root of the zip file? did you install it manually or with theme import module?

 

I did exactly what the installation instruction said. and yes, there is a "config.xml" file in the root of the zip file. I installed the shop with import module, not manually. The shop was not the same as the theme demo after installation, for example, there's no "Home" button or icon in breadcrumb; links in footer were not categorized,etc,. Maybe there were some errors during theme installation. I have contacted the developer for detailed user guide, but they did not reply. I'll try to reinstall the shop and theme to find out if the mess was caused by wrong installation or the theme is just not good enough.

 

Thank u!

Link to comment
Share on other sites

×
×
  • Create New...