Jump to content

access smarty


Recommended Posts

5 hours ago, JesusSuarz said:

how could you access $customfields that is printed inside a product

well assuming the array exists on the page in question (and you say it does - productdetails?), and the hook point can access $vars directly, then $vars['customfields'] should give you access to the product customfields array.

3 hours ago, JesusSuarz said:

in other words, I am trying to get the custom values of a product from a customer....

the other way would be a quick db query - especially if you were only looking for one specific pcf value.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated