Viewing posts for the category code

Building a full ecommerce site part 9: editing the checkout process

Django-Oscar has a pretty long checkout flow. Customers don't like that, and I don't need most of it anyway. So, I decided to contract it as much as possible.

Building a full ecommerce site part 8: multilanguage support

10 June 2018, note: modeltranslation does not work on ipad! Oh no!

Building a full ecommerce site part 7: guest checkout

This one's going to be short. Want to let customers purchase stuff without signing up for a user account? Allow guest checkout by putting OSCAR_ALLOW_ANON_CHECKOUT = True into settings.py! Done.

Building a full ecommerce site part 6: send customers to Oscar's thank-you page after payment

After yesterday's frustrating process, I took a long hike up Šehitluci to chill out. When I came back down this cool conservationist dude about to cycle across Europe taught me how to identify edible herbs in a garden gone wild and I ate them. Then, I googled "javascript how to click element after event". A few googles later, I'd cobbled together the right code. I am so relieved this turned out easy.

Building a full ecommerce site part 5: testing directing customers to Oscar's thank-you page after payment

This is the story of how I thought I'd spend an hour or so, maybe two, fixing it so that when people press the "Place Order" button on the /preview page, they get sent to the /thank-you page. I started at around 10-11am. I sort of worked it out at around 11.25pm.