Hi guys,I'm building a store with Oscar (loving the experience so far!) and I'm somewhat stuck on one particular feature that I would like to implement. I have a number of promotions of my home page and I would like to replace the "add to basket" button by one that says "buy now", so that if a user clicks that button, the product is added and he/she is taken immediately to the checkout.Is there a partial that I could use to replace add_to_basket_form_compact.html, and if not, how should I go about writing a "buy now" partial?
Thanks for your time and suggestions, and keep up the awesome work,Joris.
--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-oscar/9bb7bd0e-36dc-4472-8ffe-287113388914%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Is there a partial that I could use to replace add_to_basket_form_compact.html, and if not, how should I go about writing a "buy now" partial?I think you should be able to modify the add_to_basket_form_compact partial and add a 'next' field which specifies the URL to redirect to. You can see where the basket view decides to redirect to here: