Hey
In a normal situation the total price of a shopping cart is based upon the products inside + handeling/shipping etc.
I've been looking for a way to change the total price of the shopping cart based upon some custom calculations.
The custom calculations are required due to some question tax-calculations that are required for our market.
So far i figured out that you can get a 'grand_total' of your order
$quote = Mage::getSingleton('checkout/session')->getQuote(); $quoteData= $quote->getData(); print_r($quoteData['grand_total']);
But i cannot find a way to change this and have this reflected in the total price of the shopping cart/order. Is this even possible?
Regards
Jasper
Solved! Go to Solution.
Hi,
This is possible:
Step 1 : Direct change in core file go to : app\code\core\Mage\Checkout\Block\Cart\total.php file and modify accordingly
step 2: create custom module extend cart\total.php file and change the code accordingly
Thanks,
Dibyajyoti
Hi,
This is possible:
Step 1 : Direct change in core file go to : app\code\core\Mage\Checkout\Block\Cart\total.php file and modify accordingly
step 2: create custom module extend cart\total.php file and change the code accordingly
Thanks,
Dibyajyoti
I think the correct way to solve your problem is to implement a new shopping cart price rule.