• Resolved ecros

    (@ecros)


    Hi David, in the previous version of the plugin the SKU was included in the PDF, however after the last time you helped get this working, I noticed they are no longer showing up. Can you help get them back please?

    • This topic was modified 3 weeks, 3 days ago by ecros.

    The page I need help with: [log in to see the link]

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

    (@dkjensen)

    Hi Ecros

    Do you still have the cart-table.php template override in your child theme? If not, that is a critical piece that is needed to modify the PDF template, and ensure when updating the plugin your changes do not get overridden.

    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.

    At that point you can modify the cart-table.php inside your child theme, the relevant piece you will need to add inside the loop is echo $_product->get_sku().

    Thread Starter ecros

    (@ecros)

    Thank you @dkjensen got it modified and working perfectly. I appreciate it!

    Plugin Author David Jensen

    (@dkjensen)

    No problem!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.