Hello,
you will need to change the shortcode content it is currently display on that code. Open the file “amazon-product-price.php” and go to the function price_handler() and change this code
echo '<p>';
if(!empty($price) && !empty($MSRP))
{
echo 'Retail Price: '.$MSRP2.'<br>';
echo 'Lowest Price: '.$price.'<br>';
$MSRP2 = number_format($MSRP /100,2);
$percent = ($Savings/$MSRP2);
echo 'Saveing Percent: '.number_format($percent,2).'%<br>';
}
elseif(!empty($price) && empty($MSRP))
{
echo 'Price: '.$price.'<br>';
}
echo '</p>';
to
$result = '<p>';
if(!empty($price) && !empty($MSRP))
{
$result .= 'Retail Price: '.$MSRP2.'<br>';
$result .= 'Lowest Price: '.$price.'<br>';
$MSRP2 = number_format($MSRP /100,2);
$percent = ($Savings/$MSRP2);
$result .= 'Saveing Percent: '.number_format($percent,2).'%<br>';
}
elseif(!empty($price) && empty($MSRP))
{
$result .= 'Price: '.$price.'<br>';
}
$result .= '</p>';
return $result;
Then it will work as you want. If not contact me on wptricksbook.com via contact request form.
Thanks
thank you so much that works!
OK thank you if any other work contact me.