Skip to content

Magento Extension: Add gifts in your shopping cart when meeting cart rules

Notifications You must be signed in to change notification settings

marcobax/freeproduct

This branch is 28 commits behind code4business/freeproduct:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

00a6a6b · Sep 23, 2015

History

27 Commits
Sep 23, 2015
Sep 23, 2015
Aug 29, 2014
Jan 15, 2014

Repository files navigation

freeproduct

This extensions allows you to add gifts to your cart. To do allow this, a new action "add a gift" is added to the cart price rules. The development and the function is described in the following two websites:

I am very happy for people contributing with pull requests. If possible stick to the following coding rules:

  • Keep your code as simple and as short as possible
  • Use speaking method and variable names - this is a very important (or the primary) source of documentation
  • Use observers instead of rewrites wherever possible
  • Do not duplicate code; so if you copy code from one place to another you are probably doing something wrong
  • Only use comments inside methods if the code is really hard to understand and you cannot make it easier; please comment the methods however
  • Use sentences for your commit-messages that start with a verb in past tense and end with a dot, e.g. "Add modman file."

Current limitations:

  • ksbomj found the problem that you cannot use bundles as gifts; again I am happy about further contributions

About

Magento Extension: Add gifts in your shopping cart when meeting cart rules

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 64.1%
  • PHP 35.9%