Merge pull request #1351 from KayLeung/patch-1
add trailing space to 'Shipping via'
This commit is contained in:
commit
f1f9e0e245
|
@ -323,7 +323,7 @@ class WC_Paypal extends WC_Payment_Gateway {
|
|||
// Shipping Cost item - paypal only allows shipping per item, we want to send shipping for the order
|
||||
if ($order->get_shipping()>0) :
|
||||
$item_loop++;
|
||||
$paypal_args['item_name_'.$item_loop] = __('Shipping via', 'woocommerce') . ucwords($order->shipping_method_title);
|
||||
$paypal_args['item_name_'.$item_loop] = __('Shipping via', 'woocommerce') . ' ' . ucwords($order->shipping_method_title);
|
||||
$paypal_args['quantity_'.$item_loop] = '1';
|
||||
$paypal_args['amount_'.$item_loop] = number_format($order->get_shipping(), 2, '.', '');
|
||||
endif;
|
||||
|
|
Loading…
Reference in New Issue