Product page view messed up after update to 2.6.2

  • Posts: 44
  • Thank you received: 1
9 years 5 months ago #235958

-- url of the page with the problem -- : scarvesaustralia.com.au
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Safari

Hello

I just updated to Hikashop and find that the image of the product does not sit on the left hand side anymore like it used to do in 2.6.1.

I created my own style sheet for the front end display. Has anything changed in this update?
Here is a screenshot

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 93
  • Thank you received: 3
9 years 5 months ago #235967

I had to change line 69 on show_block_img in the view settings from

$html = '<img id="hikashop_main_image'.$variant_name.' "itemprop="image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" title="'.$this->escape(@$image->file_description).'" alt="'.$this->escape(@$image->file_name).'" src="'.$img->url.'"/>';
to
$html = '<img id="hikashop_main_image'.$variant_name.'" itemprop="image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" title="'.$this->escape(@$image->file_description).'" alt="'.$this->escape(@$image->file_name).'" src="'.$img->url.'"/>';

Notice how the id part is incorrectly spaced, there should be a space before itemprop NOT before the "
For us this broke the hover over images but this seems to of fixed it.

The following user(s) said Thank You: ozwest

Please Log in or Create an account to join the conversation.

  • Posts: 52
  • Thank you received: 2
9 years 5 months ago #235973

Thank you Bettston, unfortunately it did not do the trick for me.

Please Log in or Create an account to join the conversation.

  • Posts: 44
  • Thank you received: 1
9 years 5 months ago #235974

Thank you for your help but it did not work for me either.

Please Log in or Create an account to join the conversation.

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 5 months ago #235997

Hi,

@bettston:
Thank you for your feedback. We added the patch on our end.

@ozwest
You didn't provide any link so I can't say if the problem is the same or not.

@sarawhite
Your provide is just a CSS problem. Add that CSS code to your website and it will display like you want:
#hikashop_social{
height: 40px;
}

www.hikashop.com/support/documentation/1...ize-the-display.html

The following user(s) said Thank You: sarawhite

Please Log in or Create an account to join the conversation.

  • Posts: 44
  • Thank you received: 1
9 years 5 months ago #236015

Thank you Nicolas, it worked.

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum