Button labels for checkout

Taking an inventory of submit button labels during the purchase process.

Amazon
* Add to cart
* Proceed to checkout
* Continue (3x)
* Place your order

Half.com
* Buy
* Proceed to Checkout
* Use this Address
* Use this Card
* Place my order!

Sears.com
* Add to Cart
* View Cart and Checkout / Continue Shopping
* Proceed to Checkout (or PayPal button)

Forrst.com
* UPGRADE NOW $5/month - $49/year
* Buy Supporter Account

Usabilityhub.com
* upgrade plan
* change plan
* confirm

Insert html django contrib messages

I wanted to use raw HTML in certain invocations of Django’s Messages architecture such as in messages.success.

When sending your message:

messages.success(request, mark_safe("""Thanks for your purchase. 
     Your <a href="%s">Account &gt; Payment</a>""" 
     % urlresolvers.reverse(‘account_payment_detail’, kwargs = {‘id’:payment.id})
       ), extra_tags=‘html’)

Modify your Django snippet to skip the web-safe encoding:

{% if ‘html’ in message.tags %}
  {{ message|safe }}
{% else %}
  {{ message }}
{% endif %}

Twitter Bootstrap not working with LESS.js

I was having a problem trying to use “less” (lesscss v1.2.0) with Twitter Bootstrap (v1.4).

I could see LESS pull all the bootstrap *.less files off the server but the CSS would render properly. In many cases it would have the error:

Cannot call method 'slice' of undefined

The reason is a bug in the most recent version of less.js. To resolve the problem I downgraded to “less” v1.1.5

lesscss

https://github.com/twitter/bootstrap/issues/968