Display remaining order time when JS disabled

This commit is contained in:
Jacob Eva 2023-07-02 09:41:21 +01:00
parent 18a268007a
commit 3c70980a65
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -1,6 +1,6 @@
<section class="woocommerce-order-details"> <section class="woocommerce-order-details">
<h2 class="woocommerce-order-details__title"><?php echo $method_title ?></h2> <h2 class="woocommerce-order-details__title"><?php echo $method_title ?></h2>
<noscript><p>Javascript is disabled, please refresh the page to check your order status. Your order will expire an hour from when you clicked place order if no payment is recieved in that time.</noscript> <noscript><p>Javascript is disabled, please refresh the page to check your order status. Your order will expire in <strong><?php echo $details['order_expires']; ?></strong> if no payment is recieved in that time.</noscript>
<strong id="monero_payment_messages"> <strong id="monero_payment_messages">