VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: AbsoluteVM on April 26, 2012, 09:37:48 AM

Title: How to know what variables are useable?
Post by: AbsoluteVM on April 26, 2012, 09:37:48 AM
I'm trying to find out an answer to what might seem trivial, but need some help.

How do you know what is referable by, for example $this->product->this_reference_here

Is there a list of variables that are made available, or a way of printing the contents and knowing what I can use.

Title: Re: How to know what variables are useable?
Post by: Milbo on April 26, 2012, 12:01:23 PM
use in your layout vmdebug('my vars',$this); and enable debug in the config
Title: Re: How to know what variables are useable?
Post by: PRO on April 26, 2012, 22:04:13 PM
There are category and product variables listed in the stickies here
http://forum.virtuemart.net/index.php?board=130.0