Shopify Order Printer का उपयोग करके टेम्पलेट बनाना और एडिट करना
आप अपने Shopify एडमिन में Shopify Order Printer ऐप का उपयोग करके टेम्पलेट बना और एडिट कर सकते हैं। डिफ़ॉल्ट रूप से, Shopify Order Printer ऐप में निम्नलिखित टेम्पलेट शामिल होते हैं:
- इनवॉइस: एक इनवॉइस जिसे आप ग्राहक को भेज सकते हैं
- पैकिंग स्लिप: आपके स्टोर के पते और आपके ग्राहक के शिपिंग पते का एक प्रिंटआउट।
- पिक लिस्ट: एक दस्तावेज़ जिसमें आपके ग्राहक का ऑर्डर भेजने के लिए पिक किए जाने वाले आइटम की सूची शामिल होती है।
आप अन्य पैकेजिंग इंसर्ट, जैसे कूपन, लेबल या रसीद के लिए अपने स्वयं के कस्टम टेम्पलेट बनाने के लिए Liquid का उपयोग कर सकते हैं। Shopify Order Printer ऐप HTML, CSS और लिक्विड वैरिएबल से बने टेम्पलेट को सपोर्ट करता है।
इस पेज पर
Shopify Order Printer ऐप में टेम्पलेट बनाने के लिए ध्यान रखने वाली बातें
Shopify Order Printer ऐप में टेम्पलेट बनाने से पहले निम्नलिखित बातों पर गौर करें:
- Shopify Order Printer ऐप में टेम्पलेट बनाने या उनमें बदलाव करने के लिए, आपको HTML, CSS और Liquid की जानकारी होनी चाहिए। Shopify Design Policy के स्कोप के तहत, मुफ़्त Shopify थीम में मामूली बदलाव करने में Shopify थीम समर्थन आपकी मदद कर सकता है। अगर आपको ज़्यादा जटिल बदलावों की ज़रूरत है या आप ऐसी थीम का इस्तेमाल करते हैं जिसे Shopify ने नहीं बनाया है, तो किसी Shopify पार्टनर को हायर करने पर विचार करें।
- आप 15 तक अलग-अलग टेम्पलेट बना सकते हैं।
- सभी सपोर्टेड टेम्पलेट कस्टमाइज़ेशन के लिए Shopify Order Printer के लिए लिक्विड वैरिएबल और फ़िल्टर संदर्भ की समीक्षा करें।
टेम्पलेट बनाएं
आप अपने ऑर्डर दस्तावेज़ के लिए एक नया टेम्पलेट बना सकते हैं।
पिक लिस्ट टेम्पलेट सेट करने के लिए, Shopify Order Printer ऐप का उपयोग करके पिक लिस्ट सेट अप करना और प्रिंट करना देखें।
चरण:
अपने Shopify एडमिन से, ऐप > Order Printer पर जाएं।
टेम्पलेट पर क्लिक करें।
टेम्पलेट बनाएं पर क्लिक करें।
नाम फ़ील्ड में, अपने टेम्पलेट के लिए एक नाम डालें, जैसे लेबल या कूपन।
कोड एडिट करें सेक्शन में, अपना टेम्पलेट बनाने के लिए HTML, CSS या Liquid कोड जोड़ें।
वैकल्पिक: अपने टेम्पलेट का प्रीव्यू देखने के लिए, प्रीव्यू पर क्लिक करें।
सेव करें पर क्लिक करें।
टेम्पलेट एडिट करें
आप किसी मौजूदा टेम्पलेट को एडिट कर सकते हैं। Order Printer टेम्पलेट को कस्टमाइज़ करने के बारे में ज़्यादा जानें।
चरण:
अपने Shopify एडमिन से, ऐप > Order Printer पर जाएं।
टेम्पलेट पर क्लिक करें।
उस टेम्पलेट पर क्लिक करें जिसे आप एडिट करना चाहते हैं।
कोड एडिट करें सेक्शन में, HTML, CSS या Liquid कोड जोड़ें या एडिट करें।
वैकल्पिक: अपने टेम्पलेट का प्रीव्यू देखने के लिए, प्रीव्यू पर क्लिक करें।
सेव करें पर क्लिक करें।
डिफ़ॉल्ट टेम्पलेट को रीस्टोर करना
आप बिल्ट-इन पैकिंग स्लिप और इनवॉइस टेम्पलेट को उनके डिफ़ॉल्ट मान पर रीस्टोर कर सकते हैं। अपने टेम्पलेट को डिफ़ॉल्ट पर रीस्टोर करने के लिए निम्नलिखित कोड ब्लॉक का उपयोग करें।
इनवॉइस डिफ़ॉल्ट टेम्पलेट
6 जून, 2024 का वर्शन।
<div>
<div class="columns">
<h1>Invoice</h1>
<div>
<p style="text-align: right; margin: 0;">
Order {{ order.order_name }}<br />
{% if order.po_number %}PO # {{ order.po_number }}<br />{% endif %}
{{ order.created_at | date: "%B %e, %Y" }}
</p>
</div>
</div>
<div class="columns" style="margin-top: 1.5em;">
<div class="address">
<strong>From</strong><br/>
{{ shop.name }}<br/>
{{ shop.address | format_address }}
{% if shop.phone %}{{ shop.phone }}{% endif %}
</div>
{% if order.billing_address %}
<div class="address">
<strong>Bill to</strong>
{{ order.billing_address | format_address }}
</div>
{% endif %}
{% if order.shipping_address %}
<div class="address">
<strong>Ship to</strong>
{{ order.shipping_address | format_address }}
{% if order.shipping_address.phone %}{{ order.shipping_address.phone }}{% endif %}
</div>
{% endif %}
</div>
<hr />
<h2>Order Details</h2>
<table class="table-tabular" style="margin: 1em 0 0 0;">
<thead>
<tr>
<th scope="col">Qty</th>
<th scope="col">Item</th>
<th scope="col" style="text-align: right;">Price</th>
</tr>
</thead>
<tbody>
{% for line_item in order.line_items %}
<tr>
<td scope="row">{{ line_item.quantity }}</td>
<td>{{ line_item.title }}
{% if line_item.line_level_discount_allocations.size > 0 %}
<span class="subduedText">
{% for discount_allocation in line_item.line_level_discount_allocations %}
<br>{{ discount_allocation.discount_application.title }} (-{{ discount_allocation.amount | money }})
{% endfor %}
</span>
{% endif %}
</td>
<td style="text-align: right;">
{% if line_item.original_price != line_item.final_price %}
<span class="subduedText"><s>{{ line_item.original_price | money }}</s></span>
{% endif %}
{{ line_item.final_price | money }}
</td>
</tr>
{% endfor %}
<tr>
<td scope="row" colspan="2" style="text-align: right;">Subtotal</td>
<td style="text-align: right;">{{ order.line_items_subtotal_price | money }}</td>
</tr>
{% for discount_application in order.cart_level_discount_applications %}
<tr>
<td scope="row" colspan="2" style="text-align: right;">{% if discount_application.title %}<span class="subduedText">{{ discount_application.title }}</span>{% endif %}</td>
<td style="text-align: right;">-{{ discount_application.total_allocated_amount | money }}</td>
</tr>
{% endfor %}
<tr>
<td scope="row" colspan="2" style="text-align: right;">Tax</td>
<td style="text-align: right;">{{ order.tax_price | money }}</td>
</tr>
{% if order.shipping_address %}
<tr>
<td scope="row" colspan="2" style="text-align: right;">Shipping</td>
<td style="text-align: right;">{{ order.shipping_price | money }}</td>
</tr>
{% endif %}
<tr>
<td scope="row" colspan="2" style="text-align: right;"><strong>Total</strong></td>
<td style="text-align: right;"><strong>{{ order.total_price | money }}</strong></td>
</tr>
{% if order.net_payment != order.total_net_amount %}
<tr>
<td scope="row" colspan="2" style="text-align: right;">Total Paid</td>
<td style="text-align: right;">{{ order.net_payment | money }}</td>
</tr>
{% endif %}
{% if order.total_refunded_amount > 0 %}
<tr>
<td scope="row" colspan="2" style="text-align: right;">Total Refunded</td>
<td style="text-align: right;">-{{ order.total_refunded_amount | money }}</td>
</tr>
{% endif %}
{% if order.net_payment != order.total_net_amount %}
<tr>
<td scope="row" colspan="2" style="text-align: right;"><strong>Outstanding Amount</strong></td>
<td style="text-align: right;"><strong>{{ order.total_price | minus: order.net_payment | money }}</strong></td>
</tr>
{% endif %}
</tbody>
</table>
{% if transactions.size > 1 %}
<h2>Transaction Details</h2>
<table class="table-tabular" style="margin: 0 0 1.5em 0;">
<thead>
<tr>
<th scope="col">Type</th>
<th scope="col">Amount</th>
<th scope="col">Kind</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody>
{% for transaction in transactions %}
<tr>
<td scope="row">{{ transaction.gateway | payment_method }}</td>
<td>{{ transaction.amount | money }}</td>
<td>{{ transaction.kind }}</td>
<td>{{ transaction.status }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% if order.note %}
<h2>Note</h2>
<p>{{ order.note }}</p>
{% endif %}
<p style="margin-bottom: 0;">If you have any questions, please send an email to <u>{{ shop.email }}</u></p>
</div>पैकिंग स्लिप डिफ़ॉल्ट टेम्पलेट
6 जून, 2024 का वर्शन।
<div>
<div class="columns">
<h1>Packing Slip</h1>
<div class="address">
<p style="text-align: right; margin: 0;">
Order {{ order.order_name }}<br />
{% if order.po_number %}PO # {{ order.po_number }}<br />{% endif %}
{{ order.created_at | date: "%B %e, %Y" }}
</p>
</div>
</div>
<div class="columns" style="margin-top: 1.5em;">
<div class="address">
<strong>From</strong><br/>
{{ shop.name }}<br/>
{{ shop.address | format_address }}
</div>
{% if order.shipping_address %}
<div class="address">
<strong>Ship to</strong>
{{ order.shipping_address | format_address }}
</div>
{% endif %}
</div>
<hr />
<h2>Order Details</h2>
<table class="table-tabular" style="margin: 1em 0 0 0;">
<thead>
<tr>
<th scope="col" style="width: 15%; text-align: left;">Qty</th>
<th scope="col" style="width: 85%; text-align: left;">Item</th>
</tr>
</thead>
<tbody>
{% for line_item in order.line_items %}
<tr>
<td scope="row" style="text-align: left;">{{ line_item.quantity }}</td>
<td style="text-align: left;">{{ line_item.title }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>