Hello,
Thank you for the article. However, as mentioned by the previous poster, we are not able to set the Country/Region and Province fields.
How can we set this using the permalinks?
Thank you!
Sebastian
Cart permalinks allow pre-loading Shopify carts with specific products and quantities using URLs formatted as /cart/{variant_id}:{quantity}. The original tutorial explains this advanced technique can pre-fill checkout fields (email, shipping address) and include discount codes, though it’s unsupported by Shopify and requires technical knowledge.
Key URL patterns discovered:
/cart/add?id[]=variantid/cart/update?updates[variant_id]=qty/cart/update?updates[variant_id]=0&updates[variant_id]=3/cart/add?id[]=variant&return_to=/discount/code?redirect=/pageCommon issues resolved:
& not ? as separators& as %26 needed when chaining parameters in return_to URLs&checkout[shipping_address][province]=NYUnresolved questions:
The discussion remains active with ongoing troubleshooting and workaround sharing.
Hello,
Thank you for the article. However, as mentioned by the previous poster, we are not able to set the Country/Region and Province fields.
How can we set this using the permalinks?
Thank you!
Sebastian