Remove product code from product detail title

  • Posts: 17
  • Thank you received: 0
8 years 10 months ago #247025

-- url of the page with the problem -- : www.uvgear.elements-chartreuse.co.uk/index.php/uvlights
-- HikaShop version -- : up to date
-- Joomla version -- : 3.5

Hi

I see that there is an option to toggle on / off the "Display product code" in Global Configuration.

I would like the product code to show on the product landing page (as it currently is set) - but I do NOT want the product code to show on the product detail page in the product title - as it currently does. Is there a way to do this? I have tried to fiddle with the CSS code, to no avail.

Please advise. Thank you

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

  • Posts: 12953
  • Thank you received: 1778
8 years 10 months ago #247028

Hello,

If you only want it to be displayed in defined pages, then you should use some CSS code to hide it good pages.

Also can you give us more information about what you exactly mean by "the product landing page" ?

Thank you.

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

  • Posts: 17
  • Thank you received: 0
8 years 10 months ago #247092

What I mean by product landing page is the product category page (i.e. where all of the products in a category are displayed). An example of such a page is www.uvgear.elements-chartreuse.co.uk/index.php/uvlights (this website still under construction)

If you then click on one of the products on this page, you will see that the product code gets added to the product title. I don't want this product number to show like this. The product code shows on the product category page (on its own under the image) - and I want that to remain as it is how I want it to show.

When I toggle the Display product code" in Global Configuration, it turns both on or off. Any suggestions?

Thanks

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
8 years 10 months ago #247101

Hello,

This kind of code can able you to chose on which page display your product code.

#hikashop_category_information_menu_345 span.hikashop_product_code_list {
    display: none;
}



Note : That "#hikashop_category_information_menu_345" target your listing, and so with this code example the product code won't be display.
You just have to find listing or page id and add this kind of code in your Css.

Hope this will help you.

Regards

Attachments:
Last edit: 8 years 10 months ago by Philip.

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

  • Posts: 17
  • Thank you received: 0
8 years 10 months ago #247172

Hi Philip,

I am not entirely clear what you mean. I cant really understand what you are saying.

I am not trying to remove the code from the page you have given as an example. I am trying to remove the product code from displaying on the product detail page - an example image is provided.

You can see that the product code (UV971) is displayed at the end of the product title. I want to remove this product code on this page, but leave the product code as it is on the product category page. Please can you advise. If you want to speak French - please do that as I can speak French, but your English does not make a lot of sense!

Thanks

Attachments:

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

  • Posts: 2143
  • Thank you received: 747
8 years 10 months ago #247174

Hi,

Then use instead the following CSS:

.hikashop_product_page span#hikashop_product_code_main {
    display: none;
}
This will remove the product code from all product pages, but not product listings.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 8 years 10 months ago by lousyfool.
The following user(s) said Thank You: Jerome, Mohamed Thelji, Saunders

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

  • Posts: 17
  • Thank you received: 0
8 years 10 months ago #247208

That worked. Thank you for this.

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

Time to create page: 0.116 seconds
Powered by Kunena Forum