Gift card amount is not displayed in emails
-
Hey, there is a Problem inside ‘class-wc-email-pw-gift-card.php’ in line 240 the $amount variable seems to be wrong. It should be $item_data->amount.
Because of that the Amount isn’t displayed in emails. So it should look like:if ( is_a( $item_data->order, 'WC_Order' ) ) { $item_data->amount = apply_filters( 'pwgc_to_order_currency', $item_data->amount, $item_data->order ); $item_data->wc_price_args['currency'] = $item_data->order->get_currency(); }
Would be happy if you merge this into the newest version.
Thanks
– Justus
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Gift card amount is not displayed in emails’ is closed to new replies.