• Hi,

    I have these customer details showing in the PDF:

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

    My issue is the following.

    My customers can download the PDF before arriving on the checkout page. If I disable the “Capture customer information on checkout” option, the PDF doesn’t display the customer’s details.

    If the customer then deletes their information on the checkout page, before downloading the PDF, the contact details don’t appear in the PDF.

    How to force a recovery on customer data directly? Without it capturing the information via the checkout?

    Thank you for your help and your super plugin ??

Viewing 1 replies (of 1 total)
  • Plugin Author CloudCatch

    (@cloudcatch)

    @boo6ie It sounds like you may need to capture the customer data, regardless if the user visits the checkout or not. The plugin will pull the users data from their account if they are logged in, so a simple fix would be to require the user to register prior to downloading the PDF. Alternatively, you could create a form that the user must fill out with their data, prior to downloading the cart PDF.

    The latter has been requested a few times, and I am working on implementing such a feature that will be released in the future.

Viewing 1 replies (of 1 total)
  • The topic ‘Recovery customer’s data directly’ is closed to new replies.