Get subtotal minus discount php code - Magento

Đang Thực Hiện Đã đăng vào Dec 22, 2014 Thanh toán khi bàn giao
Đang Thực Hiện

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.

Magento PHP

ID dự án: #6895426

Về dự án

7 đề xuất Dự án từ xa Dec 22, 2014 đang mở

7 freelancer chào giá trung bình $18/giờ cho công việc này

ubedarab

Hi, I will do this job, I am magento expert, can we discuss about requiement ? waiting for your good response.

$25 USD / giờ
(56 Nhận xét)
5.4
svitja

Предложение еще не подано

$15 USD / giờ
(1 Nhận xét)
1.4
sajjidkhan

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

$16 USD / giờ
(0 Nhận xét)
0.0