ThemeHigh
Forum Replies Created
-
Great!
Hi,
You can achieve your requirement by adding the below code snippet in your child theme’s functions.php file.
add_filter( 'woocommerce_get_order_item_totals', 'add_coupons_codes_to_emails', 10, 3 ); function add_coupons_codes_to_emails( $total_rows, $order, $tax_display ) { if( sizeof( $order->get_coupon_codes() ) == 0 ) return $total_rows; $new_total_rows = []; foreach($total_rows as $key => $total ){ $new_total_rows[$key] = $total; if( ! isset($total_rows['discount']) && $key === 'shipping' ) { $new_total_rows['discount'] = array( 'label' => __( 'Discount:', 'woocommerce' ), 'value' => wc_price(0), ); } if( $key === 'discount' || isset($new_total_rows['discount']) ){ $applied_coupons = $order->get_coupon_codes(); $new_total_rows['coupon_codes'] = array( 'label' => __('Applied coupons:', 'woocommerce'), 'value' => implode( ', ', $applied_coupons ), ); } } return $new_total_rows; }
Thank you!
Forum: Plugins
In reply to: [MultiStep Checkout for WooCommerce] Desktop versionWe have forwarded your request to our technical team. They will check the feasibility of adding this in future versions.
Thank you!
Thank you for letting us know.
You can raise a ticket through the below given link.
https://themehigh.zendesk.com/hc/en-us/requests/new
Thank you!
We can see that you have created another thread for the same query. Hence we are marking this thread as closed.
Thank you!
Forum: Plugins
In reply to: [Checkout Field Editor (Checkout Manager) for WooCommerce] Emails errorYour issue needs a detailed check. Can you please raise a ticket through our website? We hope our technical team will be able to help you.
Thank you!
Your issue needs a detailed check. Can you please raise a ticket through our website? We hope our technical team will be able to help you.
Thank you!
You can raise a ticket through the below given link.
https://themehigh.zendesk.com/hc/en-us/requests/new
Thank you!
We hope your issue is resolved by adding the below code snippet in your child theme’s functions.php file.
function custom_modify_main_query( $query ) { if ( $query->get( 'post_type' ) === 'thjm_jobs' && $query->is_paged()) { if(current_user_can( 'administrator' )){ $status = array('publish', 'private'); $query->set( 'post_status', $status ); }else{ $query->set( 'post_status', 'publish' ); } } } add_action( 'pre_get_posts', 'custom_modify_main_query' );
Thank you!
Since we haven’t heard back from you, we believe that your issue is resolved.
We are going to mark this thread as resolved.
Thank you!
Since we haven’t heard back from you, we believe that your issue is resolved.
We are going to mark this thread as resolved.
Thank you!
Since we haven’t heard back from you, we believe that your issue is resolved.
We are going to mark this thread as resolved.
Thank you!
Since we haven’t heard back from you, we believe that your issue is resolved.
We are going to mark this thread as resolved.
Thank you!
Since we haven’t heard back from you, we believe that your issue is resolved.
We are going to mark this thread as resolved.
Thank you!
Since we haven’t heard back from you, we believe that your issue is resolved.
We are going to mark this thread as resolved.
Thank you!