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.
John
On 6/3/10, John Mitchell mitchelljj98@gmail.com wrote:
I have the ajax shopping 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.
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.
John
On 6/2/10, John Mitchell mitchelljj98@gmail.com wrote:
Yes, I enabled the "Ajax shopping cart" in the right sidebar and the shopping cart does get updated but the page also gets refreshed which is not supposed to happen.
John
On 6/2/10, Mukesh Agarwal mike4u4ever2001@gmail.com wrote:
I've used the ajax cart module in the past and it worked perfectly fine for me.. Did you enable the block? On 6/2/10, John Mitchell mitchelljj98@gmail.com wrote:
I tried uc_ajax_cart and the page was still refreshed.
On 6/2/10, Mukesh Agarwal mike4u4ever2001@gmail.com wrote:
http://drupal.org/project/uc_ajax_cart -- does this not help?
http://shaque.net/catalog -- try this out
Cheers, Mukesh
On Wed, Jun 2, 2010 at 6:59 PM, John Mitchell
mitchelljj98@gmail.comwrote:
Doing the below does prevent it from going to another page, but it still refreshes the current page. Is their a way for it to just increment the shopping cart, but not refresh the page?
Thanks,
John
On 6/2/10, Sven Decabooter sdecabooter@gmail.com wrote: > Go to Administer > Store Administration > Configuration > Cart
settings
> > > Cart settings tab > In the "Add to cart redirect" textbox, enter '<none>'. > That should give you the desired behavior. > > Kind regards, > Sven > > * > -- > Sven Decabooter > > Pure Sign BVBA > Liefkensstraat 35B - 9032 Gent > Tel: 09/ 227 87 24 - GSM: 0486/ 12 74 81 > www.puresign.be - sven@puresign.be* > > On Tue, Jun 1, 2010 at 6:09 PM, John Mitchell
<mitchelljj98@gmail.com
>wrote: > >> 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 >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >
-- John J. Mitchell -- [ Drupal support list | http://lists.drupal.org/ ]
--
John J. Mitchell
[ Drupal support list | http://lists.drupal.org/ ]
--
Cheers, Mukesh -- [ Drupal support list | http://lists.drupal.org/ ]
-- John J. Mitchell
-- John J. Mitchell