VS_Ajax - Version 1.0.3

Version Notes

Extensin will help to add products to shopping cart directly from category and product page using ajax operations. User would be able to add all product types simple,configurable,bundled,grouped, virtual and downloadable from the category page itself. For the products which require options to be selected before adding to cart e.g configurable,bundled etc , a lightbox iframe window will show up showing the options to be selected by user with a ‘Add to Cart’ button.

Download this release

Release Info

Developer Magento Core Team
Extension VS_Ajax
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/design/frontend/default/default/template/ajax/catalog/product/view/list.phtml CHANGED
@@ -48,14 +48,27 @@
48
  <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
49
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
50
  </div>
51
- <ul class="add-to-links">
 
 
 
 
 
 
 
 
 
 
 
 
52
  <?php if ($this->helper('wishlist')->isAllow()) : ?>
53
  <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
54
  <?php endif; ?>
55
  <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
56
  <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
57
  <?php endif; ?>
58
- </ul>
 
59
  </div>
60
  </div>
61
  </li>
48
  <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
49
  <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
50
  </div>
51
+ <?php if(Mage::getStoreConfig('ajax/wishlistcompare/enabledpro')){?>
52
+ <ul class="add-to-links">
53
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
54
+ <li><a href="#" onclick='ajaxWishlist("<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>","<?php echo $_product->getId()?>");return false;' class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
55
+ <?php endif; ?>
56
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
57
+ <li><span class="separator">|</span> <a href="#" onclick='ajaxCompare("<?php echo $_compareUrl ?>","<?php echo $_product->getId()?>");return false;' class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
58
+ <?php endif; ?>
59
+ </ul>
60
+ <span id='ajax_loading<?php echo $_product->getId()?>' style='display:none'><img src='<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif')?>'/></span>
61
+
62
+ <?php }else{?>
63
+ <ul class="add-to-links">
64
  <?php if ($this->helper('wishlist')->isAllow()) : ?>
65
  <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
66
  <?php endif; ?>
67
  <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
68
  <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
69
  <?php endif; ?>
70
+ </ul>
71
+ <?php } ?>
72
  </div>
73
  </div>
74
  </li>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>VS_Ajax</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Extensin will help to add products to shopping cart directly from category and product page using ajax operations. User would be able to add all product types simple,configurable,bundled,grouped, virtual and downloadable from the category page itself. For the products which require options to be selected before adding to cart e.g configurable,bundled etc , a lightbox iframe window will show up showing the options to be selected by user with a &#x2018;Add to Cart&#x2019; button.</description>
11
  <notes>Extensin will help to add products to shopping cart directly from category and product page using ajax operations. User would be able to add all product types simple,configurable,bundled,grouped, virtual and downloadable from the category page itself. For the products which require options to be selected before adding to cart e.g configurable,bundled etc , a lightbox iframe window will show up showing the options to be selected by user with a &#x2018;Add to Cart&#x2019; button.</notes>
12
  <authors><author><name>virendra kumar sharma</name><user>auto-converted</user><email>bhardwajveerendra@gmail.com</email></author></authors>
