witrin / magento-gifts

Adds automatically gift products to the shopping cart when user defined conditions are met.
http://www.magentocommerce.com/magento-connect/gift-rules.html
Open Software License 3.0
37 stars 15 forks source link

Gift product quantity matches product quantity. #25

Open wellboy opened 10 years ago

wellboy commented 10 years ago

Hello,

I was wondering if it was possible to add a feature where if you add 2+ products to the cart it also adds 2+ quantity of the gift to the cart?

Thanks,

Mark

witrin commented 10 years ago

Could you describe your idea more detailed? This means especially regarding to the current rule system and how this could be integrated into the backend (UI). Certainly from a user perspective.

wellboy commented 10 years ago

The scenario would be 'Buy 1 of Product X get 1 of Product Y free' but it would also hold true for multiples of Product X so 'Buy 10 of Product X get 10 of Product Y free'.

In the 'Gifts' section of the Shopping Cart Rule Admin page the following options are available: Update shopping cart using the following settings Stop Further Rules Processing ( Yes/No) Qty (Input Box)

Product Selection Tool (Search Grid)

In the quantity section a numeric valve is entered which adds that quantity of Gift items to the cart when the Conditions are matched. Maybe the feature could be implemented here ie if this input box was left blank then the quantity of the product added to the cart would be used as the quantity of the Gift Product.

Regards,

Mark

On 26 February 2014 09:22, Artus Kolanowski notifications@github.comwrote:

Could you describe your idea more detailed? This means especially regarding to the current rule system and how this could be integrated into the backend (UI).

Reply to this email directly or view it on GitHubhttps://github.com/witrin/magento-gifts/issues/25#issuecomment-36105936 .

witrin commented 10 years ago

Ok, this should be possible. Maybe we add a checkbox under the qty input box labeled as "use quantity of matched products". But this could take a while because I'm currently under time pressure.