Quickview - Version 0.1.2

Version Notes

Advanced version released

Download this release

Release Info

Developer Magento Core Team
Extension Quickview
Version 0.1.2
Comparing to
See all releases


Code changes from version 0.1.1 to 0.1.2

app/code/local/Webspeaks/Productbook/controllers/IndexController.php CHANGED
@@ -11,7 +11,6 @@ class Webspeaks_Productbook_IndexController extends Mage_Core_Controller_Front_A
11
  */
12
  public function addtocartAction()
13
  {
14
- $block = 'Webspeaks_Productbook_Block_Productbook';
15
  try{
16
  $result = array();
17
  $productId = (int) $this->getRequest()->getParam('product');
@@ -24,7 +23,7 @@ class Webspeaks_Productbook_IndexController extends Mage_Core_Controller_Front_A
24
  }
25
 
26
  $product = Mage::getSingleton('catalog/product')->load($productId);
27
- $res = $block::addToCart($product, $qty);
28
  echo json_encode($res);
29
  } catch (Exception $e) {
30
  $result['status'] = 'error';
11
  */
12
  public function addtocartAction()
13
  {
 
14
  try{
15
  $result = array();
16
  $productId = (int) $this->getRequest()->getParam('product');
23
  }
24
 
25
  $product = Mage::getSingleton('catalog/product')->load($productId);
26
+ $res = Webspeaks_Productbook_Block_Productbook::addToCart($product, $qty);
27
  echo json_encode($res);
28
  } catch (Exception $e) {
29
  $result['status'] = 'error';
app/code/local/Webspeaks/Productbook/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Webspeaks_Productbook>
5
- <version>0.1.1</version>
6
  </Webspeaks_Productbook>
7
  </modules>
8
  <frontend>
@@ -52,11 +52,11 @@
52
  <productbook>
53
  <class>Webspeaks_Productbook_Block</class>
54
  </productbook>
55
- <catalog>
56
  <rewrite>
57
  <product_list>Webspeaks_Productbook_Block_Product_List</product_list>
58
  </rewrite>
59
- </catalog>
60
  </blocks>
61
  <helpers>
62
  <productbook>
2
  <config>
3
  <modules>
4
  <Webspeaks_Productbook>
5
+ <version>0.1.2</version>
6
  </Webspeaks_Productbook>
7
  </modules>
8
  <frontend>
52
  <productbook>
53
  <class>Webspeaks_Productbook_Block</class>
54
  </productbook>
55
+ <!--<catalog>
56
  <rewrite>
57
  <product_list>Webspeaks_Productbook_Block_Product_List</product_list>
58
  </rewrite>
59
+ </catalog>-->
60
  </blocks>
61
  <helpers>
62
  <productbook>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Quickview</name>
4
- <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -9,10 +9,10 @@
9
  <summary>Quickview allows you to quickly view and add a product to cart (without opening the product view page).</summary>
10
  <description>Quickview allows you to quickly view and add a product to cart (without opening the product view page).</description>
11
  <notes>Advanced version released</notes>
12
- <authors><author><name>Arvind Bhardwaj</name><user>Arvind07</user><email>bhardwajsonheight@gmail.com</email></author></authors>
13
- <date>2013-04-09</date>
14
- <time>06:36:04</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Webspeaks_Productbook.xml" hash="24796a06a0b6f0e1bda107617ba14a45"/></dir></target><target name="magelocal"><dir name="Webspeaks"><dir name="Productbook"><dir name="Block"><dir name="Product"><file name="List.php" hash="af5b2a1d9a77375116dacbda3f846a7b"/></dir><file name="Productbook.php" hash="1e31dbbebce698ecc1dc96b9f8d6daec"/></dir><dir name="Helper"><file name="Data.php" hash="88f044abc77bc0e13d5f39bb0db24ead"/></dir><dir name="controllers"><file name="IndexController.php" hash="946b05df790d5fcf6741119255499f71"/></dir><dir name="etc"><file name="adminhtml.xml" hash="56f021ff90b6f52d591d7a29d816fbda"/><file name="config.xml" hash="5cbeaf18425c38ba16c71c48f33b27c0"/><file name="system.xml" hash="5d57a20c737eac17a4f6ff2f101d7802"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="productbook.xml" hash="97f114e64cc5c29ca3da21210f5dea89"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="productbook.xml" hash="4bf570c4b395d5d7e31d4b08de41fcd3"/></dir><dir name="template"><dir name="productbook"><file name="pb_footer.phtml" hash="8d18dd874878957b6465c13bb0ea8520"/><dir name="product"><file name="list.phtml" hash="c363ed297c088d097f47e2e886036b29"/></dir><file name="productbook.phtml" hash="470b7c5882e7604f08fb346ab4179e62"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="productbook"><dir name="css"><file name="productbook.css" hash="97b7e6d6b43cdd58fb16654b886d1cd6"/></dir><dir name="images"><file name="sprite-icons.png" hash="e9dda3122075b9123fbad09314d73771"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Quickview</name>
4
+ <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
9
  <summary>Quickview allows you to quickly view and add a product to cart (without opening the product view page).</summary>
10
  <description>Quickview allows you to quickly view and add a product to cart (without opening the product view page).</description>
11
  <notes>Advanced version released</notes>
12
+ <authors><author><name>Arvind Bhardwaj</name><user>auto-converted</user><email>bhardwajsonheight@gmail.com</email></author></authors>
13
+ <date>2013-05-14</date>
14
+ <time>06:04:15</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Webspeaks_Productbook.xml" hash="24796a06a0b6f0e1bda107617ba14a45"/></dir></target><target name="magelocal"><dir name="Webspeaks"><dir name="Productbook"><dir name="Block"><dir name="Product"><file name="List.php" hash="af5b2a1d9a77375116dacbda3f846a7b"/></dir><file name="Productbook.php" hash="1e31dbbebce698ecc1dc96b9f8d6daec"/></dir><dir name="Helper"><file name="Data.php" hash="88f044abc77bc0e13d5f39bb0db24ead"/></dir><dir name="controllers"><file name="IndexController.php" hash="a5532888a99fb29e5cb51c438a5c9f03"/></dir><dir name="etc"><file name="adminhtml.xml" hash="56f021ff90b6f52d591d7a29d816fbda"/><file name="config.xml" hash="6be234fa57c46bcc01b7e01761de2cd5"/><file name="system.xml" hash="5d57a20c737eac17a4f6ff2f101d7802"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="productbook.xml" hash="97f114e64cc5c29ca3da21210f5dea89"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="productbook.xml" hash="4bf570c4b395d5d7e31d4b08de41fcd3"/></dir><dir name="template"><dir name="productbook"><dir name="product"><file name="list.phtml" hash="c363ed297c088d097f47e2e886036b29"/></dir><file name="pb_footer.phtml" hash="8d18dd874878957b6465c13bb0ea8520"/><file name="productbook.phtml" hash="470b7c5882e7604f08fb346ab4179e62"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="productbook"><dir name="css"><file name="productbook.css" hash="97b7e6d6b43cdd58fb16654b886d1cd6"/></dir><dir name="images"><file name="sprite-icons.png" hash="e9dda3122075b9123fbad09314d73771"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies/>
18
  </package>