L
L
ligisayan2018-12-12 14:30:19
Layout
ligisayan, 2018-12-12 14:30:19

How to make it so that when the page is reloaded, a second tab opens?

Hello!
There is a custom cart on woocommerce with two tabs: the first step displays the order, and the second step shows the buyer's contact information form to fill out.
The question is: if you do not fill in the required field, then when you click on the button to place an order (on the 2nd step), it redirects you to the first tab with a standard error message.
How to make it so that when the page is reloaded, the second tab on which it occurred remains open? The error message can be completely removed.
5c10f112c3fef694742719.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sergski, 2018-12-12
@ligisayan

using cookies .

A
Ainur Valiev, 2018-12-12
@vaajnur

save error in cookie

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question