Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author David Jensen

    (@dkjensen)

    Hello

    The download cart as PDF can be added to the checkout if that is what you are referring to, but the content of the PDF shows the cart, not what is visible on checkout

    Thread Starter marinos7

    (@marinos7)

    Thank you.
    How can I add it to the Checkout page, and is there any way to modify it to show more fields either from the Cart page or from the Checkout page?
    Can I also have it in both pages?

    Furthermore, I could not find the menu of the plugin in my WordPress Dashboard. Where exactly is it, please?

    Thread Starter marinos7

    (@marinos7)

    Hello,
    I used the code of the link below, and now the button appears on the Checkout page. Can you please let me know how I can make the Billing Information section of the Checkout page appear in the PDF document?

    https://stackoverflow.com/questions/57662667/how-to-fix-woocommerce-cart-pdf-functions-file-to-move-pdf-link-to-checkout-pa

    Plugin Author David Jensen

    (@dkjensen)

    You would want to grab the code from the checkout templates in the WooCommerce plugin, and paste them in the cart-table.php

    First, copy the PDF template from the plugin folder wc-cart-pdf/templates/cart-table.php into your child theme folder child-theme/woocommerce/wc-cart-pdf/cart-table.php

    Then you can add the checkout code wherever you’d like on the PDF in the cart-table.php file

    The plugin settings are in Appearance > Customize > WooCommerce cart pdf

    Thread Starter marinos7

    (@marinos7)

    Now I have the button in both the Checkout and Cart pages. How can I hide it/remove it from the Cart page, please?

    Plugin Author David Jensen

    (@dkjensen)

    You will use this code:

    remove_action( 'woocommerce_proceed_to_checkout', 'wc_cart_pdf_button', 21 );

    Thread Starter marinos7

    (@marinos7)

    Thank you, it worked!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Download Checkout as PDF’ is closed to new replies.