Entity Value
Attribute(s) style, href, title, alt, value, name, onclick
Type function, value
Context document
Parameters 1: name custom field
Result Value of the custom field

The function custom returns the value of a custom parameter given with the querystring the URL for viewing the productlist, the shop and / of directly placing an order. In the URL the name of the parameter has to start with custom_ followed by the name and the desired value.

In the example above is shown how the shop 1234 is called with the extra querystring parameter custom_color and custom_name. The example below shows how to access these parameters in a custom layout document.

<span style="myshop-test:{$custom('name')}!=''">
        Dear <span style="myshop-eval:{$custom('name')}"/>, 
        the color you chose is <span style="myshop-eval:{$custom('color')}"/>.


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment