Skip to main content

Display problem when changing variants

More
15 years 4 months ago #15822 by rsarpong
Hello,

Remember when I asked how to place the product description and I had all kind of problems with the images and display www.hikashop.com/en/support/forum/3-bug-...lem-with-images.html ?

We worked that out but now when I change a characteristic of a product the display goes bad again. The child images are in the large image again and the description is displayed incorrectly. Please see what I mean by testing all four products on this listing page daydreamercreative.cloudaccess.net/tees.html . Thanks in advance.

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

More
15 years 4 months ago - 15 years 4 months ago #15833 by nicolas
If you have variants, you should use the CSS:
.hikashop_product_main_image_thumb{height: 310px !important;}

instead of: #hikashop_main_image_thumb_div{height: 310px !important;}
Last edit: 15 years 4 months ago by nicolas.

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

More
15 years 4 months ago #15860 by rsarpong
That solution did not work. I am still having the same issue.

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

More
15 years 4 months ago #15861 by nicolas
The class name was not good. I changed it in my previous post.

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

More
15 years 4 months ago #15865 by rsarpong
Thanks. The first bullet is still moved when I change the variant. Is this something I have to change via css or edit description in the HTML?

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

More
15 years 4 months ago #15867 by nicolas
It's because you don't have the same number of br tags for the main product quantity zone and the variant quantity zone.
That's something which was corrected in a previous version of hikashop so I suppose that it's because you have override the views before updating and thus didn't get that modification.
You should check the file show of the view product for the <br/> tags and make sure that you have the same number for the main product and the variants.

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

More
15 years 4 months ago #15868 by rsarpong
I'm a bit confused. I counted 7 <br> tags in the product zone and 4 in the variant zone. Do I add to the variant zone or take away from the product zone? And if I do either won't I change the display of the product page?

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

More
15 years 4 months ago - 15 years 4 months ago #15870 by nicolas
You apparently need to add one at the end of the quantity area of the variant zone.
Last edit: 15 years 4 months ago by nicolas.

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

More
15 years 4 months ago #15871 by rsarpong
My man. Thanks

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

Time to create page: 0.214 seconds
Powered by Kunena Forum