• Resolved samysalahgad

    (@samysalahgad)


    I need to add product in the registration form with checkbox if clicked, the user will be directed to checkout page to pay after registration complete ( it is a pro or VIP membership product with woocommerce and yith subscriptions plugin)
    if not checked user can access the website without pay for this product

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi there,

    Thank you for reaching out.

    I understand that you need to add a checkbox which would add a product to cart if ticked upon registration on https://compliance.social/register/

    I don’t see this page – it’s returning an error 404. Is that a custom registration form or a form created using a third-party plugin? If yes – this will most likely require code customization.

    If you decide to pursue such functionality and find yourself in need of help with the code – I’d recommend reaching out to someone from WooCommerce.com customizations page https://woocommerce.com/customizations/

    If you’d like to add a checkbox for an additional product to cart or checkout page though – that can be done with a plugin like UpSell for WooCommerce:

    https://www.ads-software.com/plugins/woo-upsell/

    Please note that the author hasn’t updated this plugin for over a year and I can’t promise this will work.

    The code here will give you an idea of what’s needed to add an upsell checkbox to a product page so you can try modifying it to add the same kind of checkbox to your custom registration page:

    https://stackoverflow.com/questions/46851953/woocommerce-upsell-with-checkboxes

    I hope this helps!

    https://stackoverflow.com/questions/46851953/woocommerce-upsell-with-checkboxes

    Thread Starter samysalahgad

    (@samysalahgad)

    Hello Dear
    Sorry the register page is provided by Youzer plugin and its activated now, you can check the page https://compliance.social/register/ is up and running

    What i need is to add option in the registration
    whatever a check box ( ? Add Pro Membership )
    Or selection for ( Pro Membership: Yes or No )
    When check the box or choose YES, the Pro Membership product to be added to cart, once the registration complete then the member be redirected to checkout to pay.

    Its another type of upsell, the normal upsell add products like similar products or people also bought …. so customer can add more products, but in this case its only offering paid membership option in the registration process.

    Thank you in advance ??

    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi @samysalahgad,

    Sorry the register page is provided by Youzer plugin and its activated now, you can check the page https://compliance.social/register/ is up and running

    What i need is to add option in the registration
    whatever a check box ( ? Add Pro Membership )
    Or selection for ( Pro Membership: Yes or No )
    When check the box or choose YES, the Pro Membership product to be added to cart, once the registration complete then the member be redirected to checkout to pay.

    Its another type of upsell, the normal upsell add products like similar products or people also bought …. so customer can add more products, but in this case its only offering paid membership option in the registration process.

    Thank you for confirming!

    This forum is mostly for questions around the functionality of core WooCommerce plugin itself and I am unfamiliar with how the Youzer plugin works or how to modify it.

    You may want to reach out to the support team of Youzer plugin.

    Since your question is unrelated to the functionality of core WooCommerce plugin itself – I’ll be marking this thread as solved.

    Thread Starter samysalahgad

    (@samysalahgad)

    Dear
    The Registration page is normal WordPress page not related to Youzer plugin i found it work without Youzer.

    So the issue is about normal WordPress/Buddypress registration form and i need to integrate woocommerce product in the way mentioned before
    whatever a check box ( ? Add Pro Membership )
    Or selection for ( Pro Membership: Yes or No )
    When check the box or choose YES, the Pro Membership product to be added to cart, once the registration complete then the member be redirected to checkout to pay.

    • This reply was modified 3 years, 11 months ago by samysalahgad.
    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi @samysalahgad

    The Registration page is normal WordPress page not related to Youzer plugin i found it work without Youzer.

    So the issue is about normal WordPress/Buddypress registration form and i need to integrate woocommerce product in the way mentioned before
    whatever a check box ( ? Add Pro Membership )
    Or selection for ( Pro Membership: Yes or No )
    When check the box or choose YES, the Pro Membership product to be added to cart, once the registration complete then the member be redirected to checkout to pay.

    There isn’t a default way to add a custom checkbox (which would add a particular product to cart) to BuddyPress registration form:

    https://codex.buddypress.org/getting-started/guides/modifying-the-registration-form/

    This kind of functionality will require code customization.

    I am not a developer so it’s hard for me to provide the exact steps but if you decide to pursue such functionality and find yourself in need of help with the code – I’d recommend reaching out to someone from WooCommerce.com customizations page:

    https://woocommerce.com/customizations/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce product in registration’ is closed to new replies.