Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter ankit.linuxbean

    (@ankitlinuxbean)

    Template override is not working. i have copy all the files from wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/pdf/Simple to wp-content/themes/enfold-child/woocommerce/pdf/Custom. but that did not work. please help.

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Ankit,
    After copying the files, you need to select the “Custom” template in the template settings. Just in case, full instructions are here: Creating a custom PDF template

    Hope that helps!
    Ewout

    Thread Starter ankit.linuxbean

    (@ankitlinuxbean)

    Please let me know about changing the tax value inyo PDF.

    Thread Starter ankit.linuxbean

    (@ankitlinuxbean)

    I do not want that Custom pdf template , only need to changing the tax value inyo PDF. Please help more on this.

    Plugin Contributor Ewout

    (@pomegranate)

    I’m not sure I understand the question! I linked to the custom template instructions because you said it’s not working.

    The tax label is defined in WooCommerce under WooCommerce > Settings > Tax > (your tax class) then in the Name column. Unfortunately this name is stored in the Order, so if you change this name from GST to VAT for example, this won’t be automatically applied backwards to old orders. I’m not sure if there’s an easy way to do that at all.

    Changing the value of the tax should be done in the order backend, you can edit the line items and then recalculate totals.

    Hope that helps!
    Ewout

    Thread Starter ankit.linuxbean

    (@ankitlinuxbean)

    can you let me know the custom hooks for changing the values as tax etc.

    Plugin Contributor Ewout

    (@pomegranate)

    There are no hooks to change the tax values – all that data is stored in the order. For unpaid orders, you can edit the line items and change the taxes in the WooCommerce backend/Edit order page. You can’t change/edit paid orders, but you can temporarily set an order back to ‘On Hold’ and then change the values.

    Ewout

    Thread Starter ankit.linuxbean

    (@ankitlinuxbean)

    ok thanks. but when i select my custom theme at backend pdf are not generated.

    Thread Starter ankit.linuxbean

    (@ankitlinuxbean)

    Please suggest me on this.i want that custom template because you said there is no custom hooks for changing the values.

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! If the PDF is not generated from your custom template, that’s an indication there is an error somewhere in the code in your template. If you follow the read this first steps on this forum (yellow thread on top), you’ll probably get to see an error output which will help you fix this problem.

    Good luck & have a great weekend!
    Ewout

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Changing the tax value’ is closed to new replies.