product code is missing on the product detail page

  • Posts: 88
  • Thank you received: 0
12 years 2 months ago #66400

Hi,

product code is missing on the product detail page.
I only see the product code in the product overview.

"Default parameters for products" in the Display menu
Display product code is activated.

Br
Jan

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

  • Posts: 13201
  • Thank you received: 2322
12 years 2 months ago #66431

Hi jan2,

Can you check if you have the code:

		<?php if ($this->config->get('show_code')) { ?>
		<span id="hikashop_product_code_main" class="hikashop_product_code_main">
			<?php
			echo $this->element->product_code;
			?>
		</span>
		<?php } ?>

In the view "product / show_tabular" in HikaShop > Display > Views.

This is the same code used for the product overview.
You can remove the check (if), to always display the product code.

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

  • Posts: 12953
  • Thank you received: 1778
12 years 2 months ago #66434

Hi Jan,

Do you have this CSS code in your front-end CSS file ("Hikashop->System->Configuration->Display") ?

.hikashop_product_code_main{
display:none;
}

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

  • Posts: 88
  • Thank you received: 0
12 years 2 months ago #66506

The CSS file is OK
and the file "product / show_tabular" is also ok.

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

  • Posts: 12953
  • Thank you received: 1778
12 years 2 months ago #66507

I just wanted to tell you to remove this CSS code :).

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

  • Posts: 88
  • Thank you received: 0
12 years 2 months ago #66508

do you mean I have to remove the complete code ?
also the CSS ?

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

  • Posts: 88
  • Thank you received: 0
12 years 2 months ago #66509

:)
it is working !
thank you

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

Time to create page: 0.086 seconds
Powered by Kunena Forum