Sybille Posted July 20, 2016 Share Posted July 20, 2016 (edited) Hi I would like to show the product id / service id on the detail view (configureproduct.tpl) of the prod-uct. What's the name of the variable? I already displayed the product id / service id on the product main page (products.tpl). There I've used the variable {$product.pid }, but this variable doesn't work in the configureproduct.tpl. I’ve tried the following variables: {$product.pid} {$item['relid']} {$service_id} {$tblproducts.id} {$vars['params']['serviceid']} Does anybody has an idea? Thanks in advanced! Edited July 20, 2016 by Sybille 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted July 20, 2016 Share Posted July 20, 2016 use {debug} tag in smarty whenever you need to know what variables is available in this page the variable your ask about is {$productinfo.pid} 0 Quote Link to comment Share on other sites More sharing options...
Sybille Posted July 21, 2016 Author Share Posted July 21, 2016 Great! It works perfectly and the {debug} tag is just what I was looking for! Many thanks! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.