Django-oscar: Oscar redirect user automatically to basket page after clicking add to cart button (On production)?

Created on 21 Aug 2018  路  3Comments  路  Source: django-oscar/django-oscar

Hi,
when any user click on add to cart button, oscar automatically redirect it to basket page.

All 3 comments

@rahulmohite228 please use the mailing list or Stack Overflow for support issues. We use Github to handle bugs and feature requests only.

any solutions for above issues

I'm not sure what the issue is? What you're describing is Oscar's default behaviour if no next URL is specified in the post request. If you'd like to do something else you can override the logic here: https://github.com/django-oscar/django-oscar/blob/master/src/oscar/apps/basket/views.py#L299-L303

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jayvdb picture jayvdb  路  3Comments

codeinthehole picture codeinthehole  路  4Comments

aravind12345 picture aravind12345  路  6Comments

maikhoepfel picture maikhoepfel  路  8Comments

prince-tanapong picture prince-tanapong  路  6Comments