eBay order ID on Order Printer

Solved

eBay order ID on Order Printer

SandrasStitchS1
Excursionist
16 3 1

I am trying to add the eBay order ID on invoices from eBay orders. I know where to put it, just need to know what liquid variable it is.

Accepted Solution (1)
SandrasStitchS1
Excursionist
16 3 1

This is an accepted solution.

I tried that, would not work

 

But this did:

{% assign my_variable = order.attributes | split: ',' %}
<h2>eBay Order Receipt #{{ my_variable[1] | slice: 39,14 }}</h2>

View solution in original post

Replies 2 (2)

Hasan112
Shopify Partner
152 11 21

Hello @SandrasStitchS1  How are you doing today ?

In Shopify, you can access the eBay order ID using the following Liquid variable:

order.name

However, this will give you the Shopify order name, which includes the eBay order ID, but also other information.

To get only the eBay order ID, you can use:

order.ebay_order_id

This variable is specific to eBay orders and will give you the eBay order ID.

Make sure to check the Shopify documentation for any updates or changes to Liquid variables.

Also, keep in mind that you need to have the eBay integration enabled in your Shopify store and have synced your eBay orders to access this variable.

 

If its helpful please Like & Accept as Solution 

- If you need assistance with your store, feel free to contact us at zayan.1@yahoo.com or WhatsApp!
- Hire me, if you want to Design, Re-design, Develop a store or make changes to the pre-built store.
- If its helpful, please Mark as Accepted Solution, reply helpful? Click Like. Or Coffee Tip Thank you!
SandrasStitchS1
Excursionist
16 3 1

This is an accepted solution.

I tried that, would not work

 

But this did:

{% assign my_variable = order.attributes | split: ',' %}
<h2>eBay Order Receipt #{{ my_variable[1] | slice: 39,14 }}</h2>