3 replies [Last post]
mitchelljj's picture
Offline
Joined: 04/23/2010
Juice: 20
Was this information Helpful?

Hi,

If I already have an ubercart shopping cart within the right sidebar
block can I configure my Product content type so it does not go to
another page when the "add to cart" button is clicked and just
increments to the shopping cart (that is contained within the right
sidebar block) which it already does.

Thanks,

John

alien73's picture
Offline
Bug Finder
Joined: 11/10/2007
Juice: 450
Re: Preventing an "add to cart" button when clicked to going to

I believe there's a setting in admin that states go to cart after a product is added to cart or not? Sorry I'm away from my dev box at the moment

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Re: Preventing an "add to cart" button when clicked to going

uc_ajax_cart

<tr>.
mitchelljj's picture
Offline
Joined: 04/23/2010
Juice: 20
ajax shopping cart (uc_ajax_cart) not working for a popup window

I have the ajax shopping cart (uc_ajax_cart) behaving as expected in that the webpage
is not refreshed and only the shopping cart is refreshed when you
click the "add to cart" link for a product.

But when I have a view which contains OpenLayers data which contains
an "product:Add to Cart form" field within it and you click on the
"Add to Cart" button the
shopping cart does get updated but the page also gets refreshed which
is not supposed to happen.

It appears that when it is a popup with an "add to cart" button that it does not go through the uc_ajax_cart but instead goes through the default ubercart cart which refreshes the page.

attachment of the popup window which contains the add to cart link that when clicked on refreshes the page instead of going through ajax.

AttachmentSize
issue Add to cart link refreshing page.JPG 135.09 KB