5
MGS Ajax Cart Pro Copyright © 2013 Mage Solution. All Rights Reserved. Page 1 MGS Ajax Cart Pro Version: 1.0.2 Support:[email protected]

Mgs ajax cartpro

  • Upload
    ta-than

  • View
    1.661

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Mgs ajax cartpro

MGS Ajax Cart Pro

Copyright © 2013 Mage Solution. All Rights Reserved. Page 1

MGS Ajax Cart Pro

Version: 1.0.2

Support:[email protected]

Page 2: Mgs ajax cartpro

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

Page 3: Mgs ajax cartpro

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) ?>')

Page 4: Mgs ajax cartpro

MGS Ajax Cart Pro

Copyright © 2013 Mage Solution. All Rights Reserved. Page 4

Frontend View

Simple product confirm box

Config product confirm box

Page 5: Mgs ajax cartpro

MGS Ajax Cart Pro

Copyright © 2013 Mage Solution. All Rights Reserved. Page 5

Group product confirm box

Summary box