Shopify Order Printer ব্যবহার করে টেমপ্লেট তৈরি ও এডিট করা
আপনি আপনার Shopify অ্যাডমিনে Shopify Order Printer অ্যাপ ব্যবহার করে টেমপ্লেট তৈরি ও এডিট করতে পারবেন। বাই-ডিফল্ট, Shopify Order Printer অ্যাপে নিচের টেমপ্লেটগুলো অন্তর্ভুক্ত থাকে:
- ইনভয়েস: একটি ইনভয়েস, যা আপনি গ্রাহককে পাঠাতে পারেন
- প্যাকিং স্লিপ: আপনার স্টোরের ঠিকানা এবং গ্রাহকের শিপিংয়ের ঠিকানার একটি প্রিন্টআউট।
- সংগ্রহের তালিকা: গ্রাহকের অর্ডার পূরণ করতে সংগ্রহ করা প্রয়োজন এমন আইটেমগুলোর তালিকাসহ একটি ডকুমেন্ট।
আপনি কুপন, লেবেল বা রসিদের মতো অন্যান্য প্যাকেজিং ইনসার্টের জন্য নিজস্ব কাস্টম টেমপ্লেট তৈরি করতে Liquid ব্যবহার করতে পারেন। Shopify Order Printer অ্যাপ HTML, CSS এবং Liquid ভেরিয়েবল দিয়ে তৈরি টেমপ্লেট সমর্থন করে।
এই পেজে
Shopify Order Printer অ্যাপে টেমপ্লেট তৈরি করার ক্ষেত্রে বিবেচ্য বিষয়সমূহ
Shopify Order Printer অ্যাপে টেমপ্লেট তৈরি করার আগে নিচের বিবেচ্য বিষয়গুলো পর্যালোচনা করুন:
- Shopify Order Printer অ্যাপে টেমপ্লেট তৈরি বা এডিট করতে, আপনার HTML, CSS এবং Liquid সম্পর্কে ধারণা থাকতে হবে। Shopify Design Policy-এর পরিধির মধ্যে ফ্রি Shopify থিমের ছোটখাটো অ্যাডজাস্টমেন্টের ক্ষেত্রে Shopify Theme Support সহায়তা করতে পারে। আপনার যদি আরও জটিল কোনো পরিবর্তনের প্রয়োজন হয় অথবা আপনি এমন কোনো থিম ব্যবহার করেন যা Shopify-এর তৈরি নয়, তাহলে একজন Shopify পার্টনার নিয়োগ করার বিষয়টি বিবেচনা করুন।
- আপনি 15টি পর্যন্ত আলাদা টেমপ্লেট তৈরি করতে পারেন।
- সমর্থিত সকল টেমপ্লেট কাস্টমাইজেশনের জন্য Shopify Order Printer-এর Liquid ভেরিয়েবল এবং ফিল্টার রেফারেন্স পর্যালোচনা করুন।
একটি টেমপ্লেট তৈরি করুন
আপনি আপনার অর্ডার ডকুমেন্টের জন্য নতুন টেমপ্লেট তৈরি করতে পারেন।
সংগ্রহের তালিকার টেমপ্লেট সেট আপ করতে, 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>