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 81 to 100 of 134
25 Feb 2015, 9:41 AM
#81
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Post #81 by heathenmagic

I am using a different AJAX add to cart and slider. I wonder if it has the issue with sessions where occasionally it says it has added to cart, but the cart is empty and it takes you to the home page? I have been told that it is an issue with my server, but its hard to pinpoint how to fix that :-(

25 Feb 2015, 2:05 PM
#82
balihr avatar

balihr

Totally Zenned

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

Post #82 by balihr

HeathenMagic:

I am using a different AJAX add to cart and slider.

Are you using some other plugin or this specific one? Please keep in mind this support thread is meant ONLY for ZX AJAX Add to Cart (http://www.zen-cart.com/downloads.php?do=file&id=1876). If you're using another plugin, please start a new thread with your question. However, I don't think there's any other such plugin that is free and available for free download - from what I know, all other similar plugins are commercial so you shouldn't expect any support on the forum, commercial plugins should be supported by it's developers and/or companies that sold it...

My site - Pro ZC Help
My portfolio | My plugins

25 Feb 2015, 4:09 PM
#83
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Post #83 by heathenmagic

Hello Balihir,

Thanks for your reply. Yes I tried one by Numinix and now from Zucando. I was only just checking to see if it may work differently, the Add To Cart + Slider uses JSON you see. To be honest, I don't understand how the sessions thing works, apparently sometimes a second session can be created on some occasions, thus resulting in the item not being added to the cart and home page redirect once clicking on the cart (which is empty instead). My apologies. Whilst it must be as I am told a server issue (strange things have happened before on it), it perhaps may happen with others on their servers, and it is not something that happens all the time.

25 Feb 2015, 4:44 PM
#84
balihr avatar

balihr

Totally Zenned

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

Post #84 by balihr

I haven't used the modules from Numinix nor Zucando so I can't tell what's happening. I haven't heard about any similar session related problems with my plugin, and it's in use on quite a few sites. It doesn't mean there are no problems with it, I'm just saying nobody had reported it so far...

One idea, tho... Can you go to your Tools->Server/Version Info and see what your settings are for register_globals?

Regards,
Leonard

My site - Pro ZC Help
My portfolio | My plugins

25 Feb 2015, 6:09 PM
#86
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Post #86 by heathenmagic

Apparently it is disabled right now. James

HeathenMagic:

Hi Leonard,

Thanks for that. There is no setting I tried doing a find lookup on the page also. I will contact the host, seems strange it isn't there as I have heard of it before...........

Regards,

James

25 Feb 2015, 6:39 PM
#87
balihr avatar

balihr

Totally Zenned

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

Post #87 by balihr

Yeah, that's how it should be... Should be set to Off. In that case, I'm out of ideas. It's not my plugin and I have no idea how it works so I'm afraid I can't help. Perhaps Chu would be able to help you since you're using his module... Try contacting him directly, he might have some ideas.

In case ANYONE has the same problem with this module, I'd like to know about it. :)

BTW, this module uses JSON as well. I don't think THAT has any influence on your problem... If session is properly initialized, an AJAX call shouldn't destroy it. Dunno...

My site - Pro ZC Help
My portfolio | My plugins

25 Feb 2015, 6:45 PM
#88
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Post #88 by heathenmagic

Thanks Leonard. Chu is also at a loss also, but definitely a server thing in what he thinks it might be. Thanks so much for your help, and perhaps it might happen elsewhere - and maybe somebody might have register globals on and then switch it off and fix any issue they have. I know sometimes finding a post in a thread made by somebody has helped me out quite a few times :-). Great mod by the way, works nice and smoothly.

12 Jun 2015, 8:59 AM
#89
marco_serge avatar

marco_serge

New Zenner

Join Date:
Jun 2014
Location:
Modena, Italy
Posts:
24
Plugin Contributions:
0

Post #89 by marco_serge

Hi Guys, I've installed this mod on Zen Cart 1.51 and it works perfectly, it's a really great update to the Zen Cart default cart.

What I'm asking is: is it possible to display the shipping costs direclty in the Ajax dynamic cart as soon as a customer add a product inside it? I need this because in my shop people see shipping costs only after having registered and logged in and this is no good.

Thanks in advance for the help

30 Jul 2015, 12:03 AM
#90
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Post #90 by jimmie

How do i move the cart totals to the exact position the old ones are
?
https://www.floorz-n-more.com

6 Aug 2015, 7:59 PM
#91
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Post #91 by mikestaps

jimmie:

How do i move the cart totals to the exact position the old ones are
?
https://www.floorz-n-more.com

First of all you are going to want to get rid of the old cart link using an if {} else {} like DivaVocals shows in this POST.

If you follow her posts starting a few above the linked one she is trying to do the same...

6 Aug 2015, 8:48 PM
#92
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Post #92 by mikestaps

First of all, great addon!
I have this up and running nicely, on the desktop version of my site... mobile (responsive) are another story.
For some odd reason the cart slider is behind my home page slide show.
I tried adjusting the z-index, no luck.
I changed the loading of the jscript_script_loader.php file higher up in the CSS/JS loader file (loaded just after the jquery 1.11.3-min file), no good.
Any other ideas???

Page is here - TEST SITE
width breaks are set at 767px and 1038px for the different versions of the topcartinner div

7 Aug 2015, 12:43 AM
#93
balihr avatar

balihr

Totally Zenned

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

Post #93 by balihr

includes/templates/tableau/css/stylesheet_responsive.css
line 299 has overflow:hidden for .wrapper--container - that's what is hiding the cart container. If you remove that line, the slider shows up just fine, I have no idea if it will affect anything else - be careful because it might break something in the layout. I have never used tableau so I don't know...

My site - Pro ZC Help
My portfolio | My plugins

7 Aug 2015, 12:46 PM
#94
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Post #94 by jimmie

ok i got it move to the right position
https://www.floorz-n-more.com
But, it stretched my screen, how do i make the screen back smaller

7 Aug 2015, 3:10 PM
#95
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Post #95 by mikestaps

jimmie:

ok i got it move to the right position
https://www.floorz-n-more.com
But, it stretched my screen, how do i make the screen back smaller

CSS fix.
Your mega-wrapper has a fixed width of 1034px, just give the content-container the same. After doing this in the debug I had to adjust the margins as well...
CSS was:

#content-container {
    margin-top: -75px;
    }

