< ?php echo home_url('/checkout/?add-to-cart='.$product_id) ?>
Seems to work
April 5, 2020
    

Nerve Reverse seems to help me. It’s not a cure but it does help.