Is it possible to create a rule to check if the user is already logged in?
I would like to put an alert to remind the user to login before he starts to customize the object so he can save it later.
Thanks!
1 Answers
It should be possible with some custom work in the theme.
In; views / webshop / pages / order-confirm.twig (line 60) you can see how it works.
You have a check; {% if not (customer)%} to {% endif%} , between which you can put everything that needs to be shown or executed (by putting <script> in between)