Remove Characteristic Name from Detail Page

  • Posts: 242
  • Thank you received: 0
13 years 1 month ago #27792

Hello All,

I need to remove the Characteristic Name from the Product Detail Page but not in the Cart. I was provided a solution in an earlier version of HikaShop by editing the product.php file, but I can't find the relative code in the current version of that file. This is needed because of a problem specific to the template I'm using.

The original solution was revealed in this thread, www.hikashop.com/en/support/forum/3-bug-...applied-in-cart.html , although the original topic of that thread concerned something else.

Could you please tell me what needs to be modified in v1.5.4?

Thanks,
Ed

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 1 month ago #27810

Hi,

With recent releases, it's now way easier to do it. No hack is needed anymore.

For the characteristics name there is the class hikashop_product_variant_subname
So, for the product page, you can add the CSS:
.hikashop_product_page .hikashop_product_variant_subname{
display: none;
}

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

  • Posts: 242
  • Thank you received: 0
13 years 1 month ago #27840

Nicolas,

Thanks for the prompt reply and indeed that is a better way than having to hack the code, but unfortunately it did not work for me. I will send you a link to my development site via email so you can take a look.

I'm using Hikashop 1.5.4 with Joomla 1.5.24 and added the provided css to the default 1.5.4 css file.

Thanks,
Ed

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 1 month ago #27857

I can see that you have again your rockettheme template which is parsing the spans on your website. Because of that, the spand around the characteristic text is removed and the CSS does not do anything. So you should turn off that span processing option of your template.

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

  • Posts: 242
  • Thank you received: 0
13 years 1 month ago #27866

Thanks Nicolas,

I found an option in the Gantry Control Panel for that template called "Build Title Spans". Setting that option to "Off" allows the Characteristic Name to display properly after removing the CSS patch above. I'll have to see if that causes problems someplace else, but I think the option primarily has to do with the ability to have the first word of a title be a different color from the rest. If that's all it affects, no problem.

I do know that this particular problem is not seen with other Rocket Themes.

Regards, and congratulations on your anniversary of HikaShop!
Ed

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

Time to create page: 0.059 seconds
Powered by Kunena Forum