What code writes the product-code...

  • Posts: 56
  • Thank you received: 0
12 years 2 days ago #48247

In the show_default.php there´s this code at the top of the page:

<span id="hikashop_product_code_main" class="hikashop_product_code_main">
			Art-Nr: <?php
			echo $this->element->product_code;
			?>
		</span>
I want to know what php-file that populate the product-code on the frontend-page for the specific product.
Now there is a static word Art-Nr i the file but if I choose another charistic of the product the static word disappear.
So I thought that if create the Art-Nr-word in the product-code-file that wil solve the problem...

/Micke

Last edit: 12 years 2 days ago by Micke_skane.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 2 days ago #48309

You should do the same modification in the file "show" of the view "product" where the variants product code is displayed.

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

  • Posts: 56
  • Thank you received: 0
12 years 1 day ago #48411

Now It´s behaves like I wanted!
Thanks!

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

Time to create page: 0.058 seconds
Powered by Kunena Forum