trying to divide two attributes by each other to get the value of Price Per unit.
<?php echo $this->escapeHtml( $_item->getFinalPrice() / $_item->getPackSize()) ?>
Not sure what im missing but it shows blank on the frontend. any help is appreciated.
Simplified: When i enter a Price and I enter the custom attribute "Pack Size" and save the Price per piece should populate automatically.
Price / Packsize = price per piece