Created
August 31, 2015 18:57
-
-
Save mghdotdev/178cabb0012bd26bcc96 to your computer and use it in GitHub Desktop.
MVT: URI Management - Load Category / Product / Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:comment> | |
`Store_Category_URL` | |
NAME: The returned URI. | |
PARAMS: | |
[1] `category var` - The category variable (must include the category's id and code) | |
[2] `flag var` - Structure unknown (Supposed to return either HTTPS or HTTP version of the passed URI) | |
</mvt:comment> | |
<mvt:do file="g.Module_Feature_URI_UT" name="l.settings:category:uri" value="Store_Category_URL(l.settings:category, NULL)" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:comment> | |
`Store_Page_URL` | |
NAME: The returned URI. | |
PARAMS: | |
[1] `page var` - The page variable (must include the page's id and code) | |
[2] `flag var` - Structure unknown (Supposed to return either HTTPS or HTTP version of the passed URI) | |
</mvt:comment> | |
<mvt:do file="g.Module_Feature_URI_UT" name="l.settings:page:uri" value="Store_Page_URL(l.settings:page, NULL)" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:comment> | |
`Store_Product_URL` | |
NAME: The returned URI. | |
PARAMS: | |
[1] `product var` - The product variable (must include the product's id and code) | |
[2] `flag var` - Structure unknown (Supposed to return either HTTPS or HTTP version of the passed URI) | |
</mvt:comment> | |
<mvt:do file="g.Module_Feature_URI_UT" name="l.settings:product:uri" value="Store_Product_URL(l.settings:product, NULL)" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment