If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / AJAX Add to Cart [Support Thread]

AJAX Add to Cart [Support Thread]

Started by balihr on 6 Jun 2014, 1:13 PM · Views: 29,036

Results 21 to 40 of 134
14 Jun 2014, 10:49 PM
#21
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #21 by balihr

picaflor-azul:

I too love this module and may be including it in my next free responsive template package.
Hey Anne! Glad to hear that! And, as DivaVocals said, not just the free ones, I hope. :smile:

My site - Pro ZC Help
My portfolio | My plugins

15 Jun 2014, 4:36 AM
#22
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #22 by balihr

I've just updated the module - current version is 1.1

Changes:

  • added an option to manually dismiss the cart slider
  • using jQuery 1.10.2 (for compatibility reasons)
    Read version_history.txt to see what's changed.

Submitting to Plugins now, but until it's approved, it can be found here.

My site - Pro ZC Help
My portfolio | My plugins

22 Jun 2014, 8:10 PM
#23
betterprice4u avatar

betterprice4u

New Zenner

Join Date:
Aug 2012
Location:
oldham
Posts:
10
Plugin Contributions:
0

Post #23 by betterprice4u

trying to get 1.1 of this module working but , seems like the 2nd script in tpl_product_info_display doesn't want to load

<?php // BOF ZX AJAX Add to Cart 2/2 ?>
		<span id="loadBar"></span><br /><span id="button_cart"></span>
		<?php
		// EOF ZX AJAX Add to Cart 2/2 ?>

when doing view source the script isn't present , but it is their in the file.

any help thanks in advance
betterpriceltd.com

22 Jun 2014, 9:29 PM
#24
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #24 by balihr

betterprice4u:

trying to get 1.1 of this module working but , seems like the 2nd script in tpl_product_info_display doesn't want to load

<?php // BOF ZX AJAX Add to Cart 2/2 ?>
  	<span id="loadBar"></span><br /><span id="button_cart"></span>
  	<?php
  	// EOF ZX AJAX Add to Cart 2/2 ?>

when doing view source the script isn't present , but it is their in the file.

any help thanks in advance
betterpriceltd.com

I believe it's due to Magnific Popup, but I can't tell for sure. Basically, you're "killing" jQuery loaded scripts with another jQuery being loaded again. You load 1.8.2 at the beginning, then load relevant scripts and then load 1.7.1 AGAIN which most likely breaks previously loaded script(s). Try not loading that jQuery instance and see if it works for you.

Regards,
Leonard

My site - Pro ZC Help
My portfolio | My plugins

22 Jun 2014, 10:17 PM
#25
betterprice4u avatar

betterprice4u

New Zenner

Join Date:
Aug 2012
Location:
oldham
Posts:
10
Plugin Contributions:
0

Post #25 by betterprice4u

thanks Leonard , for your help .. seems to be working now ,, :-)

22 Jun 2014, 10:20 PM
#26
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #26 by balihr

No probs, hope you enjoy the module. :smile:

My site - Pro ZC Help
My portfolio | My plugins

25 Jun 2014, 8:05 PM
#27
satu avatar

satu

New Zenner

Join Date:
Jan 2007
Location:
Idaho
Posts:
43
Plugin Contributions:
0

Post #27 by satu

I would love to enjoy this module, but it just doesn't work for me.
I have turned off the jQuery, turned it on, off, on off on. Losing my head here. Done merging of the 3 files.
Still nothing works, also run the sql file.

my website: k-liteusa.com/shop
Any help would be really greatly appreciated.

Bought coffee for the Zen Cart Team!
Zen Cart version 1.51

25 Jun 2014, 8:41 PM
#28
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #28 by balihr

Satu:

I have turned off the jQuery, turned it on, off, on off on. Losing my head here. Done merging of the 3 files.
Still nothing works, also run the sql file.
Any help would be really greatly appreciated.

Hm... Not an easy one... I'd start by removing jQuery 1.4.4 from your system as it's obsolete and then enable jQuery from this module. Next, you'll need to edit the BackToTop function and change the $ to jQuery because it's conflicting. This SHOULD do the trick, but I'm not really sure if your MooTools are causing any conflicts...

Regards,
Leonard

My site - Pro ZC Help
My portfolio | My plugins

25 Jun 2014, 11:26 PM
#29
satu avatar

satu

New Zenner

Join Date:
Jan 2007
Location:
Idaho
Posts:
43
Plugin Contributions:
0

Post #29 by satu

balihr:

Hm... Not an easy one... I'd start by removing jQuery 1.4.4 from your system as it's obsolete and then enable jQuery from this module. Next, you'll need to edit the BackToTop function and change the $ to jQuery because it's conflicting. This SHOULD do the trick, but I'm not really sure if your MooTools are causing any conflicts...

Regards,
Leonard

Thank you for getting back to me so quickly.
I removed jQuery 1.4.4. Uninstalled back to top. Uninstalled social book marks.
What would be the MooTools? :blush:

Still not working, but if I click on the cart at top left corner, it opens the Ajax cart.

Thank you!

Satu

Bought coffee for the Zen Cart Team!
Zen Cart version 1.51

25 Jun 2014, 11:31 PM
#30
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #30 by balihr

Works fine for me... When I go to your product page and click "Add to Cart", it shows me spinning image and then the cart slider shows up (which WILL need some styling). Which browser are you using? And did you try to clear your browser cache?

My site - Pro ZC Help
My portfolio | My plugins

25 Jun 2014, 11:48 PM
#31
satu avatar

satu

New Zenner

Join Date:
Jan 2007
Location:
Idaho
Posts:
43
Plugin Contributions:
0

Post #31 by satu

