Hi there !
Is there a way to add "Save as purchase list" option to the checkout page like we've in cart page ? If yes, then how ?
Best Regards
Purchase Lists
Closed
Comments
Hi Sohaib,
Thank you for getting in touch,
Yes, you can add that with a custom PHP code snippet:
global $b2bking_public; add_action( 'woocommerce_review_order_before_payment', array($b2bking_public, 'b2bking_purchase_list_cart_button'));
To add a PHP snippet, you can add it to functions.php or by following our guide at https://b2bkingplugin.com/docs/how-to-add-a-snippet-php-or-js/
If you want to control where exactly the button shows in the checkout page, in the above snippet you can change
woocommerce_review_order_before_payment
with any hook from this page https://www.businessbloomer.com/woocommerce-visual-hook-guide-checkout-page/
Let me know if I can help with anything, or if you have any questions,
Kind regards,
Stefan
Awesome. It works perfectly fine.
Thanks
1