Compare commits

...

2 Commits

Author SHA1 Message Date
3c70980a65
Display remaining order time when JS disabled 2023-07-02 09:41:21 +01:00
18a268007a
Fixed spelling mistake 2023-07-02 09:41:06 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
<td><?php echo Monero_Gateway::format_seconds_to_time($details['order_age']) ?> ago</td> <td><?php echo Monero_Gateway::format_seconds_to_time($details['order_age']) ?> ago</td>
</tr> </tr>
<tr> <tr>
<td>Order exipires</td> <td>Order expires</td>
<td> <td>
<?php echo $details['order_expires'] ?> <?php echo $details['order_expires'] ?>
</td> </td>

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">