I removed the other " cart" and noticed it started to work. I'm using Firefox. Now it pops up beautifully.!!! JEEEE!
Ops, forgot the most obvious, the cache.
I guess I can adjust the place where it pops, from the css file? Is there anyway that I can add and image before the "Your Cart" and move it to the right with the others? Between the Sign In and Checkout?

Thank a million!

Satu

Bought coffee for the Zen Cart Team!
Zen Cart version 1.51

25 Jun 2014, 11:52 PM
#32
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #32 by balihr

Of course - that's all CSS work from now on. You have div id topcartinner which you can move and style any way you like. Add a background image and padding on the left, for example. Or just add an image at the beginning of that div (like your other links). I'll leave the styling to you. :smile:

My site - Pro ZC Help
My portfolio | My plugins

1 Jul 2014, 8:59 PM
#33
satu avatar

satu

New Zenner

Join Date:
Jan 2007
Location:
Idaho
Posts:
43
Plugin Contributions:
0

Post #33 by satu

It's me again.
How do I remove the "[more]" from top of my right column? It's kind a hard to see.
I don't want to have the shopping cart info in the right column, and I had turned off both shopping_cart.php and zx_ajax_shopping_cart.php in the layout settings. I think it is coded somewhere in the Ajax add to cart files, since if I remove the Ajax add to cart in the templates/xxx/common/tpl_header.php it does not show.
Thank you.
Satu

Bought coffee for the Zen Cart Team!
Zen Cart version 1.51

2 Jul 2014, 10:54 AM
#34
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #34 by balihr

Hm...

I'm having a hard time replicating this on the classic template - whatever I do, it works just fine. Since no one else reported such a problem, I'm assuming this has something to do with your template and the way OTHER things are coded. I really can't tell without accessing your files.

Regards,
Leonard

My site - Pro ZC Help
My portfolio | My plugins

3 Jul 2014, 9:51 PM
#35
satu avatar

satu

New Zenner

Join Date:
Jan 2007
Location:
Idaho
Posts:
43
Plugin Contributions:
0

Post #35 by satu

Driving miss satu crrazy.

Only way to remove it, (that I found out) was to go to

includes/languages/your_template/english.php

LINE 71: define ('BOX_HEADING_LINKS', '  [more]');
After: define ('BOX_HEADING_LINKS', '');

I don't know if it is the COWOA that makes it show up.

Well Happy July the Fourth to all!

Satu

Bought coffee for the Zen Cart Team!
Zen Cart version 1.51

3 Jul 2014, 9:53 PM
#36
satu avatar

satu

New Zenner

Join Date:
Jan 2007
Location:
Idaho
Posts:
43
Plugin Contributions:
0

Post #36 by satu

One more thing. I love "Finntimo's" website, the look is really nice and clean.

Sincerely,
Satu

Bought coffee for the Zen Cart Team!
Zen Cart version 1.51

3 Jul 2014, 10:41 PM
#37
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #37 by balihr

Hm... Interesting... But still, must be something with OTHER stuff that you have done.

It's definitely not caused by COWOA because that mod doesn't even have any sideboxes (that I'm aware of).

It really is a bit weird, but also got me thinking... How about you try to comment out line 20 in includes/modules/sideboxes/YOUR_TEMPLATE/zx_ajax_shopping_cart.php so you get:

    $title =  BOX_HEADING_SHOPPING_CART;
    $title_link = false;
    //$title_link = FILENAME_SHOPPING_CART;

I'm not even sure how that line got there, it's completely needless... :smile: Will remove from future updates, thanks for noticing it.

My site - Pro ZC Help
My portfolio | My plugins

4 Jul 2014, 12:57 AM
#38
satu avatar

satu

New Zenner

Join Date:
Jan 2007
Location:
Idaho
Posts:
43
Plugin Contributions:
0

Post #38 by satu

balihr:

Hm... Interesting... But still, must be something with OTHER stuff that you have done.

It's definitely not caused by COWOA because that mod doesn't even have any sideboxes (that I'm aware of).

It really is a bit weird, but also got me thinking... How about you try to comment out line 20 in includes/modules/sideboxes/YOUR_TEMPLATE/zx_ajax_shopping_cart.php so you get:

$title =  BOX_HEADING_SHOPPING_CART;
$title_link = false;
//$title_link = FILENAME_SHOPPING_CART;
> 
> I'm not even sure how that line got there, it's completely needless... :smile: Will remove from future updates, thanks for noticing it.

Wow! That did it! Thank you so much! 
Satu

Bought coffee for the Zen Cart Team!
Zen Cart version 1.51

5 Jul 2014, 8:04 AM
#39
destruxon avatar

destruxon

New Zenner

Join Date:
Mar 2013
Posts:
16
Plugin Contributions:
0

Post #39 by destruxon

hi balihr
ive installed the plugin working brill apart from every now and then if you go into a choice from the menu on the left, then choose a sub menu then buy a item the old cart pops up no ajax?, doesn't seem to do it if no sub cats, and not all the time though?? weird! any idea what would cause this behavior? :) not a moan just curious lol cracking plugin ;) kutgw

5 Jul 2014, 8:26 AM
#40
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Post #40 by balihr

destruxon:

hi balihr
ive installed the plugin working brill apart from every now and then if you go into a choice from the menu on the left, then choose a sub menu then buy a item the old cart pops up no ajax?, doesn't seem to do it if no sub cats, and not all the time though?? weird! any idea what would cause this behavior? :) not a moan just curious lol cracking plugin ;) kutgw

I'm away for the weekend so I won't be able to help much, but you've skipped the MOST important thing for any help - a link to your site...

BTW, I hope you know that this module works ONLY on the product page and not on product_listing (aka category page).

My site - Pro ZC Help
My portfolio | My plugins