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 do I decrease the decimals for prices in dataflow product export? 
 
VanGilsWeb
Sr. Member
 
Total Posts:  97
Joined:  2010-03-26
 

When we export products with dataflow advanced profiles, all prices are exported with 4 decimals.
We want to export prices with 2 decimals. How can we accomplish that?

 
Magento Community Magento Community
Magento Community
Magento Community
 
jbalca
Jr. Member
 
Avatar
Total Posts:  11
Joined:  2013-02-04
 

Are you using the getFinalPrice funtion?

Something like this:

$item->getFinalPrice()

Cheers,
José

 
Magento Community Magento Community
Magento Community
Magento Community
 
VanGilsWeb
Sr. Member
 
Total Posts:  97
Joined:  2010-03-26
 

I’m using dataflow advanced profiles XML:

<action type="dataflow/convert_mapper_column" method="map">
    <var 
name="map">
        <
map name="special_price"><![CDATA[Prijs]]></map>
    </var>
    <var 
name="_only_specified">true</var>
</
action>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top