Skip to main content

iI want to adddadd a custom "text_area" attribute after the short description in products page

attribute_id : 1109, attribute_code : rerestock

so I put the code in view.phtml

<div class="rerestock">
     <?php echo $_product->getrerestock(); ?> 
</div>

but I also want to put

 <?php echo 'RESTOCK INFORMATION ?>

only 'rerestock' attribute is filled with some information.

i want to addd a custom "text_area" attribute after the short description in products page

attribute_id : 1109, attribute_code : rerestock

so I put code in view.phtml

<div class="rerestock">
     <?php echo $_product->getrerestock(); ?> 
</div>

but I also want to put

 <?php echo 'RESTOCK INFORMATION ?>

only 'rerestock' attribute is filled with some information.

I want to add a custom "text_area" attribute after the short description in products page

attribute_id : 1109, attribute_code : rerestock

so I put the code in view.phtml

<div class="rerestock">
     <?php echo $_product->getrerestock(); ?> 
</div>

but I also want to put

 <?php echo 'RESTOCK INFORMATION ?>

only 'rerestock' attribute is filled with some information.

edited tags
Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239
Source Link

Adding a custom attribute in product detail page in magento

i want to addd a custom "text_area" attribute after the short description in products page

attribute_id : 1109, attribute_code : rerestock

so I put code in view.phtml

<div class="rerestock">
     <?php echo $_product->getrerestock(); ?> 
</div>

but I also want to put

 <?php echo 'RESTOCK INFORMATION ?>

only 'rerestock' attribute is filled with some information.