MagBag - Version 1.1

Version Notes

this extension is used for adding product to cart by using bag container.

Download this release

Release Info

Developer Magento Core Team
Extension MagBag
Version 1.1
Comparing to
See all releases


Code changes from version 1.0 to 1.1

app/design/frontend/default/default/layout/page.xml ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <layout version="0.1.0">
29
+ <!--
30
+ Default layout, loads most of the pages
31
+ -->
32
+
33
+ <default>
34
+ <block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
35
+
36
+ <block type="page/html_head" name="head" as="head">
37
+ <action method="addJs"><script>prototype/prototype.js</script></action>
38
+ <action method="addJs" ifconfig="dev/js/deprecation"><script>prototype/deprecation.js</script></action>
39
+ <action method="addJs"><script>prototype/validation.js</script></action>
40
+ <action method="addJs"><script>scriptaculous/builder.js</script></action>
41
+ <action method="addJs"><script>scriptaculous/effects.js</script></action>
42
+ <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
43
+ <action method="addJs"><script>scriptaculous/controls.js</script></action>
44
+ <action method="addJs"><script>scriptaculous/slider.js</script></action>
45
+ <action method="addJs"><script>varien/js.js</script></action>
46
+ <action method="addJs"><script>varien/form.js</script></action>
47
+ <action method="addJs"><script>varien/menu.js</script></action>
48
+ <action method="addJs"><script>mage/translate.js</script></action>
49
+ <action method="addJs"><script>mage/cookies.js</script></action>
50
+ <action method="addCss"><stylesheet>css/reset.css</stylesheet></action>
51
+
52
+ <action method="addCss"><stylesheet>css/imageflow.packed.css</stylesheet></action>
53
+ <action method="addCss"><stylesheet>css/thickbox.css</stylesheet></action>
54
+ <action method="addJs"><script>varien/imageflow.packed.js</script></action>
55
+ <action method="addJs"><script>varien/jquery.js</script></action>
56
+ <action method="addJs"><script>varien/thickbox.js</script></action>
57
+ <action method="addJs"><script>varien/interface.js</script></action>
58
+ <action method="addJs"><script>varien/jquery.fancybox-1.3.1.js</script></action>
59
+
60
+ <action method="addCss"><stylesheet>css/jquery.fancybox-1.3.1.css</stylesheet></action>
61
+ <action method="addCss"><stylesheet>css/boxes.css</stylesheet></action>
62
+ <action method="addCss"><stylesheet>css/menu.css</stylesheet></action>
63
+ <action method="addCss"><stylesheet>css/clears.css</stylesheet></action>
64
+
65
+ <action method="addItem"><type>skin_css</type><name>css/iestyles.css</name><params/><if>lt IE 8</if></action>
66
+ <action method="addItem"><type>skin_css</type><name>css/ie7minus.css</name><params/><if>lt IE 7</if></action>
67
+
68
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
69
+ <action method="addItem"><type>js</type><name>varien/iehover-fix.js</name><params/><if>lt IE 7</if></action>
70
+
71
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
72
+ </block>
73
+
74
+ <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
75
+
76
+ <block type="page/html_header" name="header" as="header">
77
+ <block type="page/template_links" name="top.links" as="topLinks"/>
78
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
79
+ <block type="core/text_list" name="top.menu" as="topMenu"/>
80
+ </block>
81
+
82
+ <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
83
+
84
+ <block type="core/text_list" name="left" as="left"/>
85
+
86
+ <block type="core/messages" name="global_messages" as="global_messages"/>
87
+ <block type="core/messages" name="messages" as="messages"/>
88
+
89
+ <block type="core/text_list" name="content" as="content"/>
90
+
91
+ <block type="core/text_list" name="right" as="right"/>
92
+
93
+ <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
94
+ <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
95
+ <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
96
+ </block>
97
+
98
+ <block type="core/text_list" name="before_body_end" as="before_body_end"/>
99
+ </block>
100
+
101
+ <block type="core/profiler" output="toHtml"/>
102
+ </default>
103
+
104
+ <print>
105
+ <!-- Mage_Page -->
106
+ <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
107
+
108
+ <block type="page/html_head" name="head" as="head">
109
+ <action method="addJs"><script>prototype/prototype.js</script></action>
110
+ <action method="addJs"><script>mage/translate.js</script></action>
111
+ <action method="addJs"><script>prototype/validation.js</script></action>
112
+ <action method="addJs"><script>varien/js.js</script></action>
113
+
114
+ <action method="addCss"><stylesheet>css/reset.css</stylesheet></action>
115
+ <action method="addCss"><stylesheet>css/boxes.css</stylesheet></action>
116
+ <action method="addCss"><stylesheet>css/menu.css</stylesheet></action>
117
+ <action method="addCss"><stylesheet>css/clears.css</stylesheet></action>
118
+
119
+ <action method="addItem"><type>skin_css</type><name>css/iestyles.css</name><params/><if>lt IE 8</if></action>
120
+ <action method="addItem"><type>skin_css</type><name>css/ie7minus.css</name><params/><if>lt IE 7</if></action>
121
+
122
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
123
+ <action method="addItem"><type>js</type><name>varien/iehover-fix.js</name><params/><if>lt IE 7</if></action>
124
+
125
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
126
+ </block>
127
+
128
+ <block type="core/text_list" name="content" as="content"/>
129
+
130
+ </block>
131
+ </print>
132
+
133
+ <!-- Custom page layout handles -->
134
+ <page_empty>
135
+ <reference name="root">
136
+ <action method="setTemplate"><template>page/one-column.phtml</template></action>
137
+ <!-- Mark root page block that template is applied -->
138
+ <action method="setIsHandle"><applied>1</applied></action>
139
+ </reference>
140
+ </page_empty>
141
+
142
+ <page_one_column>
143
+ <reference name="root">
144
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
145
+ <!-- Mark root page block that template is applied -->
146
+ <action method="setIsHandle"><applied>1</applied></action>
147
+ </reference>
148
+ </page_one_column>
149
+
150
+ <page_two_columns_left>
151
+ <reference name="root">
152
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
153
+ <!-- Mark root page block that template is applied -->
154
+ <action method="setIsHandle"><applied>1</applied></action>
155
+ </reference>
156
+ </page_two_columns_left>
157
+
158
+ <page_two_columns_right>
159
+ <reference name="root">
160
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
161
+ <!-- Mark root page block that template is applied -->
162
+ <action method="setIsHandle"><applied>1</applied></action>
163
+ </reference>
164
+ </page_two_columns_right>
165
+
166
+ <page_three_columns>
167
+ <reference name="root">
168
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
169
+ <!-- Mark root page block that template is applied -->
170
+ <action method="setIsHandle"><applied>1</applied></action>
171
+ </reference>
172
+ </page_three_columns>
173
+ </layout>
package.xml CHANGED
@@ -1,25 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MagBag</name>
4
- <version>1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Extension license name (OSL v3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>This facilitates you to bag your products, simply by drag &amp; drop of the product image into your bag.</summary>
10
- <description>This facilitates you to bag your products, simply by drag &amp; drop of the product image into your bag.
11
- &lt;br&gt;
12
- Description:
13
- After installing it, on the listing page you will have the option of "Open Bag" which is droppable,movable container for the products.
14
- &lt;br&gt;
15
- By Dragging product image into your bag, you actually add product to your cart , you can directly check that which products are in your bag as well as in your cart.
16
- &lt;br&gt;
17
- This is extremely the user friendly fuction. User can easily add product to his/her bag.</description>
18
- <notes>This extension will update your listing page, css, js, and CartController.php</notes>
19
  <authors><author><name>Amit Shah</name><user>auto-converted</user><email>amitshah2007@gmail.com</email></author></authors>
20
  <date>2010-04-09</date>
21
- <time>13:34:20</time>
22
- <contents><target name="mageskin"><dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="jquery.fancybox-1.3.1.css" hash="67e3c342885fc13fc8aaf0d915ccbfc2"/></dir><dir name="images"><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><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"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="631e24701fbefb4a1315c29e02e1a3fa"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir><dir name="js"><dir name="varien"><file name="interface.js" hash="148ec7aaeb7a75d43cc34e02768caf9c"/><file name="jquery.fancybox-1.3.1.js" hash="8eeb837e2a084703f5f1c413aa4d8845"/><file name="jquery.js" hash="92d4f1412222f2dc12627ab42b66fc1c"/></dir></dir></dir></target><target name="magecore"><dir><dir name="Mage"><dir name="Checkout"><dir name="controllers"><file name="CartController.php" hash="9c8ffe1b7969f2f70f205c480446786e"/></dir></dir></dir></dir></target></contents>
23
  <compatible/>
24
  <dependencies/>
25
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MagBag</name>
4
+ <version>1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Extension license name (OSL v3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>This facilitates you to bag your products, simply by drag and drop of the product image into your bag.</summary>
10
+ <description>This facilitates you to bag your products, simply by drag and drop of the product image into your bag.</description>
11
+ <notes>this extension is used for adding product to cart by using bag container.</notes>
 
 
 
 
 
 
 
12
  <authors><author><name>Amit Shah</name><user>auto-converted</user><email>amitshah2007@gmail.com</email></author></authors>
13
  <date>2010-04-09</date>
14
+ <time>13:59:35</time>
15
+ <contents><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="jquery.fancybox-1.3.1.css" hash="67e3c342885fc13fc8aaf0d915ccbfc2"/></dir><dir name="images"><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><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"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="page.xml" hash="479afa7e7e79bb8e16b54bc4e42a330e"/></dir><dir name="template"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="631e24701fbefb4a1315c29e02e1a3fa"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="varien"><file name="interface.js" hash="148ec7aaeb7a75d43cc34e02768caf9c"/><file name="jquery.fancybox-1.3.1.js" hash="8eeb837e2a084703f5f1c413aa4d8845"/><file name="jquery.js" hash="92d4f1412222f2dc12627ab42b66fc1c"/></dir></dir></target><target name="magecore"><dir name="Mage"><dir name="Checkout"><dir name="controllers"><file name="CartController.php" hash="9c8ffe1b7969f2f70f205c480446786e"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>