cancel
Showing results for 
Search instead for 
Did you mean: 

PHP variables for product name , category and total price

PHP variables for product name , category and total price

Hello,

On product pages > I use tabs > I want to embed the below variables into the .phtml file to render the :

PRODUCT NAME

PRODUCT CATEGORY

PRODUCT PRICE (TOTAL , ROUNDED).

 

Can someone provide these 3 PHP variables ?

eg something like :


<?php echo $this->getPriceHtml($_product, true) ?>

<?php echo $this->getCategoryHtml($_product, true) ?>

<?php echo $this->getProductNameHtml($_product, true) ?>