POS Plus Receipt customization - Add product Metafield after title

POS Plus Receipt customization - Add product Metafield after title

Tools2u
New Member
5 0 0

We are using Shopify POS Plus and need to customize the receipt.

 

We have a Product Metafield on each item called bin and each item then has its own shelf number.

 

We need the bin product metafield to show after the title on the receipt.

 

What code do I need to add to show this?

 

The name space and key is - custom.bin_

Replies 4 (4)

oscprofessional
Shopify Partner
16366 2440 3188

Hi @Tools2u ,

To show the bin metafield on your POS receipt, add this after the product title in your receipt template:

Bin: {{ line_item.product.metafields.custom.bin_ }}

Make sure the metafield is set on the product and published to POS.

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...
Tools2u
New Member
5 0 0

Thanks. I have tried this but it still doesn't show the bin number text 

Tools2u
New Member
5 0 0

Still cant get this to work any other suggestions? 

Tools2u
New Member
5 0 0

I added this to the SKU line on the Code but it doesn't show - 

 

{% if display_product_sku %}
<p class='product_sku'>{{ line_item.sku }} Bin: {{ line_item.product.metafields.custom.bin_ }}</p>

{% endif %}