Get subtotal minus discount php code - Magento
$15-25 USD / giờ
Hello, this is the line of codes that I have on my [url removed, login to view] page:
var google_conversion_value = <?php echo Mage::app()->getStore()->roundPrice($order->getSubtotal())?>;
<?php echo Mage::app()->getStore()->roundPrice($total)?>
This gets the subtotal and the total in Magento.
I would like to get the subtotal - discount.
Example:
229.00 (subtotal) - 31.90 (discounts) = 197.10 should be reported.
Right now 229.00 (only subtotal) is being reported.
Please bid if you can do this or give me the code.
ID dự án: #6895426
Về dự án
7 freelancer chào giá trung bình $18/giờ cho công việc này
Hi, I will do this job, I am magento expert, can we discuss about requiement ? waiting for your good response.
Hi there, I am an expert mangento developer with 8 years of experience. i can provide you this code and m even ready to work with you on this project if you like. Looking forward to hear from you. Regards, Saj Thêm