How to not consider free items when calculating shipping costs? - magento

In my shop shipping is free on orders over $75.
I want to add a free item A to the cart when the customer purchases a specific product B.
Item A is set to be free of charge by:
quoteItem->setOriginalCustomPrice(0);
This works fine so far. But for the calculation of the shipping costs still the original price of A is used. As a result, shipping is free when the original price of A and the price of B add up to be over $75.
Does anyone know how to fix this?

As #cads mentioned in this comment:
For Magento 1.4.1.1 and above you need to set $quoteItem->setCustomPrice(0); and $quoteItem->setOriginalCustomPrice(0); to get the right shipping cost.

Related

Magento product quantity wise price increase

I want to create only one product in magento whose total price will be $50 more for any quantity less than 100 and $35 more for any quantity more than 100 while being added to cart.I have tried price rules but it seems to be not working.Please help me how do i create it.The product also includes additional parameters like tier pricing
These are the tier prices
You need to create a singled product and add tier pricing for it.
Magento knowledge base shows how to do it: http://www.magentocommerce.com/knowledge-base/entry/how-do-i-use-tier-pricing

CS cart shipping condition

I am using CS cart and I have problem with my shipping method. Basically I provide free shipping on specific products when their total exceeds 500 and other products have shipping even those that exceed 500 or not.
The problem is that when our free shipping products exceed $500 and if we choose some other products so it calculates as a free shipping. How can I modify its calculation?
to use different shipping charges for products within one order, you can set different suppliers for different products: the products from the “free shipping for products over $500” category will be assigned to one supplier with the free shipping method, while the rest of your products will be assigned to the other supplier with another shipping method. As a result, shipping cost will be calculated separately for several products in one order.
Here is the instruction on how to set up the suppliers’ functionality:
http://kb.cs-cart.com/suppliers-functionality
CS-Cart Team
http://www.cs-cart.com

No payment methods display for free products with shipping costs

We are creating a Magento store with many educational products. Many products are free booklets, but there are shipping costs for the order.
If I create an order with only free products and go through checkout, no payment methods will display and I can't complete the order.
How do I get the payment methods to show?
Some additional information:
If I add a paid product to my cart, the payment methods will display.
Some products are completely free (no shipping either). We gave them a weight of zero. If you only order those, it does work like it should. (No payment required.)
There is only one shipping method available: Table Rates
I have solved this issue myself. Here's how:
First, make a local copy of the file app/code/core/Mage/Payment/Block/Form/Container.php (Copy the file to: app/code/local/Mage/Payment/Block/Form/Container.php)
Then go to line 119 and change:
$total = $quote->getBaseSubtotal();
to
$total = $quote->getBaseGrandTotal();
I've tested the change by placing an order of free products and finishing the order in the back-end. It all seems to work properly.

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 USPS - What if product weight is not available?

I have one query for USPS shipping method in Magento. If I don’t know and i don’t enter the weight of the product in magento, then how USPS will count the cost?
I want where if total amount to pay is over $50 then FREE Shipping will go else it will show fix $5 rate for USPS. I almost have same weight small products so I don't want cost to be calculated. I just want user to know that via USPS, their parcel will come and for that they need to pay more $5 charge.
Can anyone give me idea for what I want to achieve? Any tip will be great help.
Maria
you can create a extension for shipping query that include some shipping carrier of DHL UPS and more.
1.create a SOAP for get data from MySQL
2.declare & create for magento on checkout.
example:
www.chinabuye.com
I was customize shipping fee on this site

Resources