< ?php echo home_url('/checkout/?add-to-cart='.$product_id) ?>