Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How add price to meta description? 
 
ixoster
Member
 
Total Posts:  51
Joined:  2008-08-06
 

How i can add product final price to meta description, i know need edit head.phtml file in theme. I try like this:

<meta name="description" content="<?php
echo $this->getProduct()->getFinalPrice() ?>”

but didnt work, any ideas what need add?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ixoster
Member
 
Total Posts:  51
Joined:  2008-08-06
 

I try

<meta name="description" content="<?php 
echo 
$this->getPriceHtml($_product) ?>”
again nothing, can any body help me, thanks!
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top