Earn 6,750 ($67.50)
Auto SKU Generator for Shopify Products
Bounty Description
Problem Description
I maintain a Shopify store where I consign apparel and accessories. I am seeking development of an app that will render a Shopify sku value based on the Vendor na,e and a date time stamp.
I want the sku value to assume the first two letters of a vendor’s first name, the first 3 letters of the vendors last name and a date/time stamp. Separate the first and last element from the date-time element with an underscore character (_).
For example, if the vendor’s name is Taylor Swift, the sku would be: taswi_20230603:082230
In this example ta= the first two letters of the vendor’s name and swi= the first 3 of the vendors last name. The vale of 20230603:082230 represents the yyyymmdd:hhmmss of when the sku is minted
The Shopify app should mint SKU after the user specifies the vendor name.
Acceptance Criteria
When Shopify backend user defines a value for the Vendor pick-list on a Shopify product, the app should auto-generate the sku in the format described above.
If the Shopify backend user is entering a new Vendor name (as opposed to selecting a vendor name from the picklist of pre-existing values in the Vendor field, the app should wait for the Vendor name to be entered.
If the first name has fewer than 2 characters, replace any missing characters with letter 'Z'. If the last name has fewer than 3 characters, replace any missing characters with the letter 'x'.
The date time stamp should enter the time based on GMT-8 timezone