Magento Discount ANd Tax Calculation - magento

Kindly have a look the image showing the checkout details on my magento store. The subtotal price of 6929.82 is correct - to which a discount of 10% is to be applied. The discount amount of 692.98 is also correct. However I cannot figure out how in the world could magento calculate the difference of 6929.82 and 692.98 as 6321.94 .
Though I am using a custom theme but I have tried restoring to default theme and the result remains the same which tells that the problem is either in the backend settings or in the core magento files. Further into the calculations - application of 14% tax after discount is calculated correctly and added to the figure.
Can anybody help me out in locating the setting that is leading to this strange behaviour from Magento.

Looks like its a bug. See https://magento.stackexchange.com/questions/2900/completely-incorrect-tax-calculation
Try the following solution
app/code/local/Mage/Tax/Model/Sales/Total/Quote/Tax.php
Line 144
if('cart' == Mage::app()->getRequest()->getControllerName()){
$address->setGrandTotal($address->getGrandTotal() + $address->getTaxAmount());
$address->setBaseGrandTotal($address->getBaseGrandTotal() + $address->getBaseTaxAmount());
} // if

Maybe there is Shipping&handling total is not displayed (amount 85.1). You can check all totals and their value through database, review sales_flat_quote_address table.

After a lot of searching for possible solutions I could not come across any full proof solution to my problem. Modifying the Core Magento files is also something I would not recommend unless and until you are very sure what all areas of your website it will affect.
The solution I have implemented is to set the catalog prices as "excluding tax" in Tax Settings and thereafter manually changing all product prices by deducting the tax applicable on them.
e.g Before Implementing the solution:
Tax Setting - Catalog prices include tax
Price of Item (as entered in product specification)- 100 {subtotal 86 + 14#14% tax}
After Solution
Tax Setting - Catalog prices exclude tax
Price of Item (as entered in product specification)- 86
After implementing this I found the discount totals and everything was being calculated correctly. Since I had only 400 odd products I did it manually over the week just to be sure. However for larger number of products you can also run a query through phpmyadmin(etc) to change the values directly in the database. Do remember to backup your DB before doing so.

Related

magento - price is different for cart and catalog

Problem:
Some shown price in the catalog(right one) is different from the shown price in the cart(wrong, old price).
Other information:
I compared some - working and not - Products and I found no
difference (Dashboard and CSV.table).
The Data Base contains about 300.000 Products
I'm using Magento 1.8
A common reason for price difference may be outdated product flat and/or price index. Can also be misconfiguration of FPC/Varnish if present

Magento shopwide price reduction without needing to add a catalog price rule

I have added a shopwide catalog price rule of 20% on all products. This seems to work. However, for some reason after a re-index I have to reset this price rule time and time again. As most of my shop runs with automatic imports and cron jobs - I would somehow like to hardcode this rule in. So I don't need to reset the rule every time.
Also the fact that my price is tagged as special price is something I would like to get rid of. The price is just the initial price minus 20%. This is not a special offer - it's just the price how I want to offer it to my customers.
Up till now I haven't found a solution to my problem - or where to start. Suggestions would very welcome!
Use shopping cart price rules
admin/promo_quote/
And set the discount of 20% there. It will apply to the cart and you won't have to the catalog price rules every time.
If you need more fine-grain control, check out:
http://www.amasty.com ( unaffiliated but happy with dozens of their extensions )

Magento - Catalog Price Rules only working on some of the products

I want to apply a catalog price rule only on a certain category.
This works to a certain extent. The category has 109 products, but I can only see the reduced price on the frontend of like 20 of the 109 products. The rest is unchanged.
What could be the cause of this? If I manually edit the products the price rule is applied, but having to do this for 80+ products is a bit too much.
Thanks in advance
Magento has a weird way of storing and indexing pricing when there are pricing rules.
Try to run a cron job every few minutes or so.

Magento - How can I add a non-taxable fee to a taxable product?

We are using Magento EE 1.12. We have associated fees with individual products that cannot be taxed, however the product itself can be. The desired solution will be similar to a custom option where the fee is included on the same line item as the product and included in the product's price and therefore in the order subtotal. The only problem with a custom option is that the fee is taxed along with the product.
We've gone through several scenarios but I think the most likely solution is to use a custom option, but after the tax has been calculated we will reduce the tax to the correct amount. We tax on the subtotal and shipping. We will have access to the amount of fees so we can get the tax on that total and reduce the order tax amount.
Does this seem like a good solution? Does anyone have other ideas?
Make it a bundle product, and put in a product which is not taxable.

Magento - Show all items including tax on Paypal order summary

When checking out with Paypal standard on Magento, the order summary shows all prices not including tax, then the tax is added on at the end. See the picture below:
I need it so that rather than adding the tax separately at the end, the summary is kept nice and simple like this:
Item 1: £25.00
Shipping: £2.75
Total: £27.95
I have set all my Magento settings to include tax in all prices (see below):
I'm not sure what else I can do to get it to transfer the prices across including tax only. Does anybody have any experience with this? I'm hoping there's no need for a core hack.
Any help would be much appreciated.

Resources