• Resolved Jure

    (@jurero123)


    Hi,

    is it possible to change our company details on the invoice depending on the payment method?

    Is there any hook I can use to change it dynamically?

    Thank you,
    Jure

Viewing 1 replies (of 1 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @jurero123,

    Yes, you can use these filter hooks to do so:

    1. 'wpo_wcpdf_header_logo_id': Filter the logo ID. Receive $logo_id, and $document as parameters.
    2. 'wpo_wcpdf_shop_name_settings_text': Filter the shop name. Receive $text, and $document as parameters.
    3. 'wpo_wcpdf_shop_address_settings_text': Filter the shop address. Receive $text, and $document as parameters.
    4. 'wpo_wcpdf_footer_settings_text': Filter the document footer. Receive $text, and $document as parameters.

    See PDF template filter hooks

Viewing 1 replies (of 1 total)
  • The topic ‘Different company depending on payment method’ is closed to new replies.