I have the Acowebs deposit/partial payment plugin. And I'm aiming to specify the content in the customer-on-hold-order.php email to people that are using deposit payment and people paying full amount. It seems that are need to sort the order by looking if the meta_key "_awcdp_deposits_order_has_deposit" has meta_value "yes". But how do I do that?
Something simple as
if (order id/post id meta_key=_awcdp_deposits_order_has_deposit has meta_value=yes ){
?>
<p><?php printf( esc_html_e( 'My text to order with deposit payments.','woocommerce' ) );?></p>
<?php
}
else {
?>
<p><?php esc_html_e( 'My test to order paying the full amount', 'woocommerce' ); ?></p>
<?php
}
https://i.stack.imgur.com/GunYx.jpg
Hope anyone can help me here. Best regards Lars