Contenu connexe
Similaire à Mgs ajax cartpro
Similaire à Mgs ajax cartpro (20)
Mgs ajax cartpro
- 1. MGS Ajax Cart Pro
Copyright © 2013 Mage Solution. All Rights Reserved. Page 1
MGS Ajax Cart Pro
Version: 1.0.2
Support:support@magesolution.com
- 2. MGS Ajax Cart Pro
Copyright © 2013 Mage Solution. All Rights Reserved. Page 2
Contents
Configuration: .........................................................................................................................................................................3
General Configuration:........................................................................................................................................................3
Developer guide......................................................................................................................................................................3
Frontend View.........................................................................................................................................................................4
- 3. MGS Ajax Cart Pro
Copyright © 2013 Mage Solution. All Rights Reserved. Page 3
Configuration:
From Admin Panel > Mage Solutions >AJAX Cart Pro
General Configuration:
- Enabel Module: Enable/Disable ajax add to cart extension
- Use jQuery: if your site have added jquery library, please choose “No”
- Show Summary: Display summary information after product added to cart.
Developer guide
MGS Ajax Cart uses class names of the elements to get them under control. If class names of those
elements have been changed or customization, you need edit your files to work properly.
Default, button “Add to cart” have format:
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart"
onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo
$this->__('Add to Cart') ?></span></span></button>
Our extension need class btn-cart to work, if your theme have been deleted this class, please edit this
code:
From: setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')
To:ajaxAddToCart ('<?php echo $this->getAddToCartUrl($_product) ?>')
- 4. MGS Ajax Cart Pro
Copyright © 2013 Mage Solution. All Rights Reserved. Page 4
Frontend View
Simple product confirm box
Config product confirm box
- 5. MGS Ajax Cart Pro
Copyright © 2013 Mage Solution. All Rights Reserved. Page 5
Group product confirm box
Summary box