• Hi,

    Trying to find a solution for a client.

    They have provided codes to a series of clients… and would like those codes to provide access to a discounted store. Much like a wholesaler.

    My question is.
    Can I create a custom field in the registration process that would then go and check a database or table to see if it is listed? And, if I can.. can that then dictate the page they get redirected too? so 1-5 gets redirected to .com/numbers but a-e gets redirected to .com/letters

    The second part would be ideal, but if I could just use the field to give the,access that would get me started. Am using woocommerce as the store.

    thanks

    https://wordpress.org/plugins/s2member/

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can use ccaps for that. S2M allows to save them in payment time, and check for them by “s2If” conditions. This way you can show different content depending of ccaps, and (with PHP) even to redirect them to some (can be external) page.

    Thread Starter SonyaPalmer

    (@sonyapalmer)

    Okay excellent.. I knew I just needed the right term. I’ve already dug into ccaps. I see where it will allow me to redirect based on the membership levels via php.

    will I also have to write the code to have it check the list of possible codes at registration?

    thanks so much.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom field table lookup’ is closed to new replies.