Hi,
Hope anybody can help here! ![]()
So to start off with my SKU for products in Shopify is setup this way: 100880\99000\34 .
The first number being the style number (100880), Second number is colour (99000) and the last is the size (34).
I would like to split the SKU into only style and colour number so (100880\99000), which should be used to pass onto a third party software. So far i have used this code:
{%- liquid assign parts = product.variants.first.sku | split: ‘\’ -%}
{%- liquid assign result = parts[0] | append: ‘\’ | append: parts[1] | split: ‘\’ | first -%}
But it still sends the product as the whole SKU. Anybody that can help solve this issue? ![]()