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

Adminhtml Product Grid - additional price declarements
 
Erik Visser
Jr. Member
 
Total Posts:  6
Joined:  2008-11-08
Netherlands, Huizen
 

Hi all,

I am looking for a way to use the price-attribute values in the way they are stored, as decimals, in the product grid page in Magento Admin.

I have got two price values, which I want to divide through each other, but, unfortunately, I’m getting the ‘Division by zero’ -error, probably because the price-values are formatted in to strings.

Does anyone know how to create a backend way of parsing the price-attribute, e.g. integer, float or decimal?

Kind regards,
Erik

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top