Jump to content

?? marker from IF statment PS1.7.7.8


AHO500

Recommended Posts

If some one could help me with this, i'am trying to insert a custom link based of the reference number of the product .
And only to products in a parent category .

This code in catalog/products.tpl

{if $category->id_parent == 5}
        <div id="installation"><a href="https://instructions.brp.com/content/instruction-sheet/sv_SE/e-instruction.html#tab=1&sku={$product.reference|escape:'htmlall':'UTF-8'}" target="_blank">Installationsguide</a></div>
       
 {/if}

it works on the product page but i get 2 questionmarks before the Link on the page? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...