VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: citrullin on September 16, 2012, 10:47:10 AM

Title: How i can publish image, price etc. via PHP
Post by: citrullin on September 16, 2012, 10:47:10 AM
Hello,

i dont know how i can publish the price and the images via PHP. I know for the title i can use <?php echo $this->product->product_name ?> and for the describtion i can use <?php echo $this->product->product_s_desc ?> But i need the codes for the image, the price, the voting and availability. Can everybody help me?

best regards

Philipp
Title: Re: How i can publish image, price etc. via PHP
Post by: jenkinhill on September 16, 2012, 11:57:16 AM
All these are already published by the view templates - so just look at the code there.