13
- <date>2012-05-09</date>
14
- <time>08:30:08</time>
15
- <contents><target name="magecommunity"><dir name="VS"><dir name="Ajax"><dir name="Block"><dir name="Cart"><file name="Sidebar.php" hash="864bb88bd32fd7173e0c93ab38f1a95e"/></dir><file name="Ajax.php" hash="086593f100cc5f39908670c87e4d7e34"/></dir><dir name="Helper"><file name="Data.php" hash="10b3d25f90cb15f98564f2b5acda6ed5"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Ajax"><file name="Collection.php" hash="c1adf1b37d155cd86392731425a6adae"/></dir><file name="Ajax.php" hash="73ac136326d2a74ba5b2dfc27ee809ec"/></dir><file name="Ajax.php" hash="50ab19e34a1e77f7453f8c9b4267b4a8"/><file name="Observer.php" hash="a7883a896fbd0c4a56441904ad45aba4"/><file name="Status.php" hash="c0b40c775f4ae79ddfe1ba73ad1c1498"/></dir><dir name="controllers"><file name="IndexController.php" hash="d315aa326c338fc9a8eb9c016e41611b"/><file name="whishlistController.php" hash="7d28b3cb333333b2c3e79537f683ad39"/></dir><dir name="etc"><file name="config.xml" hash="5f21c19dd3ea3e12e4633a36d8a2ccaa"/><file name="system.xml" hash="7cb3d97f89bc5230740f080351fa01b2"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="ajax"><dir name="catalog"><dir name="product"><dir name="compare"><file name="sidebar.phtml" hash="6e548cb3c613132cd052ce9cec52648c"/></dir><dir name="view"><file name="addto.phtml" hash="5b925dc6f57ca14d0dce3fdf72ca90c5"/><file name="addtocart.phtml" hash="067f96d19d8e2e3fb0dc8f10e8e0727f"/><file name="list.phtml" hash="df83748b6551bd2681161e1ee5d18152"/></dir><file name="options.phtml" hash="726ff1f880ce50d91131d799a6bf6f67"/><file name="view.phtml" hash="d9da8bfcbc27f206ff99e35d0d845e6a"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="sidebar"><file name="default.phtml" hash="23bfd9fd53fc836a633a5d2efb92479b"/><file name="default1.6.phtml" hash="55096a02fb9f5f945672036858d64268"/></dir></dir></dir><file name="ajaxtoolbar.phtml" hash="947111ca799ab23f6fa3a86662b7ea50"/></dir></dir><dir name="layout"><file name="ajax.xml" hash="8ed7469f6490cb499e7ac60dce0a8ffc"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="VS"><file name="ajaxtoolbar.js" hash="c987c9ffe9742bcd83a844e1218dc233"/><file name="ajaxwishlist.js" hash="0a8a1c06b2d3801f9ae27c5e54510485"/><file name="jquery-1.6.4.min.js" hash="9118381924c51c89d9414a311ec9c97f"/><file name="noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VS_Ajax.xml" hash="89f4110e36be169d3ea567a5fadb73b5"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="VS"><dir name="images"><file name="ajaxloading.gif" hash="ee668d6e130b785c53e6a227e0b90dd2"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/></dir><dir name="js"><dir name="fancybox"><file name="Thumbs.db" hash="c2bbd1bacff98c3855521df4b9d5babb"/><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><file name="jquery.easing-1.3.pack.js" hash="def257dbb0ab805c4996fd8abb1a6b49"/><file name="jquery.fancybox-1.3.4.css" hash="4fbb2e045b3bc26aaf4b16d06a7580bf"/><file name="jquery.fancybox-1.3.4.js" hash="e7fc2f8a70f0a9f966207c3f71130721"/><file name="jquery.fancybox-1.3.4.pack.js" hash="8bc36a08c46719377528d962966ce37c"/><file name="jquery.mousewheel-3.0.4.pack.js" hash="3b0a821567b463e70bcc1e90ed2bc9b6"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>VS_Ajax</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
10
  <description>Extensin will help to add products to shopping cart directly from category and product page using ajax operations. User would be able to add all product types simple,configurable,bundled,grouped, virtual and downloadable from the category page itself. For the products which require options to be selected before adding to cart e.g configurable,bundled etc , a lightbox iframe window will show up showing the options to be selected by user with a &#x2018;Add to Cart&#x2019; button.</description>
11
  <notes>Extensin will help to add products to shopping cart directly from category and product page using ajax operations. User would be able to add all product types simple,configurable,bundled,grouped, virtual and downloadable from the category page itself. For the products which require options to be selected before adding to cart e.g configurable,bundled etc , a lightbox iframe window will show up showing the options to be selected by user with a &#x2018;Add to Cart&#x2019; button.</notes>
12
  <authors><author><name>virendra kumar sharma</name><user>auto-converted</user><email>bhardwajveerendra@gmail.com</email></author></authors>
