[In-Commerce] Product and category in shopping cart url after adding product to cart

1 view
Skip to first unread message

Alexander Obuhovich

unread,
Jan 14, 2010, 7:45:38 AM1/14/10
to In-Portal Bugs
Why product and it's category are still in shopping cart url after product was added to cart.

To fix this add:

// don't pass nor product neither category to shopping cart template
$event->redirect_params['pass'] = 'm';
$event->redirect_params['pass_category'] = 0; //otherwise mod-rewrite shop-cart URL will include category

to the end of ord:OnAddToCart and ord:OnUpdateItemOptions events.

--
Best Regards,

http://www.in-portal.org
http://www.alex-time.com

Dmitry Andrejev

unread,
Jan 14, 2010, 10:04:40 AM1/14/10
to in-port...@googlegroups.com
Actually I think we still want to have Category passed through since users can choose to "Continue Shopping" and it should take them back to the Category they came from. At the same time, I don't see need for a ProductId to be carried there.

Do you think differently?


DA


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.


Alexander Obuhovich

unread,
Mar 27, 2010, 7:02:16 PM3/27/10
to in-port...@googlegroups.com
Need more opinions on that.
--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Phil ..:: domicilis.biz ::..

unread,
Mar 27, 2010, 7:31:50 PM3/27/10
to in-port...@googlegroups.com
from user's end, what would you like to see once you've added a product t your cart, if you don't want to checkout? I'd answer: the category I went from...

2010/3/28 Alexander Obuhovich <aik....@gmail.com>

Alexander Obuhovich

unread,
Mar 27, 2010, 7:39:10 PM3/27/10
to in-port...@googlegroups.com
So be it.

Dmitry Andrejev

unread,
Mar 27, 2010, 11:32:55 PM3/27/10
to in-port...@googlegroups.com
I am still holding my prev. point on this topic.

Phil, Ilya - do you think differently?

DA?

Phil ..:: domicilis.biz ::..

unread,
Mar 28, 2010, 8:59:46 AM3/28/10
to in-port...@googlegroups.com
I've expressed the same point of view: return to last category.

2010/3/28 Dmitry Andrejev <dand...@gmail.com>

Alexander Obuhovich

unread,
Mar 13, 2011, 12:34:53 PM3/13/11
to in-port...@googlegroups.com
So what are we doing here OR we are not doing anything, since it already works the way it needs to work.

Dmitry A.

unread,
Mar 13, 2011, 7:08:55 PM3/13/11
to in-port...@googlegroups.com
I would leave it as is now and come back if we come across better options.

DA
Reply all
Reply to author
Forward
0 new messages