Searchable Custom Field

This topic contains 10 replies, has 3 voices, and was last updated by  Patrik 5 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #2693

    Fernando
    Free User
    Post count: 120

    Hi,
    How would I create a searchable custom field on the Invoice Page?
    Preferably the Title Name of the GeoDirectory(V2) Listing (i.e gd_place), when you create the invoice when the listing is still a draft

    At present it has Number, Customer, Amount, Created Date, Payment Date, Status, ID.
    I would like to have something like Number, “my Custom Field”, Customer, Amount, Created Date, Payment Date, Status, ID.

    Thank you

    #2695

    Alex Rollin
    Moderator
    Post count: 27815

    That would be a customization.
    I will flag your question for the developers in case there is a workaround.

    #2697

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #2703

    Fernando
    Free User
    Post count: 120

    Hi,

    Thanks for the rep-lies.
    BTW, has the PDF addon got any customizable fields?

    Or the Contact Form 7?

    Thanks.

    #2704

    Patrik
    Moderator
    Post count: 1971

    For PDF addon, it will display only what is currently in Invoice details. No custom fields will be displayed for now but you can do that using customization by using a hook to insert the data somewhere in PDF invoice. See: https://wpinvoicing.com/docs/pdf-invoices-addon/

    Contact form 7 can have as many fields as you want but if you ware talking about the CF7 add on for invoicing then there will be limited fields to use for creating an invoice by filling the form. See: https://wpinvoicing.com/docs/contact-form-7-addon/

    Let me know if any queries.

    Regards,
    Patrik

    #2705

    Fernando
    Free User
    Post count: 120

    @patrik

    Thanks for the reply.
    Is the field “wpinv_customer_website” in CF7 visible to the admin and it searchable by the admin?

    What I want to achieve is to make an “admin input field” searchable to the admin.

    Rgds

    #2707

    Patrik
    Moderator
    Post count: 1971

    No, The field “wpinv_customer_website” is for the customer and it will be not visible in the invoice listing. It will be visible in edit invoice page only.

    #2713

    Fernando
    Free User
    Post count: 120

    @patrik

    Is the Adding a Custom Item Type (wpinv-custom-item.zip) compatible with GDV2 ?
    Will I be able to use it only on the main site of a multisite install?

    Thanks.

    #2714

    Patrik
    Moderator
    Post count: 1971

    No, that plugin is not for GD. It is for invoicing plugin to add custom type to the Invoicing item.

    #2736

    Fernando
    Free User
    Post count: 120

    @alex Rolin

    QUOTE:
    That would be a customization.
    I will flag your question for the developers in case there is a workaround.
    UNQUOTE:

    Do you think any possibility of finding a workaround, at least a hint where to start?
    Then we will be able to find our own solution and create a snippet for this..
    Otherwise, it’s very hard and time consuming to study the whole wpinvoicing script.
    Thanks.

    #2739

    Patrik
    Moderator
    Post count: 1971

    Hi,

    We have mostly provided hooks and filters where ever required which you can use. Look for the following filters in our plugin and you can use them according to your requirements:

    ‘wpi_invoice_table_columns’ => For adding the new column
    ‘wpi_invoice_table_sortable_columns’ => For making column sortable
    ‘wpinv_payments_table_column’ => For displaying column value

    You can look into the file invoicing->includes->admin->wpinv-admin-functions.php for more details.

    We have mostly followed the default WordPress way so you may get help from Google as well. If you need any help just let us know.

    Regards,
    Patrik

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket