0

I have created a working custom module that shows a message on checkout page following this solution https://stackoverflow.com/questions/56974955/need-to-write-a-custom-message-on-checkout-page-in-magento-2

Thing is, I must show the message based on the fact that the user belongs or not to a specific customer group, so I would need some php code, I imagine.

How can I achieve that? I've tried to look for some answer, but I'm a newbie and I don't really know what to do.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.