A
A
alex steel2017-09-29 15:54:26
WordPress
alex steel, 2017-09-29 15:54:26

How to make different checkout pages for different user groups?

There are several groups of users and you need to make sure that when placing an order, for example, for group 1, one field for registration is shown, and for group 2, other fields for placing an order. Is it possible to implement this on Wookomers+Wordpress.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2017-09-29
@Palych_tw

Here is a guide on customizing, adding, removing fields https://docs.woocommerce.com/document/tutorial-cus...
I would try in this hook just check the current user for here or another role
https://codex.wordpress .org/Function_Reference/wp_... - we get the current user object, it has the roles property

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question