I want to show "Buy Now" button on listing page i.e. on category page, after click on buy now it will redirect to onepage checkout. I used "
<button onclick="location.href ='<?php echo $this->helper('checkout/cart')->getAddUrl($_product);?>′">Buy It Now</button>
" It will redirect to cart page but i need to redirect on onepagecheckout.