Entry to WooCommerce before checkout

Hi there,
I’m not a tech guy and don’t really know what to do so I thought there might be here someone who can help.

I’m using WooCommerce in catalog mode without needing the checkout.
I have a plugin that takes the cart content and saves it as PDF. It also has a template that can be adjusted.
The entire process begins with a form. Once completed the user is redirected to the catalog page.
In the PDF template I found the following code:

<?php echo esc_html( $customer->get_billing_first_name() . ' ' . $customer->get_billing_last_name() ); ?>

It turns out it is used in the Woo checkout page. But since I don’t have a checkout and I print the cart content before it, it would be great if I could get the Name from the form and replace it in the template.
Checking the documentation I found that I could get the entry using rgar( $entry, '1.3' );
I assume that won’t work just by replacing one line of code with another.

Can someone point me in the right direction?
Thank you vrey much.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.