3.6.4 error in view show_block_img

  • Posts: 220
  • Thank you received: 8
8 years 8 months ago #251019

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.4.36

Hi,

A second issue on my local test site where I've updated Hikashop 2.3.3 to version 2.6.4 (2016-09-27).

The existing 2.3.3 override of view product/show_block_img.php works fine.
But after deleting this override and using the original 2.6.4 view show_block_image.php the product detail page is a mess.
The images show, but prices and button add to cart (hikashop_product_right_part) and product description (hikashop_product_description_main) have disappeared. And probably a closing div tag is missing which causes a distorted layout.

In a new override of the 2.6.4 version of show_block_img.php I deleted undermentioned code near line 80.
This idea arose because this code was lacking in the 2.3.3 version

if(empty($this->variant_name) && !empty($img->origin_url)) { ?>
				<meta itemprop="image" content="<?php echo $img->origin_url; ?>"/>
<?php
				} 
This results in (just like in the 2.3.3 version):
<?php
      }
      ?>

The effect was a resurrection of the product detail page. All parts show again, the layout is fine..
So this microdata code might cause the problem.
The downside is that now the page is loading very slow. Perhaps a script is not completed after my hack?

Probably there is a better way to get the 2.6.4 version of show_block_img.php working.

Please advise.

Thanks,
Udo

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
8 years 8 months ago #251045

Hello,

I can't be sure of it (without seeing the product page) but I suspect some Css issue, in order to add the Microdata system we have in some case to add some div.

And in some case again that can leads to Css issue... Did you check if your issue isn't Css based ?
Because, il you want have bette SEO score, microdata is an important point to have.

Hope that's will leads you to solve your issue.

Regards

Last edit: 8 years 8 months ago by Philip.

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

  • Posts: 220
  • Thank you received: 8
8 years 8 months ago #251096

Hi Philip,

Thanks for your quick response.
The solution was a suggestion you did in another topic: installing the recent patch of the latest Hikashop version.This fixed the problem!

I'm relieved (but also somewhat frustrated - downloading version 3.6.4 two days later would have saved me a lot of troubleshooting...)

Regards,
Udo

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
8 years 8 months ago #251099

Hello,

I understand what you mean, and I'm sorry for the trouble...
But that's your return (and from another customer) that leads us to create this patch.

Sorry again and thanks for your return, that's allow us to improve HikaShop.
Make great business !

Best regards

Last edit: 8 years 8 months ago by Philip.

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

  • Posts: 220
  • Thank you received: 8
8 years 8 months ago #251183

Thanks, I realize that's the way it works. I'm glad I could contribute.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum