• Resolved Ash Shaw

    (@feedmymedia)


    Hello

    The adverts add page creates a subscriber account before the user gets to the checkout page. The problem with this that in our situation we have WooCommerce checkout set up to force account creation. If the user attempts to use the same email used on the adverts add page, the checkout will fail and display the error, “An account is already registered with your email address. Please log in.”

    Is there a way around this that does not require custom development? We would actually prefer that we leave account creation to WooCommerce entirely, instead of WPAdverts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    if you skip WPAdverts registration but register in the checkout using WC then the Ad will not be assigned to the user who posted an Advert.

    There are two ways i can think of to resolve, but which one to choose would depend on your desired workflow, you can either:

    1. if an account is created by WPAdverts automatically login the user before redirect to the checkout.

    2. remove the Account field in [adverts_add] and if the user will register with WC then assign the Advert to the user, this can be done when order is saved as pending or approved

    3. the simplest solution would be to allow only logged in users to posts Ads (unless you want not logged in users to post ads as well), you can do that by using the [adverts_add] with ‘requires’ param like this

    
    [adverts_add requires='read']
    
    Thread Starter Ash Shaw

    (@feedmymedia)

    Thank you very much for good, helpful advice. We will consider the options and customise however best suited.

    • This reply was modified 5 years, 5 months ago by Ash Shaw.
    Plugin Author Greg Winiarski

    (@gwin)

    Ok great, if you decide to go ahead with #1 or #2 feel free to post here i should be able to help you with code snippets to make it work the way you have it envisioned.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Account creation with WooCommerce Extension’ is closed to new replies.