Jump to content

How to show variable from module in .tpl file?


3cubes

Recommended Posts

Hi everyone,

 

I have created a custom module which saves custom data in a custom table in database upon a product is added to cart. Now I want to show the value of one of the custom variables (called $mycustomtext) in shopping-cart-product-line.tpl. How can I achieve this?

 

I have tried to assign smarty variable within module php file but this doesn't work at all. Am I missing here something basic important?

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...