Welcome!

J2T Auto Add products

More Views

  • Force quantity of auto added product
  • Offer code forms

J2T Auto Add products

Auto add product to cart by rules

Availability: In stock

€32.99

Automatically add product to cart.

This Magento® extension allow the store manager to setup some rules allowing products to be added automatically in the shopping cart.

This could be a good solution, for example, while you set up promotion rules like : Buy 2 get 1 Free.

Could also be used to insert extended warranties or extra product that needs to be linked to inserted card product(s).

Please note that you still need to create a promotion rule if you want the added product to be free.

Since v1.9.0, it is possible to show details regarding auto added products, not only on product view pages, but also on product list pages. Offer code froms have also been introduced on cart and catalog pages and they allow automatic cart setup in order to comply with auto add rules. This means that by using a simple code, it is possible to add all products necessary for the auto add rule to operate in order for the auto add rule to fire.

This module is compatible with Magento® community edition 1.3.x or greater and enterprise edition since 1.9.0.0 or greater

To install, unzip the file under you Magento® home directory.

To setup rules, go in Admin > Promotions > J2T Autoadd rules.

* Required Fields

€32.99

j2t-modules

  • Lowest price on the market for our modules

  • Free support available as well as extended support

  • High quality development with best Magento integration

Details

Check the manual

Watch this video tutorial to see this module best practice (for better experience, change the mode to HD and watch the video in fullscreen):

This Magento® extension allow the store manager to setup some rules allowing products to be added automatically in the shopping cart.

This could be a good option, for example, while you set up promotion rules like : Buy 2 get 1 Free

Please note that you still need to create a promotion rule if you want the added product to be free.

Since v1.9.0, it is possible to show details regarding auto added products, not only on product view pages, but also on product list pages. Offer code froms have also been introduced on cart and catalog pages and they allow automatic cart setup in order to comply with auto add rules. This means that by using a simple code, it is possible to add all products necessary for the auto add rule to operate in order for the auto add rule to fire.

This module is compatible with Magento® community edition 1.3.x or greater and enterprise edition since 1.9.0.0 or greater

To install, unzip the file under you Magento® home directory.

To setup rules, go in Admin > Promotions > J2T Autoadd rules.

1.9.x versions

- v. 1.9.4: This version takes to consideration newly modifications applied by Magento® 1.9.2.0 (and patch SUPEE-6285) forbidding access to restricted admin access to module admin areas.
- v. 1.9.3: Fixing issue introduced with v1.9.x and Magento® 1.9.x related to eval php error
- v. 1.9.2: It is now possible to automatically unvalidate a rule while cart is already instanciated but rule as been deactivated or is outdated.
- v. 1.9.1: Introducing new feature: free item code. This allows to add all necessary product to shopping cart in order to comply with auto add rule.
- v. 1.9.0: Introduction of new branch release. It is now possible to add information regarding product of rules on product list and product view pages. Note that theme customization is not required anymore for adding product's lists to shopping cart area. It is also possible to add sentences underneath product name that has been automatically added. Top cart messages can also be shown for rules that are not met and if there are more multiple messages, the messages are shown the one after the other according to defined duration.

1.8.x versions

- v. 1.8.2: Adding product attribute to quotes by observing sales_quote_config_get_product_attributes
- v. 1.8.1: Fixing minor js issue when modifying existing rule condition
- v. 1.8.0: New version introducing free label management, match quantity divider, discount value, force quantity and category SKUs fast import

1.7.x versions

