$path
You can use the $path variable throughout the entire Aurora Front-end to extract the folder paths from the URL.
This article provides some examples of its use and values to clarify its purpose.
Examples values
URL | $path.0 | $path.1 |
---|---|---|
https://demo.auroracommerce.com/clothes/ | clothes | |
https://demo.auroracommerce.com/00100023945/00100023945 | clothes | 00100023945 |
https://demo.auroracommerce.com/ |
Updated over 2 years ago