• Hi,

    Like more people have I have a shop that is for both retail and wholesale customers. Since the wholesale customers are businesses it’s normal (in the Netherlands) to create a invoice where the prices are shown without tax. The wholesale customers have a differnet user role ‘Wholesale Buyer’. Can I put something in my functions.php that when a wholesale buyer buys something it is using a different custom template of the PDF plugin?

    Kind regards,

    Willem

    https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi Willem,
    There is no possibility at the moment to switch templates based on the user roles, but I will look into this for future versions.

    Have a great day!
    Ewout

    Thread Starter Willem-Siebe

    (@siebje)

    Hi Ewout, not necessarry for me anymore, while the function you are using for the totals has this already build in. So my WooCommerce install output different totals format for Wholesale customers, and that is your plugin also showing.

    Plugin Contributor Ewout

    (@pomegranate)

    Thanks for reporting back!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different templates for different buyer roles’ is closed to new replies.