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 Theme Support કદાચ Shopify ડિઝાઇન પૉલિસીના કાર્યક્ષેત્રમાં આવતી મફત Shopify થીમમાં નાના ફેરફારો કરવામાં મદદ કરી શકે છે. જો તમને વધુ જટિલ ફેરફારોની જરૂર હોય અથવા તમે એવી થીમનો ઉપયોગ કરતા હો જે 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>