cancel
Showing results for 
Search instead for 
Did you mean: 

Add Product Code for every one

Add Product Code for every one

Hai everyone..

 

I want to add product code like BX001,BX002 for every one product. I am used Magento version is 1.8.1 CE

 

if any free extension is there? or else we customize the code?

 

Can you help me.

2 REPLIES

Re: Add Product Code for every one

This is a Magento 2 forum branch.

Re: Add Product Code for every one

Hai every one..

 

I found solution for this. if you need to add code for each product means follow below steps

 

step 1 : 

When you add product, then put SKU value as product code like BX001,BX002

 

Step 2:

Add single line code into below file location

 

app\design\frontend\default\sm_papa\template\catalog\product\list.phtml

app\design\frontend\default\sm_papa\template\catalog\product\view.phtml

 

<h1><?php echo $this->__('SKU') . $this->htmlEscape($_product->getData('sku'));?>

 

I hope this useful.