title: Sending only order number instead of item names to PayPal in Woocommerce
body: <p>In PayPal standard gateway of Woocommerce, I want to make <code>Woocommerce</code> sends only "<em>order number</em>" as the only item in the cart, instead of the itemized product list.</p>
  
  <p>For that, I tried to edit the class which is responsible for making a PayPal request here: 
  <code>woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php</code></p>
  
  <p>I tried to edit <code>get_order_item_names()</code> function to return <code>"invoice" . $order-&gt;get_order_number()</code> as the name of the only item, but it wasn't successful since if there would be several items, Only the first one was returned with the order number, and other items remained.</p>
  
  <p>Also, I nailed the <code>add_line_item()</code> function because to approach the purpose, practically there should be only "<strong>item_name_1</strong>" with the amount of total amount of the card.</p>
  
  <pre><code>$this-&gt;line_items[ 'item_name_' . $index ]   = $this-&gt;limit_length( $item['item_name'], 127 );
  $this-&gt;line_items[ 'quantity_' . $index ]    = $item['quantity'];
  $this-&gt;line_items[ 'amount_' . $index ]      = $item['amount'];
  $this-&gt;line_items[ 'item_number_' . $index ] = $this-&gt;limit_length( $item['item_number'], 127 );
  </code></pre>
  
  <p>No success here too.</p>
  
  <p>I'd appreciate your assistance.</p>