- v. 1.7.21: Improvement regarding error messages while dealing with max allowed quantities
- v. 1.7.19 - 1.7.20: Modifying observer in order to make coupon code verification under Magento® 1.6.x functionnal
- v. 1.7.18: Improvement of group checking
- v. 1.7.17: Revision of the module in order to make it work perfectly with Magento® compiler on
- v. 1.7.16: Improving auto add rules using coupon code to auto add product to shopping cart (IMPORTANT: if you are using an auto add rule that uses coupon code as condition, it will be necessary to recreate it)
- v. 1.7.15: Fixing match quantity while using category ids in rules
- v. 1.7.14: Fixing issue related to orders placed after other orders that can't be completed
- v. 1.7.13: Fixing issue related to match quantity feature while using product with options in the rules
- v. 1.7.12: Fixing issue related to auto add match quantity eval problems when using "contains" or "one of" condition
- v. 1.7.11: New match quantity feature added! It is now possible to match the quantity of products within sub-selection conditions!
- v. 1.7.10: New features added! It is now possible to let the customers remove auto added product from cart, even if the rule is true
- v. 1.7.9: Fixing issue intruduced with Magento® 1.7.x, stores and groups are not saved when saving rules.
- v. 1.7.8: Processes optimizations
- v. 1.7.7: Code optimizations
- v. 1.7.6: Major speed improvement! Module has been rebuilt in order to have a better accuracy and better performances
- v. 1.7.5: fixing math issue on item cart line value and grand total while trying to delete auto added product
- v. 1.7.4: fixing math issue within cart total (when auto inserting coupon code)
- v. 1.7.3: new feature, free labels allowed for multiple product auto add
- v. 1.7.2: minor issue fixing related to product price calculation on sidebar
- v. 1.7.1: Issue fixing when using coupon code: "invalid coupon code" message
- v. 1.7.0: New features: Allow auto remove of products when product added from list. The checkboxes in grid list action and product zone in admin area are checked according to previously saved rules (when editing a rule, when you want to add/remove a product, you don't need to check everything back from the begining).

1.6.x versions

- v. 1.6.6: Fixing issue when using auto add product select list
- v. 1.6.5: Allow FREE label to be shown when product is added from the shopping cart list ("let the client choose the product in shopping cart" feature)
- v. 1.6.4: Fixing issue related to auto add product selection
- v. 1.6.3: Lighting up whole auto add processes
- v. 1.6.2: Implementing auto add while saving cart
- v. 1.6.1: Fixing issue regarding autoadd when stock is not managed in Magento® and out of stock order is possible
- v. 1.6.0: Introducing new features such as usage limitation and improvements such as rule action when customer logs in or history logs to allow retoring back shopping cart in better condition when the customer logs in with previous shopping cart stored data.

1.5.x versions

- v. 1.5.5: Fixing issue regarding multiple website rules
- v. 1.5.4: Fixing bug related to multiple added products to be shown on product pages
- v. 1.5.3: Fixing stock quantity issue when auto adding product
- v. 1.5.2: Fixing issues related to the use of Magento® 1.3.x
- v. 1.5.1: Fixing issue related to new rule insertion 
- v. 1.5.0: New features added: new area on product pages & new cart options allowing to show FREE product when necessary

1.4.x versions

- v. 1.4.1: Integrity check when showing list of product to be added on shopping cart
- v. 1.4.0: new feature. Rules can be added on cart subtotals incl. tax

1.3.x versions

- v. 1.3.9b: fixing some issues (delay in fome auto add rules) + code optimisation
- v. 1.3.9: optimizing rules while updating cart quantity in shopping cart.
- v. 1.3.8: code optimization
- v. 1.3.6 - v.1.3.7: Fixing auto add bug introduced in v. 1.3.4, related to products adding according to coupon code
- v. 1.3.5: Fixing bug introduced in v1.3.4
- v. 1.3.4: Fixing zero price refreshing issue while adding product without coupon code
- v. 1.3.3: Optimizing the code while adding the coupon codes
- v. 1.3.2: Implementing new feature: list the product in a select list on cart page
- v. 1.3.1: Fixing customer login issues (in customer account pages)
- v. 1.3.0: Adding 2 new features:
    - coupon code in rule condition allowing you to auto add product against a coupon code insertion
    - product list in your shopping cart. List the rule action products and allow the customer to add one in the cart

1.2.x versions

- v. 1.2.0: Introducing an extra test for code optimisation

1.1.x versions

- v. 1.1.0: Making the extension compatible with Magento® 1.4 and 1.3 + fixing bug in rule validation

1.0.x versions

- v. 1.0.0: introducing the extension

 

INSTALLATION GUIDE

  1. Uncompress module to your Magento® root directory
  2. Copy all module template files (xml layout file + template folder) from the module to your custom template directory
  3. Flush your Magento® cache
  4. Log out and log back to admin
  5. Make sure to activate the module from admin > system > J2T Auto Add (you need to select different scope than default one in order to show the activation option)

The template files to be copied are :

  • frontend/default/default/layout/j2tautoadd.xml
  • frontend/default/default/template/j2tautoadd

 

SPECIAL INSTRUCTION:

  • - only for versions prior 1.9.x of our module - If you are using the product list feature in the shopping cart, please add the following code to your cart.phtml template:
<!-- J2T AUTOADD -->

                  <?php if (Mage::getConfig()->getModuleConfig('J2t_Autoadd')->is('active', 'true')):?>
                         <?php echo Mage::helper('autoadd')->getExtraProducts();?>
                  <?php endif;?>
                  This code should be added right after <tfoot> tag of the cart list table.

  • In order to be able to see crossed prices Free product feature, modify your checkout/cart/item/default.phtml and checkout/onepage/review/item.phtml design template file as the following:

     + find <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>

        >> replace by:
<!-- J2T AUTOADD UPDATE -->
<?php if (Mage::getConfig()->getModuleConfig('J2t_Autoadd')->is('active', 'true')):?>
<?php echo $this->helper('autoadd/cart')->formatPrice(($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()), $_item, true) ?>

<?php else:?>
    <!-- PUT PREVIOUS CODE HERE -->
<?php endif;?> 

    + find <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>

        >> replace by:
<!-- J2T AUTOADD UPDATE -->
<?php if (Mage::getConfig()->getModuleConfig('J2t_Autoadd')->is('active', 'true')):?>
<?php echo $this->helper('autoadd/cart')->formatPrice($_item->getRowTotal(), $_item, true) ?>
<?php else:?>
    <!-- PUT PREVIOUS CODE HERE -->
<?php endif;?>   

    + find <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>

        >>  replace by:
<!-- J2T AUTOADD UPDATE -->
<?php if (Mage::getConfig()->getModuleConfig('J2t_Autoadd')->is('active', 'true')):?>
 <?php echo $this->helper('autoadd/cart')->formatPrice(($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()), $_item) ?>
<?php else:?>
    <!-- PUT PREVIOUS CODE HERE -->
<?php endif;?>  

    + find <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
         >>  replace by:
<!-- J2T AUTOADD UPDATE --> <?php if (Mage::getConfig()->getModuleConfig('J2t_Autoadd')->is('active', 'true')):?>     <?php echo $this->helper('autoadd/cart')->formatPrice($_item->getCalculationPrice(), $_item) ?>
<?php else:?>
    <!-- PUT PREVIOUS CODE HERE -->
<?php endif;?>   

It is important to understand that the above areas can be different on your store according to its configuration and theme used. You will just need to find the appropriate locations for row item unit price and row total price and process as the following:

<!-- J2T AUTOADD UPDATE -->
<?php if (Mage::getConfig()->getModuleConfig('J2t_Autoadd')->is('active', 'true')):?>
    <!-- NEW CODE HERE
        Basically, you just need to copy/pase previous code and replace:
            $this->helper('checkout')->formatPrice(...)
        by:
            $this->helper('autoadd/cart')->formatPrice(..., $_item, false) // if item unit price
        or by:
            $this->helper('autoadd/cart')->formatPrice(..., $_item, true) // if row total
    -->

<?php else:?>
    <!-- PUT PREVIOUS CODE HERE -->
<?php endif;?>

Note that for free product area to be shown on product view page, you need to place the following code in you product view template file (template/catalog/product/view.phtml): <?php echo $this->getChildHtml('other');?> - only for versions prior 1.9.x of our module -
>> you shouldn't have to add this, but depending on your default template, you might need to do it 

UNINSTALL PROCEDURE

  1. undo modifications of your template phtml files
  2. replace 'true' by 'false' in app/etc/modules/J2t_Autoadd.xml

 

                    <?php echo Mage::helper('autoadd')->getExtraProducts();?>
                    <!-- J2T AUTOADD -->
No

Customer Reviews

A solid extension for adding free products Review by Andrew
Price
Value
Quality
Works really well - great stuff! Will be checkout out more J2T stuff in the future. (Posted on 10/21/2011)
Top extension Review by Frédérik
Price
Value
Quality
Wonderfull extension, it work fine !! Extremly powerfull.
Be carefful with your stock gestion, if you have no gestion stock it doesn't work.

Best regards

Note from j2t-design: stock is managed from v1.5.3 (Posted on 6/17/2011)
Really good Review by Magnus
Price
Value
Quality
Nice done. Auto-add (and removes) products according to you rule setup. All I'm missing is a "quantity step" function. That is, add 10 item A get 1 item B free, add 20 item A get 2 item B free.

-- Magnus (Posted on 4/28/2011)
Top notch extension, excellent support Review by Joseph
Price
Value
Quality
We're using this extension on our store with both simple and configurable products. It is extremely powerful and also allows linked coupon codes. It is a perfect way to give you an advantage over your competitors. J2T was quick to answer questions and they are very skilled in Magento. (Posted on 1/10/2011)

Write Your Own Review

Only registered users can write reviews. Please, log in or register

Contact Us

Contact Information

Please check our FAQ before contacting us. You might be able to find a answer to your question there.

Message details

FTP Details (Only for "professionnal installation" or "technical support" option)

Message details

Note that our team usually reply to emails within 1 to 3 working days (mon-fri). If for some reasons, you don't have any replies within this time, please kindly send back a new message to us and we'll try to reply asap.

Also note that support is exclusively done in English.

* Required Fields