I am working to install power search and I am unable to get the URI look up function to work at all.
Here is the code I am using, which is from the How-To docs
This code is being used in the power search product layout template.
The Miva engine is 5.26
Thanks for the help. I am sure I am missing something simple with the do function.
CN
Here is the code I am using, which is from the How-To docs
Code:
<mvt:assign name="l.uri:product_id" value="l.all_settings:product:id" />
<mvt:do file="g.Module_Feature_URI_DB" name="l.have_uri" value="URI_Load_Item_Canonical( l.uri, l.settings:canonical_uri )" />
<mvt:if expr="l.have_uri">
<a href="&mvt:canonical_uri:canonical;" title="&mvte:product:name;">
<mvt:else>
<a href="/&mvts:product:name;.html" title="&mvte:product:name;">
</mvt:if>
The Miva engine is 5.26
Thanks for the help. I am sure I am missing something simple with the do function.
CN
Comment