বিনিময়ের জন্য রিটার্ন তৈরি হওয়ার ইমেইল বিজ্ঞপ্তি আপডেট করা
আপনার স্টোরে যদি কাস্টমাইজ করা বিজ্ঞপ্তির টেমপ্লেট ব্যবহার করা হয়, তবে আপনি কোনো রিটার্নের সাথে বিনিময়ের আইটেম যোগ করলে তা যেন সঠিকভাবে কাজ করে তা নিশ্চিত করতে আপনাকে ম্যানুয়ালি আপনার রিটার্ন তৈরি হয়েছে ইমেইল বিজ্ঞপ্তি আপডেট করতে হতে পারে।
Shopify-এর নোটিফিকেশন টেমপ্লেটে ব্যবহৃত কোডের সাথে পরিচিত থাকা এই পরিবর্তনগুলোর জন্য আবশ্যক। আপনার টেমপ্লেটগুলো যদি খুব বেশি কাস্টমাইজ করা থাকে এবং আপনি প্রয়োজনীয় পরিবর্তনগুলো কীভাবে প্রয়োগ করবেন সে সম্পর্কে নিশ্চিত না হন, তাহলে যে ডেভেলপার পরিবর্তনগুলো করেছেন তার সাথে যোগাযোগ করুন অথবা আপনার টেমপ্লেটটিকে এর আগের অবস্থায় ফিরিয়ে আনতে Revert to default-এ ক্লিক করুন। ডিফল্ট অবস্থায় ফিরে গেলে আপনার সমস্ত কাস্টমাইজেশন মুছে যায়, কিন্তু ডিফল্ট টেমপ্লেটটি নিশ্চিত করে যে আপনার কাছে সবচেয়ে বর্তমান টেমপ্লেট সংস্করণটি রয়েছে।
রিটার্ন তৈরি করা হয়েছে ইমেইল নোটিফিকেশন আপডেট করুন
নিম্নলিখিত পরিবর্তনগুলো অন্তর্ভুক্ত করতে আপনি রিটার্ন তৈরি করা হয়েছে নোটিফিকেশনটি আপডেট করতে পারেন:
- নেট প্রদেয় বিনিময়গুলোর জন্য, গ্রাহক এখন তাদের রিটার্ন ইমেইলে একটি পেমেন্ট অ্যাকশন (এখনই পেমেন্ট করুন বাটন) পেতে পারেন। এর মধ্যে ইমেইলের নির্দেশাবলীর অংশে এমন আপডেট অন্তর্ভুক্ত রয়েছে যা গ্রাহকের বকেয়া ব্যালেন্সকে প্রতিফলিত করে এবং নির্দেশাবলীটি ইমেইলের উপরের দিকে সরানো হয়েছে।
- একটি নতুন বিভাগ যা আপনি যে আইটেমগুলো পাবেন শিরোনামের অধীনে বিনিময়ের আইটেমগুলো প্রদর্শন করে এবং রিটার্ন করা আইটেম বিভাগের নাম পরিবর্তন করে রিটার্ন করার আইটেম রাখে।
- রিটার্ন এবং বিনিময়ের আইটেমের খরচ এবং প্রযোজ্য রিটার্ন ফিসহ রিটার্ন ইমেইলের একটি অংশ হিসেবে একটি আর্থিক সারাংশ অন্তর্ভুক্ত করা হয়।
ধাপ:
আপনার Shopify অ্যাডমিন থেকে, সেটিংস > নোটিফিকেশন-এ যান।
গ্রাহকের নোটিফিকেশন-এ ক্লিক করুন।
রিটার্ন বিভাগে, রিটার্ন তৈরি করা হয়েছে-তে ক্লিক করুন।
কোড এডিট করুন-এ ক্লিক করুন।
{% if return_delivery.type == 'shopify_label' %}-এর প্রথম দৃষ্টান্তটি খুঁজুন এবং তারপর রিটার্ন শিপিংয়ের নির্দেশাবলী আপডেট করুন:<p class="return-creation__subtitle">...</p>কোড লাইনটি খুঁজুন।- কোড লাইনের পরে নিচের কোড ব্লকটি যোগ করুন:
<div class="return-label-beta__instructions">
<h2>Instructions</h2>
<ol>
<li>Pack the items you're returning.</li>
{% if return.checkout_payment_collection_url %}
<li>Pay the outstanding balance.</li>
{% endif %}
<li>Print your return shipping label. If you haven't received it yet, we'll send it to you soon.</li>
<li>Attach the label to the package. Cover or remove any old shipping labels.</li>
<li>
{% if return_delivery.carrier_name %}
Give the package to {{ return_delivery.carrier_name }}.
{% else %}
Give the package to the carrier identified on the label.
{% endif %}
</li>
<li>
Track your return using <a target="_blank" href="{{ return_delivery.tracking_url) }}">your tracking number</a> to make sure we get it.
</li>
</ol>
</div>- কল-টু-অ্যাকশন আপডেট করে এতে এখনই পেমেন্ট করুন লজিক অন্তর্ভুক্ত করুন:
<table class="row actions">...</table>কোড লাইনটি খুঁজুন।- বিদ্যমান কোড ব্লকের জায়গায় নিচের কোড ব্লকটি প্রতিস্থাপন করুন:
{% capture url_primary %}{{ return.checkout_payment_collection_url }}{% endcapture %}
{% capture text_primary %}Pay now{% endcapture %}
{% capture url_secondary %}{% endcapture %}
{% capture text_secondary %}{% endcapture %}
{% if url_primary != blank or url_secondary != blank %}
<table class="row actions">
<tr>
<td class="empty-line"> </td>
</tr>
<tr>
<td class="actions__cell">
{% if url_primary != blank %}
<table class="button main-action-cell">
<tr>
<td class="button__cell">
<a href="{{ url_primary }}" class="button__text">{{ text_primary }}</a>
</td>
</tr>
</table>
{% endif %}
{% if url_secondary != blank %}
<table class="button return__mobile-padding main-action-cell">
<tr>
<td class="button__cell">
<a href="{{ url_secondary }}" class="button__text return__main-button">{{ text_secondary }}</a>
</td>
</tr>
</table>
{% endif %}
{% endif %}- প্রথম দৃষ্টান্তটি খুঁজুন:
{% elsif return_delivery.type == 'manual' %}, এবং এরপর ম্যানুয়াল রিটার্ন শিপিংয়ের নির্দেশাবলী আপডেট করুন:<p class="return-creation__subtitle">...</p>কোড লাইনটি খুঁজুন।- কোড লাইনের পরে নিচের কোড ব্লকটি যোগ করুন:
<div class="return-label-beta__instructions">
<h2>Instructions</h2>
<ol>
<li>Pack the items you're returning.</li>
{% if return.checkout_payment_collection_url %}
<li>Pay the outstanding balance.</li>
{% endif %}
<li>Print your return shipping label. If you haven't received it yet, we'll send it to you soon.</li>
<li>Attach the label to the package. Cover or remove any old shipping labels.</li>
<li>
{% if return_delivery.carrier_name %}
Give the package to {{ return_delivery.carrier_name }}.
{% else %}
Give the package to the carrier identified on the label.
{% endif %}
</li>
<li>
Track your return using <a target="_blank" href="{{ return_delivery.tracking_url) }}">your tracking number</a> to make sure we get it.
</li>
</ol>
</div>{% elsif return_delivery.type == 'manual' %}কোড ব্লকের মধ্যে আগের ধাপটির পর নিচের কোড ব্লকটি যোগ করুন:
{% capture url_primary %}{{ return.checkout_payment_collection_url }}{% endcapture %}
{% capture text_primary %}Pay now{% endcapture %}
{% capture url_secondary %}{% endcapture %}
{% capture text_secondary %}{% endcapture %}
{% if url_primary != blank or url_secondary != blank %}
<table class="row actions">
<tr>
<td class="empty-line"> </td>
</tr>
<tr>
<td class="actions__cell">
{% if url_primary != blank %}
<table class="button main-action-cell">
<tr>
<td class="button__cell">
<a href="{{ url_primary }}" class="button__text">{{ text_primary }}</a>
</td>
</tr>
</table>
{% endif %}
{% if url_secondary != blank %}
<table class="button return__mobile-padding main-action-cell">
<tr>
<td class="button__cell">
<a href="{{ url_secondary }}" class="button__text return__main-button">{{ text_secondary }}</a>
</td>
</tr>
</table>
{% endif %}
<table class="link secondary-action-cell">
<tr>
<td class="link__cell">or <a target="_blank" href="{{ order.order_status_url }}">View your order</a></td>
</tr>
</table>
</td>
</tr>
</table>
{% endif %}- নোটিফিকেশনের নিচের দিকের পুরনো নির্দেশাবলী মুছে ফেলুন:
<h3>Instructions</h3>কোড লাইনটি খুঁজুন।<h3>Instructions</h3>-এর সাত লাইন ওপর থেকে শুরু হওয়া<table class="row section">...</table>-এর সম্পূর্ণ কোড ব্লকটি খুঁজে মুছে ফেলুন।
- বিনিময়ের লাইন আইটেম যোগ করুন এবং রিটার্ন আইটেমের শিরোনাম আপডেট করুন:
<h3>Returned items</h3>ট্যাগটি খুঁজুন।<h3>Returned items</h3>-এর সাত লাইন ওপর থেকে শুরু হওয়া<table class="row section">...</table>-এর সম্পূর্ণ কোড ব্লকটি খুঁজে এর জায়গায় নিচের কোড ব্লকটি প্রতিস্থাপন করুন:
<table class="row content">
<tr>
<td class="content__cell">
<center>
<table class="container">
<tr>
<td>
<h2>Items to return</h2>
<table class="row">
{% for line_item in return.line_items %}
<tr class="order-list__item">
<td class="order-list__item__cell">
<table>
<td>
{% if line_item.image %}
<img src="{{ line_item | img_url: 'compact_cropped' }}" align="left" width="60" height="60" class="order-list__product-image"/>
{% endif %}
</td>
<td class="order-list__product-description-cell">
{% assign line_display = line_item.quantity %}
<span class="order-list__item-title">{{ line_item.title_without_variant }} × {{ line_display }}</span><br/>
{% if line_item.variant.title != 'Default Title' %}
<span class="order-list__item-variant">{{ line_item.variant.title }}</span><br/>
{% endif %}
{% if line_item.discount_allocations %}
{% for discount_allocation in line_item.discount_allocations %}
{% if discount_allocation.amount > 0 %}
<span class="order-list__item-discount-allocation">
<img src="{{ 'notifications/discounttag.png' | shopify_asset_url }}" width="18" height="18" class="discount-tag-icon" />
<span>
{{ discount_allocation.discount_application.title | upcase }}
(-{{ discount_allocation.amount | money }})
</span>
</span>
{% endif %}
{% endfor %}
{% endif %}
</td>
<td class="order-list__price-cell">
{% if line_item.original_line_price != line_item.final_line_price %}
<del class="order-list__item-original-price">{{ line_item.original_line_price | money }}</del>
{% endif %}
<p class="order-list__item-price">
{% if line_item.final_line_price > 0 %}
{{ line_item.final_line_price | money }}
{% else %}
Free
{% endif %}
</p>
</td>
</table>
</td>
</tr>
{% endfor %}
</table>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
{% if return.exchange_line_items.size > 0 %}
<table class="row content">
<tr>
<td class="content__cell">
<center>
<table class="container">
<tr>
<td>
<h2>Items you'll receive</h2>
<table class="row">
{% for line_item in return.exchange_line_items %}
<tr class="order-list__item">
<td class="order-list__item__cell">
<table>
<td>
{% if line_item.image %}
<img src="{{ line_item | img_url: 'compact_cropped' }}" align="left" width="60" height="60" class="order-list__product-image"/>
{% endif %}
</td>
<td class="order-list__product-description-cell">
{% assign line_display = line_item.quantity %}
<span class="order-list__item-title">{{ line_item.title_without_variant }} × {{ line_display }}</span><br/>
{% if line_item.variant.title != 'Default Title' %}
<span class="order-list__item-variant">{{ line_item.variant.title }}</span><br/>
{% endif %}
{% if line_item.discount_allocations %}
{% for discount_allocation in line_item.discount_allocations %}
{% if discount_allocation.amount > 0 %}
<span class="order-list__item-discount-allocation">
<img src="{{ 'notifications/discounttag.png' | shopify_asset_url }}" width="18" height="18" class="discount-tag-icon" />
<span>
{{ discount_allocation.discount_application.title | upcase }}
(-{{ discount_allocation.amount | money }})
</span>
</span>
{% endif %}
{% endfor %}
{% endif %}
</td>
<td class="order-list__price-cell">
{% if line_item.original_line_price != line_item.final_line_price %}
<del class="order-list__item-original-price">{{ line_item.original_line_price | money }}</del>
{% endif %}
<p class="order-list__item-price">
{% if line_item.final_line_price > 0 %}
{{ line_item.final_line_price | money }}
{% else %}
Free
{% endif %}
</p>
</td>
</table>
</td>
</tr>
{% endfor %}
</table>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
{% endif %}- আর্থিক বিষয় এবং রিটার্ন ফি অন্তর্ভুক্ত করুন। আগের ধাপের পরিবর্তনগুলোর পর নিচের ব্লকটি যোগ করুন অথবা
<table class="row footer">কোড লাইনের আগে ব্লকটি যোগ করুন:
<table class="row section">
<tr>
<td class="section__cell">
<center>
<table class="container">
<tr>
<td>
<table class="row subtotal-lines">
<tr>
<td class="subtotal-spacer"></td>
<td>
<table class="row subtotal-table">
<tr class="subtotal-line">
<td class="subtotal-line__title">
<p>
<span>Subtotal</span>
</p>
</td>
<td class="subtotal-line__value">
<span>{{ return.line_items_subtotal_price | money }}</span>
</td>
</tr>
{% assign fees = return.fees %}
{% for fee in fees %}
<tr class="subtotal-line">
<td class="subtotal-line__title">
<p>
<span>{{ fee.title }}</span>
</p>
</td>
<td class="subtotal-line__value">
<span>{{ fee.subtotal | money }}</span>
</td>
</tr>
{% endfor %}
{% if return.total_tax_price > 0 %}
<tr class="subtotal-line">
<td class="subtotal-line__title">
<p>
<span>Estimated taxes</span>
</p>
</td>
<td class="subtotal-line__value">
<span>{{ return.total_tax_price | money }}</span>
</td>
</tr>
{% endif %}
{% if return.total_price > 0 %}
<table class="row subtotal-table subtotal-table--total">
<tr class="subtotal-line">
<td class="subtotal-line__title">
<p>
<span>Amount to pay</span>
</p>
</td>
<td class="subtotal-line__value">
<strong>{{ return.total_price | money_with_currency }}</strong>
</td>
</tr>
</table>
{% elsif return.total_price <= 0 %}
<table class="row subtotal-table subtotal-table--total">
<tr class="subtotal-line">
<td class="subtotal-line__title">
<p>
<span>Estimated refund</span>
</p>
</td>
<td class="subtotal-line__value">
<strong>{{ return.total_price | abs | money_with_currency }}</strong>
</td>
</tr>
</table>
{% endif %}
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>- সেভ করুন-এ ক্লিক করুন।