Post by Zerberos » Fri Mar 11, 2011 4:14 pm

Hi,

Is it possible to not send the customers to the shopping cart if they click on the "add to Cart" button? I just want the product to be added to the shopping cart, but at the same time let the customer continue shopping wihtout going straight to the shopping cart.

Thanks in advance!

/Z

Newbie

Posts

Joined
Fri Mar 11, 2011 4:03 pm

Post by SXGuy » Fri Mar 11, 2011 8:02 pm

Im guessing you mean when people click the add to cart button that are on the category pages, because the product pages already do this.

If its for category pages, i to would like to know, but im guessing no one will say because theres a commecial extension for this already.

If you do actually mean the product page, then check the cart module extension is set to enable ajax.

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by fido-x » Fri Mar 11, 2011 8:19 pm

SXGuy wrote:... but im guessing no one will say because theres a commecial extension for this already.
Then anyone who pays for it is being ripped off, as the code is already freely available on the forum here. It's been there for over a year!

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by Zerberos » Fri Mar 11, 2011 10:24 pm

Hi and thanks for answers.

Yes, i mean when you click on the little "plus" sign. Then i just want it to add it in the cart without ending up in the cart. Like when you click on the Add to cart button when you are at product level.

Newbie

Posts

Joined
Fri Mar 11, 2011 4:03 pm

Post by Zerberos » Fri Mar 11, 2011 10:30 pm

@Fido, many thanks. Ajax is enabled. But that only help on product level. Do you have any advice how to get the Ajax functionality work on the little "plus" sign next to the pricetag on category level (or on frontpage).

Or, is it possible to add the "real" add to cart button also on category lvel or front page next to the price? That would be much better than the little almost invisible "plus" sign.

Newbie

Posts

Joined
Fri Mar 11, 2011 4:03 pm

Post by fido-x » Fri Mar 11, 2011 11:26 pm

Zerberos wrote:... Ajax is enabled. But that only help on product level. Do you have any advice how to get the Ajax functionality work on the little "plus" sign next to the pricetag on category level (or on frontpage).
Doesn't matter whether Ajax is enabled or not, or what page you're on, just follow the instructions from this point onwards (the changes to "catalog/controller/checkout/cart.php"). The "redirect" will keep you on the page you're on.

I've got a vQmod for this somewhere.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by fido-x » Fri Mar 11, 2011 11:33 pm

Found the vQmod! I've posted it at viewtopic.php?f=131&t=28513

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by Zerberos » Sat Mar 12, 2011 12:10 am

@Fido,

Many thanks for the vQmod!

I will try it out.

Cheers and have a nice weekend!

/Z

Newbie

Posts

Joined
Fri Mar 11, 2011 4:03 pm
Who is online

Users browsing this forum: No registered users and 3 guests