title: Add additional product price with mangento base product price
body: <p>I want to add additional price with product(simple) price, I am trying to do this with the help of custom attributes. I add a custom attribute "Margin Price" and I want to add up this custom attribute value (margin price) with the base price of the product in the template file.</p>
  
  <p>I am updating all product price after each 5 minutes by cron job, thats why I think I have to do add margin price with base product price by this way.</p>
  
  <p>I added it successfully in product list page and in product view page, but have problem with how to add this margin price with base price in the cart and onepage checkout?</p>
  
  <p>Here is the code on the product list page and same for the product detail page which works fine for me in magento 1.6.x.</p>
  
  <p><code></p>
  
  <pre><code>$regularPrice = number_format($_product-&gt;getFinalPrice(), 2); 
   //echo $regularPrice =  $this-&gt;getPriceHtml($_product, true 
  $priceWithoutComma = str_replace(",", "",$regularPrice);
  settype($priceWithoutComma, "float");
  $marPrice = $_product-&gt;getMarginPrice();
  settype($marPrice, "integer");
  $finalPrice = $priceWithoutComma + $marPrice;
  echo $finalPrice.Mage::app()-&gt;getLocale()-&gt;currency(Mage::app()-&gt;getStore()-&gt;
  getCurrentCurrencyCode())-&gt;getSymbol();
  </code></pre>
  
  <p></code></p>
  
  <p>I am doing this right way or I have to changes the whole process?</p>