What code writes the product-code...

  • Posts: 56
  • Thank you received: 0
12 years 6 months 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 6 months ago by Micke_skane.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 6 months 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 6 months 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.053 seconds
Powered by Kunena Forum