Thanks for your answer,
It is not an issue. I already use the template tag.
In fact, I like to show my products with 2 different displays :
– a product with a link page for packages with a filled custom_field [acf_pagelink].
– a product without a link page for packages with an empty custom_fied [acf_pagelink].
I use wpdm_directory_add_on.
The plugin use only the link_template information on the command line.
link_template is an optional parameter, so if this option is not used, wpdm_directory_add_on should use the filled link-template of each package instead a defaut_template for all packages.
It seems that it should be the normal behavior otherwise I don’t understand the interest of specify the templates on the packages ?
I try to use a php script in a link-template with condition according to the value of a custom_field to change the display but it doesn’t working.
Do you know how to do it ?
Thanks,
Jerome