After update to 1.6 productlayout damaged

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 2 months ago #62763



After teh update my productpage changed. Image goes over the text on the right and also the ADD TO CART button + quantity fielsd is gone.
What the f**** happened. Almost ready to go live and now everything is destroyed!

Help!!


I'll keep on trying!
Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 2 months ago #62766

Can you give a link and do a screenshot of your Files tab in the configuration ?

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 2 months ago #62767

I send you the link by PM.

Is this the image you want?



I'll keep on trying!
Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 2 months ago #62771

Please change the code:
<?php echo $height;?>

to:
<?php echo $width;?>

in the file "show_block_img" via the menu Display->Views and that will fix the image going over the text.

For the add to cart button issue, can you do a screenshot of the Display tab of the configuration ?

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 2 months ago #62774

Display


I'll keep on trying!
Attachments:
Last edit: 12 years 2 months ago by gasoline.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 2 months ago #62775

The "Display add to cart button" option of the configuration is deactivated. Please activate it.

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 2 months ago #62776

Thanks for the help, most is working now, but image still goes over text. I'v changed the code (2 times in file).

It changed after the update, that seems odd to me.


I'll keep on trying!
Last edit: 12 years 2 months ago by gasoline.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 2 months ago #62778

Please make sure that you're editing the file for your frontend template and not another template.

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 2 months ago #62780

If done that correctly.

I fopund with firebug this css code (is that the trick?):

element.style {
    clear: both;
    margin: auto;
    position: relative;
    text-align: center;
    width: 450px;
}

when I cahnge this via firebug to 375 (width of picture) it is alright. However can't see where this code is coming from.


I'll keep on trying!
Last edit: 12 years 2 months ago by gasoline.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 2 months ago #62781

Yes, the modification I provided is to do that change precisely.

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 2 months ago #62782

Ah, something went wrong, I only safed the first instance of it. Now it seems alright:

If changed the file to:

<div class="hikashop_product_main_image_thumb" id="hikashop_image_main_thumb_div<?php echo $variant_name;?>" <?php echo $style;?> >
          <div style="height:<?php echo $width;?>px;text-align:center;clear:both;" class="hikashop_product_main_image">
            <div style="position:relative;text-align:center;clear:both;width:<?php echo $width;?>px;margin: auto;" class="hikashop_product_main_image_subdiv">

This must be o.k.?


I'll keep on trying!

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 2 months ago #62785

Butt I see more thing changed, so I have to work again on my files.

Also the space between the producttext and the add to cart button is much more than it was before. Pffff.




I don't hope this kind of changes accure everytime there is a Hika update.


I'll keep on trying!
Attachments:
Last edit: 12 years 2 months ago by gasoline.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 2 months ago #62786

That padding comes from custom CSS :
.hikashop_product_bottom_part {
padding-top: 35px;
display: block;
}
in the file:
/templates/gcmstoreswebshop-V2/css/hikashop.css

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 2 months ago #62788

nicolas wrote: That padding comes from custom CSS :
.hikashop_product_bottom_part {
padding-top: 35px;
display: block;
}
in the file:
/templates/gcmstoreswebshop-V2/css/hikashop.css


Hi Nicolas,

I understand that, but why is the lay-out changed after the update. Seems that some (a lot) of files changed. Now I'm worried that with a new update I have to change my stylesheets again. That's a little bit inconvenient.

But for now everything seem to be fine.

What I really appreciate (and what helped me a lot) is your very quick response and great tips. Thanks.


I'll keep on trying!

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 2 months ago #62790

We added a lot of new features with lots of changes everywhere in HikaShop in that release (the 1.5.9-1.6.0 one). It's by far the biggest we ever did.
We've been testing it for more than a month but we can't test every possible configurations.
If HikaShop is a key piece of your live website, you should first try an update on a copy of your website before updating. Also updating a live website the next day after a new release is not a good idea.
It goes for HikaShop but it's the same for any piece of software. You never know if something is gonna go wrong. Joomla updates had issues on several occasions and a new update was published shortly after.
At one point, you have to publish the release and iron out the possible quirks rapidly so that users aren't impacted too much by the possible problems.

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

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
12 years 2 months ago #62856

I Understand, but my site is not yet live. But it seems to me dthat it is better to change al my custommade changes to the new version. Anyway, I will see. This shop has already taken far to much time.


I'll keep on trying!

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

Time to create page: 0.114 seconds
Powered by Kunena Forum