Overview
Do you want to send a customer to a product detail page where the default number of days, age, duration, or any other attribute values are set up to override the default attribute value selections that a guest would see if they just went to the product without an override URL? Then you'll need to define an override URL using the specs outlined below.
See below for for some common Use Cases for Deep Linking/Override URLs.
Example
https://shop.yourstore.com/s/lift-passes/p/single-and-multi-day-pass?1012=2021-08-16&1013=3081&1014=3085
The various components of the URL set up in the override URL. Items that are required are indicated in the description. You can also set the URL to override more than just the defined attributes and attribute values using the same steps below.
Component | Description |
---|---|
(Required *)The secure URL to your store | |
s | (Required *)An ‘s' for single page app, it's just required. The 's’ denotes a category is next. |
lift-passes | (Required *)The SEO name for the category in which the product resides |
p | (Required *) An indicator to the single page app that a product link is next, it's just required |
single-and-multi-day-pass | (Required *) The SEO name for the product |
? | (Required *) An indicator to the single page app that you are setting filters now |
1012 | The Attribute ID for Age which likely it won't be 1012 in your site. To find it:
|
=2021-08-16 | An attribute value is required for an Override URL, but it doesn't have to be a start date value. If you desire to set the date you would like to set from the URL to override the default settings. Use the following format to format the date: YYYY-MM-DD |
& | If you want to override the settings for more than one attribute from the URL. |
1013 | The Attribute ID for Duration which likely it won't be 1013 in your site. To find it:
|
=3081 | The Attribute Value ID which likely it won't be 3081 in your site. To find it:
|
& | If you want to override the settings for more than one attribute from the URL |
1014 | The Attribute ID for Age which likely it won't be 1014 in your site. To find it:
|
=3085 | The Attribute Value ID which likely it won't be 3085 in your site. To find it:
|
Use Cases for Deep Linking/Override URLs
Deep Linking/Override URLs can be used to send guests to any specific place in the store such as:
Specific product page
Hidden category page
My Account (see below for special instructions for My Account linking)
Anywhere!
Linking to My Account When Not Logged In
You would like to link guests straight to the My Account page. However, if the user is not logged in, they’ll be taken to a blank page.
To solve this issue, you can use a URL that takes the guest to Identity, and upon login, directs them back to any specified page.
https://shop._____.com/login?ReturnUrl=%2fcustomer%2Finfo (This takes them to My Account’s customer info page.)
https://shop._____.com/login?ReturnUrl=%2f_____%2f___ (Returns them to the specified page after login.)
Example:
https://shop.peakresort.com/login?ReturnUrl=%2fs%2Fevent-special%2Fp%2f2-day-ticket