shopify - Provide tracking_url for products which have the 'Require a shipping address' option disabled
I would like to setup the products/variants not to require a shipping address and I would like to use the shipping notification email to notify the users and sent them their download url (as the products are digitally distributed).
Right now it looks like I cannot specify a tracking_url for variants where the 'Require a shipping address' is disabled. Is this the intended behaviour or is there another way?
This is the code I have right now:
f = ShopifyAPI::Fulfillment.new f.prefix_options[:order_id] = <shopify order id> f.tracking_number = <some number> f.tracking_url = <url> f.notify_customer = true f.line_items = ids f.save
This is the intended behaviour.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.