Magento - Add configurable product option surcharge to tier pricing - magento

When I set up configurable products and they have options that include surcharges (i.e. the 2XL costs +$2.00) and I select the option with the surcharge, the price itself updates, however, the tier pricing associated with that product does not. So, this is what my customer sees...
Product is $10, the 2XL is +$2.00. If they buy 10 or more, the product is $6. When they select the 2XL, the price updates from $10 to $12, but the tier pricing tells them they are still getting it for $6 each if ordering 10 or more. When they add 10 to their cart, they get the correct price of $8 (the $6 discounted price plus the $2 surcharge) but this is just a bad experience - they think they are getting a deal they were never intended to receive.
How can I add to it so that when the option with the surcharge is selected not only is the price updated, but so is the tier price that displays?

I would suggest looking at an extension called Simple Configurable Products:
http://www.magentocommerce.com/magento-connect/simple-configurable-products.html
It will allow you to make the product price dependent on the simple product that is related to the configurable product. You should be able to set up the tiered pricing on the simple product and have it reflected on the parent.
That extension is not 1.6 compatible out of the box, but the following addresses that issue:
http://www.magentocommerce.com/boards/viewthread/245061/

Magento allows tier prices for products and prices for individual options. However, tier prices for individual options are not supported. Still there are three ways of realizing tier prices for custom options. The last option is the best, from my point of view:
1. Displaying the surcharges on basket price rules:
It is the most elegant option if the products are imported with an import interface from an erp-system. In this case you can generate basket price rules, during or at the end of the import, which deliver discounts on each position. However, there is a major drawback: The discounts on the products are shown as one sum in the checkout. Therefore this option will only be useful in rare cases.
2. Better Configurable Products:
For each variant of the product an additional simple product is added. Better Configurable Product makes sure that the tier price is taken from the simple product. However, with many products and many variants, it will quickly become confusing. All these simple products must be assigned to a configurable product. Furthermore, all products have their own stock. Additionally both of the extensions use numerous rewrites that change the very core of the Magento system.
3. Generating additional individual options with prices:
An individual option only allows one surcharge, when 5 are needed - one for each tier price. So you add 5 individual options with different prices. The advantages of using this solution are moderate changes to the system while displaying the prices for the products in a reasonable way. The solution works with two observers – and additional rewrites of blocks for better visual appearance. Once passed the checkout, Magento just works with standard custom options. Therefore, it is very unlikely to experience problems in the later steps – e.g. invoice, shipment, credit memo and export to an erp-system. The disadvantages are additional options in the backend that are somewhat disturbing when maintaining the products by hand.
There is also a module as a sample for your own development. It requires entering of tier prices and individual options, in the backend. Finally, the prices of the individual options for each tier price are entered in the newly generated options. You can request a copy at http://www.code4business.de/kontakt-impressum/ free of charge.
For more information about tier prices in Magento with custom options or about the use of the module just have a look at http://www.code4business.de/tier-prices-for-magento-custom-options-en/

Related

Magento2 configurable product import quantity

I have followed all instruction of import configurable products given in https://www.mageplaza.com/kb/3-steps-import-configurable-products-magento-2.html
but when i import configurable product quantity sets to 0.
In Magento 2, the default configuration for Configurable Products would have to be changed in order to import inventory as a value other than 0 with that extension (most likely). It's not recommended to change that configuration either, however, and here's why:
Typical Example - A Configurable Product (Shirt with 3 color variations) is included in a Store Catalog. Each of the simple products assigned to that Configurable (a red shirt, a blue shirt, and a green shirt) all have different inventory that is constantly changing, because some colors sell more than others and therefore, some of those Simple Products are restocked more frequently than others. Even though the 3 products are all are assigned to the same Configurable Product in this scenario, tracking inventory for the Configurable (as a sum of all the Simple Product's quantities) wouldn't be especially useful in Sales Reports or in Restocking the Store Inventory. Sometimes there are exceptions (usually with Virtual products) but for the most part, Magento store administrators will leave the default configuration as-is here because otherwise, the Configurable Product's quantity (which is really just the combined sum of the Simple Product's inventory) isn't a valuable metric to track in the majority of business cases.
If there is a business case for tracking inventory at the Configurable level here, however, then I highly recommend uRapidflow Pro by Unirgy. That extension has worked well for bulk imports/exports since Magento 1 and most other similar products have been especially buggy from Magento 2.1.5-2.2.x.

