Reputation: 3165
Within Virtuemart, i'm referencing such things like
$this->product->images[0]->file_url;
and
$category->category_name;
With little documentation, is there some technique that I can find what variable references are available to me? How do I know if I can access, say $this->product->product_title
. How do I get these out of VM, with no documentation?
Short of best guessing what do developers do..
Upvotes: 2
Views: 2257
Reputation: 571
The documentation is limited, here it is:
http://virtuemart.net/documentation/Developer_Manual/func.html
Upvotes: 1
Reputation: 303
Try this
print_r($this->product);exit();
Then check the source code of the page
Upvotes: 1