I want to add a notification that appears on the registration page – only when California is selected as a state. Otherwise it will not display. I am unsure of the parameters. I am using Magento 2.3
The current code on the registration.phtml is the following:
and my PHP is this, which isn’t working:
< ?php if ($region_id == '12') {echo 'Please note: We do not ship to California.
‘;} else { echo ”;} ?>