Hi there,
I’m looking to add a lead time/required-by-date field to our Shopify sales in the back end.
When an order is processed, I need to include a required by-date field which will predict the lead time on the order.
So either this field is left blank and we manually fill it in once an order has come through or it is populated automatically using a custom number of days from the day an order has been created. ?
We integrate with DEAR for our fulfilment, at the moment DEAR pulls through the required by date as the date the sales are created, which is not working for us.
We work with multiple lead times as all our products are made to order and so we are able to work off required by dates, rather than sales date.
Thank you in advance
Lot of ambiguity here “shopify sales” does this mean needing to this info to show in reports.. or analytics…
There’s also a bunch of excess forum tags, what does this have to do with liquid or javascript or html . are backend data operations trying to be updated with a theme customization.
For the actual data WHERE and how this information is being surfaced, a metafield, order attribute/note, timeline comments, etc etc.
In the crudest interpretation If the stores plan has access to the free shopify-flow app use the order created trigger to add order tags or custom-attributes.
https://help.shopify.com/en/manual/shopify-flow/reference/triggers/order-created
https://help.shopify.com/en/manual/shopify-flow/reference/actions/add-order-tags
There is an example template of Using customAttributes (aka line item properties) in conditions and actions
https://shopify.com/admin/apps/flow/web/editor/templates/888b29d0-2ebd-4304-b94f-894d99af85d1
But afaik there is no action to create/update custom attibutes to do that you would need to either do http action stuff to do it via the api , or just use a scriptable automation app like usemechanic for more robust used cases.
https://help.shopify.com/en/manual/shopify-flow/reference/actions/send-http-request
https://tasks.mechanic.dev/auto-add-default-custom-attributes-to-new-orders
Good hunting.
Hi, Paul my apologies in all the tags…
Its not needed for reports or analytics, it’s simply just an extra field for information to allow us to put our sales in order based on lead times rather than sales dates. Essentially it would be creating an option to allow us to add a “due by” date. Did you have any advice on how do other businesses work with individual lead times on multiple products?