Variants Titles in Product View

  • Posts: 25
  • Thank you received: 3
7 years 3 months ago #286718

When in product view, the variants in List View show the titles for the variant name, description, and price. Where in the configuration can I manipulate these titles?

Really I only need to manipulate the DESCRIPTION and PRICE titles. First, if there is no description in the variants for a product, shouldn't the title not be shown at all? It still shows for an empty column. Second, the title for PRICE is left justified, which makes it appear way to far left because the price is right justified.



What is the best way to remove the DESCRIPTION title, and move the price to be right justified?

Attachments:

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

  • Posts: 83778
  • Thank you received: 13564
  • MODERATOR
7 years 3 months ago #286722

Hi,

The description and price titles are translations so you can use translation overrides to change them :
www.hikashop.com/download/languages.html#modify
The description column will only appear if there is something in the description of at least one variant of the product, even if you just add an empty space, which is probably the case here. So please check that by editing the variants of that product in the backend.
The change the justification of the price title, you can use CSS:
www.hikashop.com/support/documentation/1...ize-the-display.html

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

  • Posts: 25
  • Thank you received: 3
7 years 3 months ago #287488

Thanks for your reply Nicolas.

I checked the descriptions of all the variants and there were no spaces. I deleted all I could just in case but the title "Description" still shows up. I checked this several times on all products. Is there another way to get rid of that column?

I also tried to change the CSS to align the titles right, but that line on the style-default.css makes all the titles align right. That makes the "Bud Balm Sizes" title go in the wrong place. Is there a way to right justify only the Price title?

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

  • Posts: 83778
  • Thank you received: 13564
  • MODERATOR
7 years 3 months ago #287501

Hi,

1.
I can guarantee you that there are empty spaces. I see them in the HTML of your page.
If you don't see them, it might be your HTML editor playing tricks to you.
Changing the "editor" setting of the hikaShop configuration to "none" in order to use a simple textarea and edit your variants' description again. You should see the empty spaces.

2.
Sure, just use the appropriate CSS. For example:
#hikashop_product_characteristics .hikashop_product_price{
text-align: right !important;
}

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

Time to create page: 0.065 seconds
Powered by Kunena Forum