Hi guys,
been attempting to get this working, however have ran into an issue that i can't seem to fix.
I have installed the application_top.php as per instructions
Uploaded files
installed module
installed addons
This is my code in shopping_cart
require("includes/application_top.php");
include_once (DIR_WS_FUNCTIONS.'easy_discount.php');
$easy_discount->reset();
if ($cart->count_contents() > 0) {
include(DIR_WS_CLASSES . 'payment.php');
$payment_modules = new payment;
}
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHOPPING_CART);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHOPPING_CART));
if ($cart->count_contents() == 2) {
$easy_discount->add('QD','Cart discount',4.9);
} else {
$easy_discount->clear('QD');
}
Works fine however in checkout_confirmation i have the standard pricing with no discount.
I have fiddled with the sort order to no prevail, and yes it is installed.
Any ideas?