Kiran

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 238 total)
  • Author
    Posts
  • in reply to: Customer's company name / reorder address #2799

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Please note that the Company Department does not appear on the invoice yet.

    Added under Company name

    I managed to remove the comma between the Zip and Country, which is how the address has to be displayed in Germany. But I can’t remember how.

    Please check.

    Can you please point me to the corresponding lines of your snippet?

    You can manage it from /wp-admin/admin.php?page=edit-snippet&id=22

    Kiran

    in reply to: Customer's company name / reorder address #2796

    Kiran
    Moderator
    Post count: 7069

    Hello Martin,

    I have modified previously added snippets and disabled previous ones.
    /wp-admin/admin.php?page=edit-snippet&id=21
    /wp-admin/admin.php?page=edit-snippet&id=22

    Now this will display Company Name & Company Department fields in checkout form.

    Let us know.

    Kiran

    in reply to: GD and invoicing questions #2670

    Kiran
    Moderator
    Post count: 7069

    Hell Lise,

    I created two free listings and found there is not bug in this. When invoice is free it not requires payment via gateway, so it assigns the test payment to it.
    You can translate “Test Payment” to “Free Payment or “Without Payment” if it creates confusion.

    Let us know.

    Thanks,
    Kiran

    in reply to: GD and invoicing questions #2660

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: GD and invoicing questions #2652

    Kiran
    Moderator
    Post count: 7069

    Hello Lise,

    I just checked and it is not easy to create free listing without invoice, because in front-end invoice is only way to link between package & listing to handle listing status.

    Let us know.

    Thanks,
    Kiran

    in reply to: GD and invoicing questions #2645

    Kiran
    Moderator
    Post count: 7069

    Hello Lise,

    Everything seems to be working fine but after disabling the Franchise plugin for several CPT, I wanted to tidy up the items listed in the Invoicing plugin. The items I had used for Franchise packages when testing last year cannot be deleted? Am I misunderstanding something here? Franchising is only active on one package but all other ones are undeletable.

    Are you using GeoDirectory v1 or v2? Please provide us site link and admin credentials and also provide which items you want to delete.

    wondering if I have done something wrong in setup because the invoices are all listed as paid “via Test Payment”
    I do not have sandbox active or test payment option active? I am only using PayPal standard.

    There are two possibilities here.
    Invoice is free and published.
    Invoice is published without gateway.
    If you provide invoice id then we can investigate why this happened.

    Is there a way to not create invoices for free listings? I notice all my school, free-listing entries create invoices for $0.

    Please provide invoice id and package so we can do test.

    Kiran

    in reply to: Customer's company name / reorder address #2621

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Customer's company name / reorder address #2591

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I think the best solution for me would be that the VAT input field is not shown at all within invoice details of the checkout page. Only the much needed Company Name should be shown. Is this possible?

    You can adjust snippet and remove/hide vat field. Or you can use this snippet to add custom fields to checkout & invoice. https://gist.github.com/kprajapatii/9ccf874ef416aca692351f237367f9f7
    This snippet asks phone & company description from checkout page and displays on invoice page.

    You surly do, don’t you? The Country Name is not needed at all, and if displayed (it is right now, because I cannot leave the country field empty in the invoice details) should go into one extra line beneath it (but maybe that is too demanding)

    Remove country related code from function wpi_snippet_190122_display_to_address() which is snippet at https://wpinvoicing.com/support/topic/customers-company-name-reorder-address/#post-2559

    To move company name up
    change:

    
    
    $output .= '<div class="name">' . esc_html( trim( $billing_details['first_name'] . ' ' . $billing_details['last_name'] ) ) . '</div>';
        if ( $company = $billing_details['company'] ) {
            $output .= '<div class="company">' . wpautop( wp_kses_post( $company ) ) . '</div>';
        }

    to:

    
    
    if ( $company = $billing_details['company'] ) {
    		$output .= '<div class="company">' . wpautop( wp_kses_post( $company ) ) . '</div>';
    	}
    	$output .= '<div class="name">' . esc_html( trim( $billing_details['first_name'] . ' ' . $billing_details['last_name'] ) ) . '</div>';

    Let us know.

    Kiran

    in reply to: Pay Invoice button returns Your Cart is Empty #2589

    Kiran
    Moderator
    Post count: 7069

    Glad to hear that 🙂

    Please ask you server admin to check and enabled PHP session support.

    Thanks,
    Kiran

    in reply to: Pay Invoice button returns Your Cart is Empty #2587

    Kiran
    Moderator
    Post count: 7069

    Hello Ian,

    It could be PHP session support issue. Please try this solution https://wpgeodirectory.com/support/topic/price-package-problem/#post-462669

    It that solution not works then provide us FPT credentials to look into more.

    Kiran

    in reply to: make invoice page responsible design #2572

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know 🙂

    in reply to: make invoice page responsible design #2570

    Kiran
    Moderator
    Post count: 7069

    Hello Martin,

    The invoice history page scrolls perfectly fine. The issue is with the invoice page: members/dbff9f96d7503b93/invoices/

    This has been fixed and will be in next release. You can find patch here: https://github.com/AyeCode/invoicing/commit/5eaef4af354e590b0d0e3b15aae69da0fa06ece0

    Is this the only place where a user can get to this history page?

    “Invoice History” is a page, you can add that page to menu from Appearance > Menus.

    Let us know.

    Kiran

    in reply to: Customer's company name / reorder address #2569

    Kiran
    Moderator
    Post count: 7069

    Hello,

    5/6. in which function php do these lines of code go? includes/wpinv-general-functions.php?

    PHP code snippets can be executed via PHP Snippet plugin or putting in theme/child-theme functions.php file.
    Here is one of plugin that you can use https://wordpress.org/plugins/code-snippets/

    Do you mean the Checkmark in the invoice settings, which says „Force the display of the company name when paying“?

    Company field is used to work with tax/vat system. So if tax feature is disabled on site then company field no longer will be visible. But via “Force the display of the company name when paying” setting you can make it appear even tax setting disabled.

    Maybe this solves number 4. In which function php would I add the code mentioned in the link?

    If EU Vat is disabled then this snippet will display company field on checkout form.

    7. Its the payment confirmation page (please note attached screenshot). If you click on the button, it would be helpful if this action would open a new window.

    Use following code snippet to open those links in new window.

    
    
    /**
     * Open invoice links in new window.
     */
    function wpi_snippet_190122_invoice_receipt_actions( $actions, $invoice ) {
    	if ( ! empty( $actions ) ) {
    		foreach ( $actions as $i => $action ) {
    			$actions[ $i ]['attrs'] = 'target="_blank"';
    		}
    	}
    	return $actions;
    }
    add_filter( 'wpinv_invoice_receipt_actions', 'wpi_snippet_190122_invoice_receipt_actions', 10, 2 );

    Thanks,
    Kiran

    in reply to: make invoice page responsible design #2564

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: make invoice page responsible design #2562

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 15 posts - 46 through 60 (of 238 total)