• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Login Modal - Order_status

asdriel

Member
Apr 26, 2019
199
18
18
www.bantu-2rsn.com
Hello, I have a table where when it is "completed" implies that the product has already been delivered, now I have created a new "modal" table where I would like to call a modal that blocks the user when logging in, this when his product has already been delivered "finished order". and in this way the customer will have to select one of the options, delivered or not delivered, only this way gives him the possibility to manage his account again.
 
$show_customer_details = is_user_logged_in() && $order->get_user_id() === get_current_user_id();

when it picks up the logged-in user name, it verifies that it has an order and that the order is complete,
if have completed order then open the popup and block the user with 2 questions Received and Not Received, after selecting one of the 2 he can manage his profile
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock