Skip Cart Contents When Adding to Cart and Go Directly to Checkout

I’m trying to eliminate that cart contents screen (/index.php?target=checkout&mode=cart) that appears after the customer add’s an item to the cart.



How do I make it so that when a user add’s an item to their cart it goes directly the checkout screen? (/index.php?target=checkout&mode=checkout)



Thanks!

I think if you change line 84 in /include/customer/checkout.php:


fn_redirect("$index_script?$target_name=checkout&$mode_name=cart");


to


fn_redirect("$index_script?$target_name=checkout&$mode_name=checkout");

Brilliant…it worked! Thank you Thank you Thank you!

Any ideas on how to do this in 2.08?