Skip to main content

WooCommerce Meta Fields

We store some data in meta fields on WooCommerce. This KB article will list out these meta fields which can be useful in importing/exporting data from Woo

Product Sync

When Woo is the master for products, the products sync from Woo > Epos Now. Our plugin adds custom fields for the Woo products and variations.

The custom fields for products are listed here. You can see where to find them in the WooCommerce admin in this article.

WooCommerce Meta KeyTypeValuesEposNow Field
sln_ignore_stock_updateboolean0,10 = process stock updates 1 = ignore stock updates
sln_ignore_product_updateboolean0,10 = process product updates 1 = ignore productupdates
sln_epn_titletextProduct name to be used on EposNow. If not set, defaults to woo product name. Does not affect Woo product name. Useful when abbreviated names need to be used on EposNow. Has a 40 character limit.
sln_epn_descriptiontextProduct description to be used on EposNow. If not set, defaults to sln_epn_title. Does not affect Woo product description. Has a 127 character limit.
sln_product_typetextstandard, measured, weightedType of product on EposNow. Cannot be changed once set.
sln_sale_price_measurement_scheme_item_idinteger1 => "Centimetres", 2 => "Metres", 3 => "Grams", 4 => "Kilograms", 5 => "Millilitres", 6 => "Centilitres", 7 => "Litres", 8 => "Square Centimeter", 9 => "Square Meter", 11 => "Square Feet", 12 => "Square Yard", 18 => "Yards"only needs to be set for weighed and measured products SalePriceMeasurementSchemeItemId
sln_sale_price_measurement_unit_volumeintegerEPN Measurement Unit Volume
sln_unit_multiplierdoubleSlynk unit multiplier. Useful with multipacks and measured/weighed products
sln_wc_measurement_unitinteger1 => "Centimetres", 2 => "Metres", 3 => "Grams", 4 => "Kilograms", 5 => "Millilitres", 6 => "Centilitres", 7 => "Litres", 8 => "Square Centimeter", 9 => "Square Meter", 11 => "Square Feet", 12 => "Square Yard", 18 => "Yards"only needs to be set for weighed and measured products
sln_epn_cost_pricedoubleEposNow cost price Recommend setting this field in Woo and adding to field mapping as EposNow creates stock batches using the cost price at the time the stock was added. When the stock is deducted, it deducts from the oldest stock batch and uses the cost price from the stock batch to determine the margin.
sln_epn_eat_out_pricedoubleEat out price
sln_epn_rrp_pricedoubleRrp price
sln_epn_barcodetextBarcode
sln_epn_order_codetextOrder code
sln_epn_article_codetextArticle Code
sln_epn_brand_idintegerEposNow brand ID
sln_epn_supplier_idintegerEposNow supplier ID
sln_epn_tare_weightintegerEposNow tare weight
sln_epn_sizetextEposNow Size attribute
sln_product_category_masterintegerWooCommerce category IDWhich category should be used when checking the category mapping. Only required if category mapping is enabled on your Slynk account.
sln_epn_product_idintegerThe EposNow product ID. Only used when importing products from EposNow to Woo for initial product linking.
sln_epn_sort_positionintegerThe sort position on the Epos Now till for this product
sln_epn_sell_on_tillbooleantrue,falseWhether this item should be available on the Epos Now till. If left blank, it will leave this setting as is on EN.

Order Sync

When Woo is set to be the master for stock, EN orders sync into WooCommerce. The following table shows the meta fields that we sync additional data to in the Woo order.

Epos Now TransactionWoo Order meta
TotalAmount_eposnow_total_amount
ServiceCharge_eposnow_service_charge
Gratuity_eposnow_gratuity
DiscountValue_eposnow_discount_value
NonDiscountable_eposnow_non_discountable
NonTax_eposnow_non_tax
IsTransactionIncTax_eposnow_is_transaction_inc_tax
Taxes_eposnow_taxes_summary
EposNow Source KeyWoo Order Meta
TenderTypeId_eposnow_tender_TenderTypeId_0
Amount_eposnow_tender_Amount_0
ChangeGiven_eposnow_tender_ChangeGiven_0
IsCashback_eposnow_tender_IsCashback_0
Type_eposnow_tender_Type_0
PlatformFees_eposnow_tender_PlatformFees_0
PspReference_eposnow_tender_PspReference_0
Last4_eposnow_tender_Last4_0
Bin_eposnow_tender_Bin_0
Epos Now Transaction Customer DataWoo Order Meta
Id_eposnow_customer_id
Forename_eposnow_customer_forename
Surname_eposnow_customer_surname
EmailAddress_eposnow_customer_email
AddressLine1_eposnow_customer_addressline1
AddressLine2_eposnow_customer_addressline2
Town_eposnow_customer_town
County_eposnow_customer_county
PostCode_eposnow_customer_postcode
Epos Now Line Item DataWoo Order Line Item Meta
UnitPrice_eposnow_unit_price
UnitPriceExcTax_eposnow_unit_price_exc_tax
CostPrice_eposnow_cost_price
TaxAmount_eposnow_tax_amount
DiscountAmount_eposnow_discount_amount
DiscountAmountExcTax_eposnow_discount_amount_exc_tax
IsTaxExempt_eposnow_is_tax_exempt
Taxes[0].Rate_eposnow_tax_rate