Make magento 3rd item from cart free - php

I need to know if there is a way to create this in Magento:
First of all, all my products price are fixed: 9.99$.
So i want to do this: if the client bought three products, the third is free, so it pays 2 products. He can do this as many times as they want, so if you buy 6 products, there will be 2 product free, if he buys 9 products, 3 are free

Magneto supports buy x get y free promotions. Information about setting them up is available at http://www.magentocommerce.com/knowledge-base/entry/how-to-setup-buy-x-get-y-free

It's possible to do this using magento Shoping Cart Price rules.
Create a Shoping cart price rule by going to your admin panel and clicking on Promotions -> Shoping Cart Price rules.
Create a condition for your rule. There is a nice GUI to define the conditions so they will look like: If an item is FOUND in the cart with ALL of these conditions true
Define an Action, actions describe how prices are updated when the conditions of the rule are met. In your case there is an specific action called: Buy X get Y Free, which defines a quantity that the customer must purchase to receive a quantity for free. (The Discount Amount is Y.)
Complete the labels: lables appears on the order below the subtotal to identify the discount. You can enter a default label for all store views, or enter a different label for each view.
Apply the rule. Make sure you save and enable the rule, also you can define a time range when the rule is valid and number of usages.
For more details check here:
http://docs.magento.com/m1/ce/user_guide/marketing/price-rule-shopping-cart-buy-x-get-y-free.html

Related

Magento - buy 1 product get another free

I have two categories, I am trying to make some thing like if some one buys a product from one category, customer will have a option to choose a free product from another category(like a gift).
I found some thing similar to this in admin -
Promotions -> shopping cart price rule
You can create a rule that buy X qty of one product and get Y quantity of same product free. How can I make it - get X qty of product and get Y qty of another product free. Is this feature available in magento feature or do I have to implement this. Thanks.
you can check the below links for this purpose
http://www.webguys.de/magento/turchen-21-kostenlose-produkte-uber-warenkorb-preisregeln/
http://blog.goods-pro.com/1733/magento-extension-buy-x-selection-of-products-get-another-y-selection-for-free/
http://www.magentocommerce.com/knowledge-base/entry/how-to-setup-buy-x-get-y-free

Programmatically add product to Virtuemart?

For a customer I am building a Virtuemart 2.0.26d website.
Because of a local law, for each unit of a product that is ordered a fee must be added.
So, when ordering 4 products, the fee must be charged 4 times. By law it is required that the total sum of this fee is visible on the invoice/order confirmation.
I looked at the price rules in Virtuemart, but they don't seem to have an option for this. There is a price modifier after tax, but then the fee is visibile as an negative discount. Something I don't want.
The only solution I came up with is to make a new product for the fee and programmatically add this product for each unit. Can this be done by making a Virtuemart Plugin, or must I change the core for this?
Or are there better solutions for this problem?
You can add extra charge by Taxes & Calculation Rules.
create new rules and select tax per product for Type of Arithmetic Operation and select Math Operation + Or +% as per you want to add extra fee per product.
You could add a custom field to each product with the fee amount and alter the code of the payment plugin to add this fee to your order.

Sylius - How to define product with options that have impact on price?

In Sylius I can create variant of of a product, for instance 3 sizes of a t-shit, each size have different price. This is a nice solution if I have a product with one thing that has an impact on a price.
What about situation, where I have a Tshirt which have many options that have an impact on price, like:
Size
Material
Color
and few more
I cannot create product with variants, of each configuration. It should be for example in a way, that this particular option has an impact on price by adding to it some amount of money or %. This is like Adjustment, I think. But how to use it for products?
----MORE DETAILS--------
I need to define a product with some options that have impact on price, like Adjustments. Then when User adds product to cart, he/she chooses some options. Each of these options changes the product price. So base product has price $20. But when user adds it to cart, change 3 parameters, then the price should be $35. And this product with $35 price should be added to a cart, and then to an order.
You can consider listening to product or variant post create event, then in your listener check what options are set and adjust price according to options.
Maybe You can use custom PriceCalculator which must use CalculatorInterface.
In this class could be implemented all custom logic which depend of product.

How do I create this rule in Magento, based on a particular product's quantity?

I need to make a single rule in magento that fulfills following conditions.
There are 10 products from which 3 products should have the following rules apply.
On their initial price, if the user buys 1 product they will get $20 off.
If the user buys more than 1 combination of products from that 3, then they will get $25 off each product.
I am not sure how to do this.
Take these three products, and recreate them in a new attribute set. We'll call it promo.
I would simply create a rule in "Shopping Cart Price Rules" stating this:
If ALL of these conditions are TRUE :
If total quantity is 2 for a subselection of items in cart matching ALL of these conditions: Attribute Set is Promo
Then discount the situation accordingly in the "Actions" Tab.
You can add another rule for three, four, five and so one within one rule.

Grouped Product with Fixed Sub-item Quantities

I'm working on a Magento site that has a number of simple products. There's also a "holiday package" which combines several simple products into one, at a discounted price:
6 of Item A
2 of Item B
2 of Item C
2 of Item D
The "grouped" product type is pretty close to what I need - it allows each item to keep track of it's own stock, and when it comes time to ship and estimate packages, it tries to pack the containers using the weight/volume of each individual item. (This shipping aspect is very important, as we need to pack the boxes as efficiently as possible - using a simple product with an estimated size for all items may not work).
However, we do not want the customer to be able to choose the quantity of each item. The customer should instead be asked to choose how many holiday packages they would like.
Is a grouped product the best approach? Is there a better way to handle this?
In Magento 1.5.1, the best solution should be the bundle product. There, you can define a price, a quantity for each item in the backend. You can block the user to change the quantity for these items, not for the bundle product (you could too if you want but it's not your need here).
We do like that for some of our product. Check the screenshot to see an example of configuration

Categories