update Hikashop

  • Posts: 88
  • Thank you received: 0
11 years 10 months ago #60829

Hi,

Yesterday I tried the new version of Hikashop (I was curious to see it working)
But my layout of the product page was changed after the update... the product page was bigger so that my modules on the right side were moved to the bottom.
So I thought to wait for the update ..and reinstalled the previous version.
I saw some very interesting changes and I would like to update.

Is it normal that the layout changes (modules positions) ?
Also that CART module was not working after adding an article to the shop.

The Facebook function was working now (in previous it didn't worked in my case)

best regards,
Jan

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

  • Posts: 81853
  • Thank you received: 13143
  • MODERATOR
11 years 10 months ago #60861

Hi,

Layouts shouldn't change with new versions.
But I would need more information in order to help you.
Could you give a link to the page where the layout was changed and explain what changed ?
Could you also tell us what is not working in the cart module ?

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

  • Posts: 88
  • Thank you received: 0
11 years 10 months ago #60900

Hi Nicolas,


I have installed the update again.

1) Cart module is working fine now.

2) The layout has changed of the productpage. (I can live with this...) Only the layout need to be adapted of the product page ?
But I have no idea how to arrange this. Any tips ?
I want to center the the image or work in 2 columns
I want to try to set the specifications next to the image (right side)

3) After selecting a variant in a product there is a bug... check it out .
after selecting another type of cover the failure happens...
depotjesfabriek.be/index.php/DE/online-s...ct/43-50-ml-standard
Can you please fix this asap ?

4) Carousel on the product page is missing


br
Jan

Last edit: 11 years 10 months ago by jan2.

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

  • Posts: 81853
  • Thank you received: 13143
  • MODERATOR
11 years 10 months ago #60902

That's a special case which only happens when you have variants without displaying the dimensions with the schema.org plugin published.
We didn't run into that problem during our tests.
If you want a quick fix, just disable the schema.org plugin for now on your website.

We'll look for a proper fix and publish a new release in a few days with other fixes.

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

  • Posts: 81853
  • Thank you received: 13143
  • MODERATOR
11 years 10 months ago #60908

Please try to change the lines:
$pattern='/<span id="hikashop_product_weight_main"/';
$replacement='</div> <span id="hikashop_product_weight_main"';

to:
$pattern='/<(span|div) id="(hikashop_product_weight_main|hikashop_product_width_main|hikashop_product_length_main|hikashop_product_height_main|hikashop_product_characteristics|hikashop_product_options|hikashop_product_custom_item_info|hikashop_product_price_with_options_main|hikashop_product_quantity_main)"/';
$replacement='</div> <$1 id="$2"';

in the file plugins/system/hikashopproducttag/hikashopproducttag.php and that should solve the problem.

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

  • Posts: 88
  • Thank you received: 0
11 years 10 months ago #60917

Hello Nicolas,

thank you for your fast reply !

1) I have replaced the code .... but nothing happened.


if($default_params == 1){
$pattern='/class="hikashop_product_price_main">/';
$replacement= 'class="hikashop_product_price_main"><div itemprop="offers" itemscope itemtype=" schema.org/Offer ">';
$body = preg_replace($pattern,$replacement,$body,1);
$pattern='/<(span|div) id="(hikashop_product_weight_main|hikashop_product_width_main|hikashop_product_length_main|hikashop_product_height_main|hikashop_product_characteristics|hikashop_product_options|hikashop_product_custom_item_info|hikashop_product_price_with_options_main|hikashop_product_quantity_main)"/';
$replacement='</div> <$1 id="$2"';
$body = preg_replace($pattern,$replacement,$body,1);
$pattern='/class="hikashop_product_price hikashop_product_price_0/';
$replacement='itemprop="price" class="hikashop_product_price hikashop_product_price_0';
$body = preg_replace($pattern,$replacement,$body,1);
}
$pattern='/id="hikashop_product_vote_listing"/';
$replacement='id="hikashop_product_vote_listing" itemprop="reviews" itemscope itemtype=" schema.org/Review "';


2) Also the plugin schema.org is not in the plugin manager.


br
Jan

Last edit: 11 years 10 months ago by jan2.

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

  • Posts: 81853
  • Thank you received: 13143
  • MODERATOR
11 years 10 months ago #60920

Please download again the install package from our website and update. That will fix the problem.

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

  • Posts: 88
  • Thank you received: 0
11 years 10 months ago #60921

Hi,

the update gives an error after opening the product page

string(299) "/<(span|div) id="(hikashop_product_weight_main|hikashop_product_width_main|hikashop_product_length_main|hikashop_product_height_main|hikashop_product_characteristics|hikashop_product_options|hikashop_product_custom_item_info|hikashop_product_price_with_options_main|hikashop_product_quantity_main)"/"
Fatal error: Class 'dbug' not found in /home/thejarfa/public_html/plugins/system/hikashopproducttag/hikashopproducttag.php on line 26

Last edit: 11 years 10 months ago by jan2.

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

  • Posts: 81853
  • Thank you received: 13143
  • MODERATOR
11 years 10 months ago #60922

Please unpublish the schema.org plugin which is called "HikaShop Microdata on Product Page plugin".

The following user(s) said Thank You: jan2

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

  • Posts: 88
  • Thank you received: 0
11 years 10 months ago #60924

It is working, yes!
thank you Nicolas !

:) :) :laugh: :laugh:

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

Time to create page: 0.070 seconds
Powered by Kunena Forum