I adjusted to:

#content-container {
    margin: -75px auto 0 auto;
    width: 1034px;
}

You will want to check that site wide to make sure it doesn't mess up anything else...

Just a suggestion, on a side note you may want to make the background of the <div id="mainWrapper"> to white to help with the readability of the menu and currencies at the top...

7 Aug 2015, 10:37 PM
#96
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Post #96 by jimmie

this worked on Index.home.css (Homepage) Not on other pages, any more suggestions

9 Aug 2015, 11:06 PM
#98
balihr avatar

balihr

Totally Zenned

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

Post #98 by balihr

jimmie:

just cant figure outnthe css for the categories pages, wont bring right side sideboxes over.
http://floorz-n-more.com/index.php?main_page=index&cPath=1

jimmie, it seems that you closed a div to early somewhere in your code. Comparing it with Anne's demo, I'd say it's somewhere right before the mega menu, but I can't tell for sure. Check your code and see if there are any closing div tags that shouldn't be there - I'm sure you'll find one extra...
BTW, this is kinda off topic for this thread... :wink:

My site - Pro ZC Help
My portfolio | My plugins

9 Aug 2015, 11:23 PM
#99
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Post #99 by jimmie

i got it fixed. it was my specials pushing it over

10 Aug 2015, 3:21 PM
#100
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Post #100 by mikestaps

balihr:

jimmie, it seems that you closed a div to early somewhere in your code. Comparing it with Anne's demo, I'd say it's somewhere right before the mega menu, but I can't tell for sure. Check your code and see if there are any closing div tags that shouldn't be there - I'm sure you'll find one extra...
BTW, this is kinda off topic for this thread... :wink:

+1 for this solution. I thought of this over the weekend...