> ## Documentation Index
> Fetch the complete documentation index at: https://foliant-help.iforiti.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ऑर्डर ऑब्जेक्ट और आम चर

> ऑर्डर, ग्राहक, पते, शॉप, शिपिंग, भुगतान, रिफ़ंड और फ़ुलफ़िलमेंट के लिए टेम्पलेट में इस्तेमाल होने वाले लिक्विड चर।

हर दस्तावेज़ एक ऑर्डर से बनता है (या, बैच टेम्पलेट के लिए, चुने गए ऑर्डर से)। Liquid में ऑर्डर के फ़ील्ड सीधे मिलते हैं, जैसे `{{ name }}`, और `order` के अंदर भी मिलते हैं, जैसे `{{ order.name }}`। दोनों एक जैसे काम करते हैं। ये चर Shopify Order Printer के चरों जैसे ही हैं, इसलिए ज़्यादातर Order Printer टेम्पलेट Foliant में बिना बदलाव के काम करते हैं।

कोड एडिटर में **लिक्विड चर** टैब में ये सभी चर दिए गए हैं, और आप इनमें खोज भी सकते हैं। यह लेख उन चरों के बारे में है जिनका इस्तेमाल आप सबसे ज़्यादा करेंगे। पैसे की रकमें सेंट में होती हैं; [टेम्पलेट में पैसा और मुद्रा](https://foliant-help.iforiti.com/hi/template-editor/liquid-money-and-currency.md) देखें।

## ऑर्डर

| चर | यह क्या प्रिंट करता है |
| - | - |
| `{{ order_name }}` या `{{ name }}` | # के साथ ऑर्डर का नाम (`#1042`) |
| `{{ order_number }}` | ऑर्डर नंबर (`1042`) |
| `{{ id }}` | ऑर्डर ID |
| `{{ po_number }}` | परचेज़ ऑर्डर नंबर |
| `{{ date }}` या `{{ created_at }}` | ऑर्डर कब दिया गया। इसे `date` फ़िल्टर से फ़ॉर्मेट करें। |
| `{{ processed_at }}`, `{{ updated_at }}`, `{{ cancelled_at }}`, `{{ closed_at }}` | ऑर्डर की दूसरी तारीखें |
| `{{ completed_at }}` | ड्राफ़्ट ऑर्डर कब पूरा हुआ |
| `{{ financial_status }}` | भुगतान की स्थिति, जैसे `paid`, `pending` या `partially_refunded` |
| `{{ fulfillment_status }}` | फ़ुलफ़िलमेंट की स्थिति, जैसे `unfulfilled` या `fulfilled` |
| `{{ note }}` | ऑर्डर नोट |
| `{{ tags }}` | ऑर्डर के टैग (एक सूची: इस पर `{% for tag in tags %}` से लूप चलाएँ) |
| `{{ email }}` | ऑर्डर का ईमेल |
| `{{ customer_locale }}` | वह भाषा जिसमें ग्राहक ने खरीदारी की |
| `{{ order_status_url }}` | ऑर्डर स्टेटस पेज का लिंक (ऑनलाइन ऑर्डर) |
| `{{ total_items }}` या `{{ item_count }}` | कितने आइटम हैं |
| `{{ total_weight }}` | कुल वज़न; `{{ total_weight_in_grams \| weight_with_unit }}` इकाई भी जोड़ता है |
| `{{ order_currency }}` या `{{ currency }}` | ऑर्डर की मुद्रा का कोड |
| `{% if pickup_in_store? %}…{% endif %}` | क्या ऑर्डर स्टोर से पिक अप किया जाएगा |
| `{{ location.name }}` | POS लोकेशन (POS ऑर्डर), साथ में `address1`, `city`, `zip`, `country`, `phone`… |

## कुल योग

कुल योग को मनी फ़िल्टर के साथ प्रिंट करें, उदाहरण के लिए `{{ total_price | money }}`।

| चर | यह क्या है |
| - | - |
| `subtotal_price` | उप-योग |
| `shipping_price` | शिपिंग |
| `total_discounts` | सभी छूट |
| `order_level_discounts` | पूरे ऑर्डर पर छूट (लाइन की कीमतों में शामिल नहीं) |
| `total_tax` | टैक्स |
| `total_line_items_tax`, `total_shipping_tax` | आइटम पर टैक्स, और शिपिंग पर टैक्स |
| `total_duties` | शुल्क |
| `total_price` | ऑर्डर का कुल योग |
| `total_paid` | कितना भुगतान हुआ |
| `total_refunds` | कितना रिफ़ंड हुआ |
| `total_gift_cards` | गिफ़्ट कार्ड से कितना भुगतान हुआ |

`current_subtotal_price`, `current_total_discounts`, `current_total_tax` और `current_total_price` भी उपलब्ध हैं।

## ग्राहक और पते

| चर | यह क्या प्रिंट करता है |
| - | - |
| `{{ customer.name }}`, `{{ customer.first_name }}`, `{{ customer.last_name }}` | ग्राहक का नाम |
| `{{ customer.email }}`, `{{ customer.phone }}` | संपर्क जानकारी |
| `{{ customer.note }}` | ग्राहक नोट |
| `{{ customer.tags }}` | ग्राहक के टैग |
| `{{ customer.total_spent \| money }}` | ग्राहक ने कुल कितना खर्च किया है |
| `{% if customer.tax_exempt %}` | क्या ग्राहक को टैक्स से छूट है |
| `{{ shipping_address \| format_address }}` | शिपिंग पता, लाइन ब्रेक के साथ |
| `{{ billing_address \| format_address }}` | बिलिंग पता |

हर पते (`shipping_address`, `billing_address` और `customer.default_address`) में `name`, `first_name`, `last_name`, `company`, `address1`, `address2`, `street`, `city`, `province`, `province_code`, `zip`, `country`, `country_code`, `phone` और `city_province_zip` होते हैं। `{% if shipping_address.member_of_eu %}` यह जाँचता है कि देश EU में है या नहीं।

## आपकी शॉप

| चर | यह क्या प्रिंट करता है |
| - | - |
| `{{ shop.name }}` या `{{ shop_name }}` | आपकी शॉप का नाम |
| `{{ shop.email }}`, `{{ shop.phone }}`, `{{ shop.domain }}` | संपर्क जानकारी |
| `{{ shop.address1 }}`, `{{ shop.city }}`, `{{ shop.zip }}`, `{{ shop.country }}`… | आपका पता, जैसा Shopify में सेट है |
| `{{ shop_logo_url }}`, `{{ shop_logo_width }}`, `{{ shop_accent_color }}` | **सेटिंग्स › ब्रांडिंग** से आपका लोगो और एक्सेंट रंग |
| `{{ shop.vat_number }}`, `{{ shop.eori }}` | **सेटिंग्स › टैक्स और कानूनी** से आपका VAT नंबर और EORI |
| `{{ seller.legal_lines \| join: ' · ' }}` | आपकी कानूनी जानकारी, हर एक अलग लाइन में, दस्तावेज़ की भाषा में |

## शिपिंग, भुगतान और फ़ुलफ़िलमेंट

| चर | यह क्या प्रिंट करता है |
| - | - |
| `{{ shipping_method.title }}` | शिपिंग का तरीका |
| `{% for shipping_line in shipping_lines %}` | हर शिपिंग लाइन: `title`, `code`, `price` |
| `{{ payment_method }}`, `{{ gateway }}` | ऑर्डर का भुगतान कैसे हुआ |
| `{% for transaction in transactions %}` | हर लेन-देन: `amount`, `kind`, `status`, `gateway`, `created_at` |
| `{% for tax_line in tax_lines %}` | हर टैक्स: `title`, `rate`, `price` |
| `{% for discount in discounts %}` | हर छूट: `code`, `amount`, `savings` |
| `{% for fulfillment in fulfillments %}` | हर फ़ुलफ़िलमेंट: `tracking_number`, `tracking_company`, `created_at` |
| `{{ latest_fulfillment }}` | सबसे हाल का फ़ुलफ़िलमेंट |
| `{% for refund in refunds %}` | हर रिफ़ंड: `created_at`, `note`, `subtotal`, `total_tax`, `total`, `refund_line_items` |
| `{{ latest_refund }}` | सबसे हाल का रिफ़ंड (क्रेडिट नोट) |
| `{{ payment_terms.due_in_days }}` | भुगतान की शर्तें (B2B और ड्राफ़्ट ऑर्डर), साथ में `payment_schedules` और `current_payment_schedule.due_at` |

## उदाहरण

```liquid theme={null}
<h1>{{ 'titles.invoice' | t }} {{ order_name }}</h1>
<p>{{ created_at | date: '%d %B %Y' }}</p>
<p>{{ shipping_address | format_address }}</p>
<p>{{ 'total' | t }}: {{ total_price | money }}</p>
{% if note != blank %}<p>{{ note | escape }}</p>{% endif %}
```

## ध्यान देने योग्य बातें

* खाली वैल्यू कुछ भी प्रिंट नहीं करती। जब कोई वैल्यू न हो, तब लेबल हटाने के लिए `{% if … != blank %}` का इस्तेमाल करें।
* सभी चुने गए ऑर्डर वाले टेम्पलेट एक ऑर्डर की जगह `orders` (`{% for order in orders %}` से लूप चलाएँ), `batch` और `pick_list` का इस्तेमाल करते हैं। **लिक्विड चर** टैब का **बैच टेम्पलेट** सेक्शन देखें।
* VAT इनवॉइस के लिए रेफ़रेंस का **VAT** सेक्शन देखें: `tax_breakdown`, `buyer.vat_number`, `{% include 'vat_breakdown' %}` और `{% include 'legal_notes' %}`। [टैक्स और कानूनी](https://foliant-help.iforiti.com/hi/tax-and-legal.md) देखें।

## संबंधित लेख

* [टेम्पलेट में लाइन आइटम](https://foliant-help.iforiti.com/hi/template-editor/liquid-line-items.md)
* [टेम्पलेट में पैसा और मुद्रा](https://foliant-help.iforiti.com/hi/template-editor/liquid-money-and-currency.md)
* [Liquid फ़िल्टर](https://foliant-help.iforiti.com/hi/template-editor/liquid-filters.md)
* [टेम्पलेट का कोड एडिट करें](https://foliant-help.iforiti.com/hi/template-editor/code-editor.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.