Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Pascal Friend
    #1094449

    Hi All,

    I would like to add an image (a pictogram) before some values depending on the type of content custom fields.
    For instance, in product-item.php we could write something like :
    {@none}
    {picto} {.value|s}
    {/none}

    But where is the function to change to create to "{picto}" tag ?

    Saguaros Moderator
    #1094609

    Hi,

    Any sample of how you want to achieve here? Some screenshots would be helpful.

    Regards

    Pascal Friend
    #1094676

    I have checkbox results (A, B, C)

    Some examples of possible results : A,B,C A,C B,C or nothing

    So I would like ` IMG A : YES or NO IMG B : YES or NO IMG C : YES or NO

    
    How to write it ? 

    {@select key=.value} {contains value="A"} YES {else} NO {/contains} {contains value="B"} YES {else} NO {/contains} {contains value="C"} YES {else} NO {/contains} {/select}

    • This reply was modified 6 years, 1 month ago by  Pascal.
    • This reply was modified 6 years, 1 month ago by  Pascal.
    Saguaros Moderator
    #1094825

    Hi,

    It seems to be complicated, kindly put it on live site and share the credentials of your site, it’s better with a closer look at the specific case.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Saguaros 6 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum