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 1 to 20 of 134
6 Jun 2014, 1:13 PM
#1
balihr avatar

balihr

Totally Zenned

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

Post #1 by balihr

I've just released a new module - AJAX Add to Cart (with shopping cart slider) which I believe will be very interesting... Unfortunately, I don't have enough time to write the documentation for it so I can't submit it to the official Plugins section just yet. That's planned for early next week.

In the meantime, I'd be happy to hear some feedback from people who are ready to install it and test on their sites. Of course, I suggest installing it on a test site before using on a live shop...

Any feedback, comments and ideas are most welcome and might be implemented in the next release.

For now, the module can be downloaded here.

My site - Pro ZC Help
My portfolio | My plugins

12 Jun 2014, 9:33 AM
#2
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Post #2 by jerry5763837

that's a great mod, Balihr

we installed and tested on our test site, till now seems that all goes well (after deleting other js file on the test site).
ajax works fine on product info page, but no ajax on categor/product listing page. what a pity!

by the way, it definetely conficts with some of other js code.:lookaroun

12 Jun 2014, 1:59 PM
#3
balihr avatar

balihr

Totally Zenned

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

Post #3 by balihr

Hey Jerry, thanks for the feedback.

Re: conflicts - I wonder if the conflicts are caused by your other jQuery scripts which perhaps weren't prepared for additional scripts. That's very likely because I've used this module on quite a few sites with A LOT of other jQuery and was always able to resolve those conflicts... If you want, you can post a link to your site (or PM me if you prefer) and I'll take a quick look.

As for the product listing page - I have it working only for cases where you have the "buy now" button, but haven't done it for multiple quantities so I've decided to leave it out in this release. When I get more time, I'll probably add it for all 3 scenarios on product_listing page.

BTW, I've submitted the plugin yesterday, it's now awaiting approval by the Zen Cart Team. :smile:

My site - Pro ZC Help
My portfolio | My plugins

13 Jun 2014, 3:00 AM
#4
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Post #4 by jerry5763837

Hi, Balihr,

the test site is temp.popever.com

you will see your ajax conficts with one of our another ajax faq on product info page.

your suggestion would be highly appreciated.

13 Jun 2014, 4:38 PM
#5
balihr avatar

balihr

Totally Zenned

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

Post #5 by balihr

Jerry5763837:

Hi, Balihr,

the test site is temp.popever.com

you will see your ajax conficts with one of our another ajax faq on product info page.

your suggestion would be highly appreciated.

You really want me to jump through loops and hoops, huh? :smile: Login required, authorization required? All that for a test site? :smile:

My site - Pro ZC Help
My portfolio | My plugins

13 Jun 2014, 5:02 PM
#6
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #6 by divavocals

balihr:

I've just released a new module - AJAX Add to Cart (with shopping cart slider) which I believe will be very interesting... Unfortunately, I don't have enough time to write the documentation for it so I can't submit it to the official Plugins section just yet. That's planned for early next week.

In the meantime, I'd be happy to hear some feedback from people who are ready to install it and test on their sites. Of course, I suggest installing it on a test site before using on a live shop...

Any feedback, comments and ideas are most welcome and might be implemented in the next release.

For now, the module can be downloaded here.Anyplace I can see this in action???????:D

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jun 2014, 5:22 PM
#7
balihr avatar

balihr

Totally Zenned

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

Post #7 by balihr

DivaVocals:

Anyplace I can see this in action???????:D

Well, I did my best to hide it - if you click the link in my original post, it'll take you to my website where, if you look VERY closely, you might find a Demo tab with a link to the demo site... :P
Would LOVE to hear your comments!

My site - Pro ZC Help
My portfolio | My plugins

13 Jun 2014, 5:31 PM
#8
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #8 by divavocals

balihr:

Well, I did my best to hide it - if you click the link in my original post, it'll take you to my website where, if you look VERY closely, you might find a Demo tab with a link to the demo site... :P
Would LOVE to hear your comments!
hahahahaha.. aren't you a smartypants!!:laugh:

Love it!!! Two questions..

  1. Is there any plan to add a method to manually dismiss the popup.. I know it goes away pretty quickly, but... for those who want INSTANT gratification.. :laugh:
  2. Is there a way to increase or decrease the time the popup stays??

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jun 2014, 5:36 PM
#9
balihr avatar

balihr

Totally Zenned

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

Post #9 by balihr

DivaVocals:

Is there any plan to add a method to manually dismiss the popup.. I know it goes away pretty quickly, but for those who want INSTANT gratification.. lol
Well, I do have that, but decided to leave it out in favor of the large checkout button. If you hover over popup and move the mouse away, it will hide immediately, it won't stay on.
Is there a way to increase or decrease the time the popup stays??
Yup, in admin. Take a look:
zenexpert.co.uk/demo/zcadmin
demo1
demo123

My site - Pro ZC Help
My portfolio | My plugins

13 Jun 2014, 5:43 PM
#10
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #10 by divavocals

balihr:

If you hover over popup and move the mouse away, it will hide immediately, it won't stay on.I figured that out, but I'm not sure how intuitive that will be for many.. Hmmmmmmm okay...

balihr:

Yup, in admin. Take a look:
zenexpert.co.uk/demo/zcadmin
demo1
demo123Fantastic!:smile:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

13 Jun 2014, 5:57 PM
#11
balihr avatar

balihr

Totally Zenned

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

Post #11 by balihr

DivaVocals:

I figured that out, but I'm not sure how intuitive that will be for many.. Hmmmmmmm okay...

So, I'll assume this is a feature request - a button to manually close the popup. I'll probably add it later today or tomorrow.

My site - Pro ZC Help
My portfolio | My plugins

13 Jun 2014, 8:03 PM
#12
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #12 by divavocals

balihr:

So, I'll assume this is a feature request - a button to manually close the popup. I'll probably add it later today or tomorrow.

Gosh I knew there was a reason why I've been secretly stalking you.. :laugh:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

14 Jun 2014, 1:39 AM
#13
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Post #13 by jerry5763837

balihr:

You really want me to jump through loops and hoops, huh? :smile: Login required, authorization required? All that for a test site? :smile:

Oh, really sorry, Balihr:smile:

turned on autorization and login for testing, and forgot to truned off.

now all is oaky. would you please check agian? thank you.

14 Jun 2014, 2:08 AM
#14
balihr avatar

balihr

Totally Zenned

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

Post #14 by balihr

Ah, yes... You're using CSS/JS loader and obviously have an auto_loader for the product_info page. You'll need to edit the auto_loader file and set the jquery.form.js and jscript_script_loader.php loading order.
Also, if I'm not mistaken, you might have some minor issues if you continue using jQuery 1.10.2, but I'm not sure anymore... I think there was something about attributes... Can't remember anymore...

My site - Pro ZC Help
My portfolio | My plugins

14 Jun 2014, 12:18 PM
#15
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Post #15 by jerry5763837

balihr:

Ah, yes... You're using CSS/JS loader and obviously have an auto_loader for the product_info page. You'll need to edit the auto_loader file and set the jquery.form.js and jscript_script_loader.php loading order.
Also, if I'm not mistaken, you might have some minor issues if you continue using jQuery 1.10.2, but I'm not sure anymore... I think there was something about attributes... Can't remember anymore...

yes, balihr

thanks for your quick help!

actually it conflicts with ajax faq module, not css/js loader.

you will found these 3 ajax files for ajax faq module is are as follows:
/jscript/jquery/jquery-1.10.2.min.js
/jscript/jquery/jquery.fancybox.pack.js
/jscript/jquery/jquery_faq.js

wold you please kindly advise how to fix, to make your ajax to cart workable?:smile:
many appreciated.

14 Jun 2014, 1:07 PM
#16
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Post #16 by picandnix

Just FYI Leonard, I downloaded and installed on my WAMP test site, working beautifully 'out the box' with only the few merges as per the readme.
Excellent work :cheers:

14 Jun 2014, 3:22 PM
#18
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #18 by divavocals

picaflor-azul:

I too love this module and may be including it in my next free responsive template package.

Thanks,

Anne

and some that are not free too I hope.. :smartalec::laugh:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

14 Jun 2014, 10:45 PM
#19
balihr avatar

balihr

Totally Zenned

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

Post #19 by balihr

Jerry5763837:

actually it conflicts with ajax faq module, not css/js loader.
Nope, it's caused by CSS/JS loader. That module overrides standard jscript load sequence and allows you to set your own custom sequence.

wold you please kindly advise how to fix, to make your ajax to cart workable?:smile:

includes/templates/YOUR_TEMPLATE/auto_loaders/loader_faq.php
replace:

'jquery/jquery_faq.js' => 12

with:

'jquery/jquery_faq.js' => 12,
											'jscript_script_loader.php' => 13

Make sure you disable loading jQuery in the module's config.

I THINK this will work, but I haven't tested it so I'm not sure (I just downloaded that faq modules, didn't know it existed...).

You might also want to replace the jQuery file with the 1.7.1 version - I've been testing it yesterday and this module really does have some issues with 1.10.2... I'll fix it later, but for now jQuery 1.7.1 is required.

My site - Pro ZC Help
My portfolio | My plugins

14 Jun 2014, 10:47 PM
#20
balihr avatar

balihr

Totally Zenned

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

Post #20 by balihr

picandnix:

Just FYI Leonard, I downloaded and installed on my WAMP test site, working beautifully 'out the box' with only the few merges as per the readme.
Excellent work :cheers:

Glad to hear you like it! Thanks for the feedback!

My site - Pro ZC Help
My portfolio | My plugins