A few questions.

This topic contains 5 replies, has 3 voices, and was last updated by  Debby 4 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #3888

    Debby
    Free User
    Post count: 5

    I have a couple issues that I was wondering if you could help me figure out.

    1. Is it possible to automate an email reminder prior to an invoice coming due? Say 15 days before the invoice (or GD listing expires) the customer gets a reminder that the invoice will be due?

    2. On checkout after creating a GD listing/at checkout is it possible to pull the address from the listing creation? Prepopulate with that information? A feature that I just don’t see is the ability to check the address information on the listing creation to set as billing address and have that populate the checkout/invoice.

    3. If the above cannot be done is there a way to prevent the address from pre-populating with the default address set on the back end for GD. This is terribly confusing to customers.

    #3889

    Guust
    Moderator
    Post count: 29970

    1. GD > Settings > Emails tab > User Emails sub-tab > Show Advanced > Pre expiry reminders to user

    2. The business/listing address is often different from the user’s address, so there is no option for that.

    3. You mean when adding a listing? Or for the invoice?
    The default location is required for the GD listings, but for invoices, only the country will be pre-populated.

    Thanks

    #3890

    Debby
    Free User
    Post count: 5

    Thanks for the answers on 1 and 2
    For 3
    3. You mean when adding a listing? Or for the invoice?
    The default location is required for the GD listings, but for invoices, only the country will be pre-populated.

    Attached is a screenshot. This is what it’s doing. It’s pre-selecting the state which is the state set on the default address.

    #3894

    Guust
    Moderator
    Post count: 29970

    I see, that is for the US because they use different taxes per state I think sometimes …
    I’ll get a developer to have a look at your question if country and region can be set to not automatically populate on the checkout page.

    Thanks

    #3895

    Patrik
    Moderator
    Post count: 1971

    Hi,

    You can put the following code in functions.php file of currently active theme or in Code Snippet plugin to make the state field blank or set it to something else:

    add_filter('wpinv_checkout_billing_details', 'wpinv_checkout_billing_details_cb', 10, 1);
    function wpinv_checkout_billing_details_cb($user_info){
    	$user_info['state'] = ''; // set blank or assign some other value
        return $user_info;
    }

    Regards,
    Patrik

    #3896

    Debby
    Free User
    Post count: 5

    Thank you! That worked perfectly.

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

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

Open Support Ticket