DimaK Posted July 12, 2017 Share Posted July 12, 2017 (edited) Please help! How to get value of my product Customfield in Action Hooks ? For the product I have created Custom Field "sitetemplate". In the hook "function actionhook_AfterModuleCreate($vars) {" I am trying to access this field, but can't understand how. I tried $vars['customfields-sitetemplate'] $customfields-sitetemplate $sitetemplate It works with some other variables, like $vars['packageid']; $orderid = $vars["OrderID"]; but how to get "$customfields-sitetemplate" ? Thanks! Edited July 12, 2017 by DimaK 0 Quote Link to comment Share on other sites More sharing options...
DimaK Posted July 12, 2017 Author Share Posted July 12, 2017 Oh, looks like its: $vars['customfields']['sitetemplate'] 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.