- Posts: 218
- Thank you received: 6
How do i show product code on frontend?
- woonydanny
-
Topic Author
- Offline
Less
More
14 years 7 months ago #37309
by woonydanny
How do i show product code on frontend? was created by woonydanny
How do i show the SKU/Product Code on the frontend product page. The customer needs to see the Product Code as well.
thanks
thanks
Please Log in or Create an account to join the conversation.
14 years 7 months ago - 14 years 7 months ago #37317
by leowaqqas
Replied by leowaqqas on topic Re: How do i show product code on frontend?
In your CSS file
comment display:none; as below
.hikashop_product_code_main{
/**display:none;**/
}
I hope this will help.
comment display:none; as below
.hikashop_product_code_main{
/**display:none;**/
}
I hope this will help.
Last edit: 14 years 7 months ago by leowaqqas.
Please Log in or Create an account to join the conversation.
- woonydanny
-
Topic Author
- Offline
Less
More
- Posts: 218
- Thank you received: 6
14 years 7 months ago #37423
by woonydanny
Replied by woonydanny on topic Re: How do i show product code on frontend?
thanks, that now shows the product code but it is just added to the end of the product name.
I would like to actually have it show like
Product Code: SKLT
down next to the variant dropdowns.
how might this be done?
I would like to actually have it show like
Product Code: SKLT
down next to the variant dropdowns.
how might this be done?
Please Log in or Create an account to join the conversation.
14 years 7 months ago #37460
by leowaqqas
Replied by leowaqqas on topic Re: How do i show product code on frontend?
in your components\com_hikashop\views\product\tmpl\show.php (use override)
move these lines of code where you want to show them
<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php echo $this->element->product_code;?> <br /><br />
</span>
move these lines of code where you want to show them
<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php echo $this->element->product_code;?> <br /><br />
</span>
The following user(s) said Thank You: woonydanny
Please Log in or Create an account to join the conversation.
Time to create page: 0.205 seconds