Answer the question
In order to leave comments, you need to log in
How to separate the quantity of goods and the amount in the woocomerce personal account?
Initially, in Woo we have the output of goods and the amount is
1,500 rubles. for 2 units (example)
And you need to display it like this, divide and display separately the number of goods and the amount
In the template, I see that the output is formed like this
<?php elseif ( 'order-total' === $column_id ) : ?>
<?php
/* translators: 1: formatted order total 2: total order items */
echo wp_kses_post( sprintf( _n( '%1$s for %2$s item', '%1$s for %2$s items', $item_count, 'woocommerce' ), $order->get_formatted_order_total(), $item_count ) );
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question