13
+ <date>2012-05-17</date>
14
+ <time>04:45:12</time>
15
+ <contents><target name="magecommunity"><dir name="VS"><dir name="Ajax"><dir name="Block"><dir name="Cart"><file name="Sidebar.php" hash="864bb88bd32fd7173e0c93ab38f1a95e"/></dir><file name="Ajax.php" hash="086593f100cc5f39908670c87e4d7e34"/></dir><dir name="Helper"><file name="Data.php" hash="10b3d25f90cb15f98564f2b5acda6ed5"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Ajax"><file name="Collection.php" hash="c1adf1b37d155cd86392731425a6adae"/></dir><file name="Ajax.php" hash="73ac136326d2a74ba5b2dfc27ee809ec"/></dir><file name="Ajax.php" hash="50ab19e34a1e77f7453f8c9b4267b4a8"/><file name="Observer.php" hash="a7883a896fbd0c4a56441904ad45aba4"/><file name="Status.php" hash="c0b40c775f4ae79ddfe1ba73ad1c1498"/></dir><dir name="controllers"><file name="IndexController.php" hash="d315aa326c338fc9a8eb9c016e41611b"/><file name="whishlistController.php" hash="7d28b3cb333333b2c3e79537f683ad39"/></dir><dir name="etc"><file name="config.xml" hash="5f21c19dd3ea3e12e4633a36d8a2ccaa"/><file name="system.xml" hash="7cb3d97f89bc5230740f080351fa01b2"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="ajax"><dir name="catalog"><dir name="product"><dir name="compare"><file name="sidebar.phtml" hash="6e548cb3c613132cd052ce9cec52648c"/></dir><dir name="view"><file name="addto.phtml" hash="5b925dc6f57ca14d0dce3fdf72ca90c5"/><file name="addtocart.phtml" hash="067f96d19d8e2e3fb0dc8f10e8e0727f"/><file name="list.phtml" hash="383d49b7ae50fc4fe04f066b542a8769"/></dir><file name="options.phtml" hash="726ff1f880ce50d91131d799a6bf6f67"/><file name="view.phtml" hash="d9da8bfcbc27f206ff99e35d0d845e6a"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="sidebar"><file name="default.phtml" hash="23bfd9fd53fc836a633a5d2efb92479b"/><file name="default1.6.phtml" hash="55096a02fb9f5f945672036858d64268"/></dir></dir></dir><file name="ajaxtoolbar.phtml" hash="947111ca799ab23f6fa3a86662b7ea50"/></dir></dir><dir name="layout"><file name="ajax.xml" hash="8ed7469f6490cb499e7ac60dce0a8ffc"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="VS"><file name="ajaxtoolbar.js" hash="c987c9ffe9742bcd83a844e1218dc233"/><file name="ajaxwishlist.js" hash="0a8a1c06b2d3801f9ae27c5e54510485"/><file name="jquery-1.6.4.min.js" hash="9118381924c51c89d9414a311ec9c97f"/><file name="noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VS_Ajax.xml" hash="89f4110e36be169d3ea567a5fadb73b5"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="VS"><dir name="images"><file name="ajaxloading.gif" hash="ee668d6e130b785c53e6a227e0b90dd2"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/></dir><dir name="js"><dir name="fancybox"><file name="Thumbs.db" hash="c2bbd1bacff98c3855521df4b9d5babb"/><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><file name="jquery.easing-1.3.pack.js" hash="def257dbb0ab805c4996fd8abb1a6b49"/><file name="jquery.fancybox-1.3.4.css" hash="4fbb2e045b3bc26aaf4b16d06a7580bf"/><file name="jquery.fancybox-1.3.4.js" hash="e7fc2f8a70f0a9f966207c3f71130721"/><file name="jquery.fancybox-1.3.4.pack.js" hash="8bc36a08c46719377528d962966ce37c"/><file name="jquery.mousewheel-3.0.4.pack.js" hash="3b0a821567b463e70bcc1e90ed2bc9b6"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>