This is the bit of code that the notice above is referring to.
Line 204 contains if ( $options[‘checkness’][‘time_stamp’] == true ) .
My checkout form does make use of time zones. It displays a number relative to GMT timezone for whatever country the customer is from. The time zone part (which is custom made by a developer I am no longer in contact with) fails to work on my website checkout form since moving host, which is the main issue I am having. I was wondering if this code may be the source of the issue?
if ( !empty($options['checkness']['set_timezone']) ) {
date_default_timezone_set(''.$options['checkness']['set_timezone'].'');
}
$date = ( !empty($options['checkness']['twenty_hour'])) ? date("G:i T (P").' GMT)' : date("g:i a");
if ( $options['checkness']['time_stamp'] == true ) {
echo '<p><strong>'.$options['checkness']['time_stamp_title'].':</strong> ' . $date . '</p>';
}
if ( $order->payment_method_title && $options['checkness']['payment_method_t'] == true ) {
echo '<p><strong>'.$options['checkness']['payment_method_d'].':</strong> ' . $order->payment_method_title . '</p>';
}
if ( $order->shipping_method_title && ($options['checkness']['shipping_method_t'] == true)) {
echo '<p><strong>'.$options['checkness']['shipping_method_d'].':</strong> ' . $order->shipping_method_title . '</p>';
Kind regards,
Jamie
-
This reply was modified 4 years, 9 months ago by jksastrology.
-
This reply was modified 4 years, 9 months ago by jksastrology.