Comments 1Sohaib Ahmad started the conversationNovember 23, 2021 at 1:57pmHi 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 2,218WebWizards repliedNovember 23, 2021 at 5:09pmHi 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://woocommerce-b2b-plugin.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_paymentwith 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 1Sohaib Ahmad repliedNovember 23, 2021 at 5:36pmAwesome. It works perfectly fine.Thanks1 Like Sign in to reply ...
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
Hi Sohaib,
Thank you for getting in touch,
Yes, you can add that with a custom PHP code snippet:
To add a PHP snippet, you can add it to functions.php or by following our guide atĀ https://woocommerce-b2b-plugin.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
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