Get subtotal minus discount php code - Magento

Sedang Disiapkan Disiarkan Dec 22, 2014 Dibayar semasa penghantaran
Sedang Disiapkan

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 Projek: #6895426

Tentang projek

7 cadangan Projek jarak jauh Aktif Dec 22, 2014

7 pekerja bebas membida secara purata $18/jam untuk pekerjaan ini

ubedarab

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

$25 USD / jam
(56 Ulasan)
5.4
svitja

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

$15 USD / jam
(1 Ulasan)
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 Lagi

$16 USD / jam
(0 Ulasan)
0.0