Author Topic: "add to cart" option not shown  (Read 1747 times)


  • Beginner
  • *
  • Posts: 11
"add to cart" option not shown
« on: December 31, 2012, 12:34:29 PM »
I' m new to virtuemart and to the forum, so firstly "Hi!"
We have installed Joomla! 2.5.8 and Virtuemart 2.0.14. Option "add to cart" is not shown in the product details page...
In default.php (joomla/components/com_virtuemart/views/productdetails/tmpl), there is the following code:

// Add To Cart Button
// if (!empty($this->product->prices) and !empty($this->product->images[0]) and $this->product->images[0]->file_is_downloadable==0 ) {
if (!VmConfig::get('use_as_catalog', 0) and !empty($this->product->prices['salesPrice'])) {
echo $this->loadTemplate('addtocart');
} // Add To Cart Button END

If I uncomment the if-clause, nothing is shown at all......

Τί μπορεί να συμβαίνει? Φταίει κάτι στο virtuemart ή στο template του joomla?

Thanks in advance and Happy New Year!