Version Notes
Minor logic fix when adding products from category page
Download this release
Release Info
Developer | Hussey Coding |
Extension | HusseyCoding_AjaxCartPopup |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
app/code/community/HusseyCoding/AjaxCartPopup/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<HusseyCoding_AjaxCartPopup>
|
5 |
-
<version>1.2.
|
6 |
</HusseyCoding_AjaxCartPopup>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<HusseyCoding_AjaxCartPopup>
|
5 |
+
<version>1.2.3</version>
|
6 |
</HusseyCoding_AjaxCartPopup>
|
7 |
</modules>
|
8 |
<global>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>HusseyCoding_AjaxCartPopup</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -12,11 +12,11 @@
|
|
12 |
This extension replaces the sidebar minicart and shows up to 10 products most recently added to the cart. There are also convenient links to the cart and checkout pages from the ajax and mini cart popups.
|
13 |

|
14 |
Ajax Cart Popup will works all product types.</description>
|
15 |
-
<notes>
|
16 |
<authors><author><name>Hussey Coding</name><user>husseycoding</user><email>info@husseycoding.co.uk</email></author></authors>
|
17 |
-
<date>2015-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magecommunity"><dir name="HusseyCoding"><dir name="AjaxCartPopup"><dir name="Block"><file name="Cart.php" hash="1c2015b9082cf0418735e23d6063e8f4"/><file name="Popup.php" hash="357b60a75321567afb732a007999a3eb"/></dir><dir name="controllers"><file name="CartController.php" hash="26d9896b23a502dc76d919c27415dd95"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0e8cf41422012a721cefbb40a763b702"/><file name="config.xml" hash="
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>HusseyCoding_AjaxCartPopup</name>
|
4 |
+
<version>1.2.3</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>
|
12 |
This extension replaces the sidebar minicart and shows up to 10 products most recently added to the cart. There are also convenient links to the cart and checkout pages from the ajax and mini cart popups.
|
13 |

|
14 |
Ajax Cart Popup will works all product types.</description>
|
15 |
+
<notes>Minor logic fix when adding products from category page</notes>
|
16 |
<authors><author><name>Hussey Coding</name><user>husseycoding</user><email>info@husseycoding.co.uk</email></author></authors>
|
17 |
+
<date>2015-10-12</date>
|
18 |
+
<time>13:07:44</time>
|
19 |
+
<contents><target name="magecommunity"><dir name="HusseyCoding"><dir name="AjaxCartPopup"><dir name="Block"><file name="Cart.php" hash="1c2015b9082cf0418735e23d6063e8f4"/><file name="Popup.php" hash="357b60a75321567afb732a007999a3eb"/></dir><dir name="controllers"><file name="CartController.php" hash="26d9896b23a502dc76d919c27415dd95"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0e8cf41422012a721cefbb40a763b702"/><file name="config.xml" hash="282a3678739c4b19e975ed03f27f7be0"/><file name="system.xml" hash="f81637177507e6193ecb0a9a6f7f44a5"/></dir><dir name="Helper"><file name="Data.php" hash="c1f5cb33c97e2896335f2686e4a78c78"/></dir></dir><dir name="Common"><dir name="etc"><file name="system.xml" hash="6c9ba9f227b9adfc9abf97f17b46fdbf"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="HusseyCoding_AjaxCartPopup.xml" hash="112a71843351e85521ae9b66965b0112"/><file name="HusseyCoding_Common.xml" hash="31e82d3d9b3179c2fa9e002f9669da47"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ajaxcartpopup.xml" hash="762a66cc9e1daa065202643b7e2f5356"/></dir><dir name="template"><dir name="ajaxcartpopup"><file name="cart.phtml" hash="e012b212b4a64b7a9416d2500209de86"/><file name="notice.phtml" hash="0dfcd36aac0783cfbb3331f2f7c2e3c3"/><file name="popupbody.phtml" hash="37fad39508776e3012ab4aad8579a22c"/><file name="popup.phtml" hash="008d78ec213185f5aa0dee99c4876c4a"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="ajaxcartpopup.css" hash="6dfa39936898305fbea01ce67c22be0d"/></dir><dir name="js"><file name="ajaxcartpopup.js" hash="8edd733de3965640270d610abf3393a2"/></dir><dir name="images"><dir name="ajaxcartpopup"><file name="button.gif" hash="ccafde0fa767eaf7faf20da4ea73c8bd"/><file name="loading.gif" hash="faa74e8c61fc64d5edb11613c7eead2c"/><file name="overlay.png" hash="0a949aa705c4792377b09bbd04668195"/></dir></dir></dir></dir></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|
skin/frontend/base/default/js/ajaxcartpopup.js
CHANGED
@@ -66,7 +66,7 @@ var cartpopup = Class.create({
|
|
66 |
$$("button.btn-cart").each(function(e) {
|
67 |
if (!e.up("div.block-reorder")) {
|
68 |
var request = e.readAttribute("onclick");
|
69 |
-
if (request.indexOf("/product/") > 0) {
|
70 |
var id = request.substring(request.indexOf("/product/")).split("/");
|
71 |
id = id[2];
|
72 |
e.addClassName("ajaxprodid-" + id);
|
66 |
$$("button.btn-cart").each(function(e) {
|
67 |
if (!e.up("div.block-reorder")) {
|
68 |
var request = e.readAttribute("onclick");
|
69 |
+
if (request && request.indexOf("/product/") > 0) {
|
70 |
var id = request.substring(request.indexOf("/product/")).split("/");
|
71 |
id = id[2];
|
72 |
e.addClassName("ajaxprodid-" + id);
|