How to set a rule for buying two products together to reduce the total price?

I am trying to make a block which shows two products in it with a rule that if a customer bought these two products together the total amount will be reduce by some extent.
e.g. if product A is of $100 and B is of $75, then both will be buy together for $150.
Can anyone has an idea how to apply these kind of promotion rules in magento. I really need to do this as the client need this kind of functionality on its product view page.
Magento provides a default functionality to create bundle products.
Use following url for reference:
http://www.magentocommerce.com/knowledge-base/entry/creating-a-bundled-product
There are two options that you could use:
1) Setting up a bundled product (with a Price Type = Fixed Price), setting product A and product B to be its children and setting $150 as its price.
However, there are few limitations to this solution:
The customer can't just add product A or product B to cart separately from the bundled product page, he can only add them together. That is the customer will need to go to a separate page to purchase product A (or product B) standalone.
Once the user added the bundled product to his cart, he can't just remove one child product from the cart (e.g product A) - he has to remove both.
2) You can use an extension for it. One of the extensions that implement this functionality is Bundled Discount. It allows you to set the product A and the product B and set the special price whenever they are purchased together (eg: $150).
It also allows you to create a separate page for the bundled promotion. This way, the user can select whether he wants to add only the product A for $100, the product B for $75, all both for $150.
The user can also remove one of the products from his cart and only pay for another product (eg: the user removes the product A from his cart and only pays $75 for the product B).
Disclaimer: I am the CEO of the company that developed the Bundled Discount extension.

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.

Mixed currency products in Magento

I'm evaluating if Magento will be suited to a particular client. They have an unusual requirement where their products may have two price components, one in AUD and one in reward points. There are three combinations of prices: all AUD, all reward points and a fixed mix of both.
I was wondering if Magento supports such a scenario? That is, can it have products flowing through to the shopping cart which have multiple currencies?
My research indicates you can have different currency prices per store for a product in Magento, but you can only have a single price per product within the same store. Also, that the shopping cart only supports a single currency (though you can switch between currencies), so I'm guessing I couldn't add two products, one from each store to the same cart. Are these true?
If my research is correct, I may need to resort to some sort of custom field against the products. If I do that, am I going to have to toss the standard Magento shopping cart out and roll my own?
Actually this might simpler than you think. If you want reward points as currency you can use:
SweetTooth Reward points http://www.sweettoothrewards.com/learn/
It already does what you need, and I have used it in the past several times. The company is very professional and the extension is A++

how to get id of product in shipping method

Is there anyway to get product Id of product in Shipping module, so that for different category I can charge Additional amount.
for eg: i have to two product in carts. One is in phone category and other is in computer category. for shipment I have to add $5 for phone and $25 for computer . so shipment charge should be $30 dollars in frontend. Is there anyway I can get product Id and corresponding product's category Id in Shipping method collect rates method??
Please help me, I am in a deep trouble....I hope Eg that I provided , explains what I need.
Thanks in advance.
You can get the products from quote
Mage::getSingleton('checkout/cart')->getQuote()->getAllItems();
or
Mage::getSingleton('checkout/type_onepage')->getQuote()->getAllItems();
and iterating over those items (be aware of grouped and bundled parents and so on) will give you the category(s) they might belong to and you can make your conditions against those
This is only a tenable option if products belong to only one category. Unless something has changed in the last couple of versions, there is no data for quote items that shows the category context from which they were added.
WebShopApps.com has several already-developed solutions for shipping scenarios. Depending on development contract & budget, it may be more cost-effective to use one of their well-tested extensions, e.g. Shipping Override Matrix.

Resources