SourceTOAD Expertise

  • drupal logo

    phpbb

    The popular Web forum package written in the PHP
  • drupal logo

    Drupal

    The Open Source Website Engine for everyone
  • Joomla logo

    Joomla

    The award winning Content Management System and Web Framework
  • Asterisk logo

    Asterisk

    The Open Source PBX & Telephony Platform
  • KnowledgeTree logo

    KnowledgeTree

    The Open Source Document Management Software for Small Business
  • SugarCRM logo

    SugarCRM

    The industry standard Open Source software for Customer Relationship Management
How To Hide 'Product Availablity' in VirtueMart
Written by Casey Kent   
Tuesday, 11 May 2010 16:46

In VirtueMart we were having some trouble removing the product availability for a client who wanted his inventory kept secret. After poking around the code for a little bit, we discovered that the key to its removal lies in the following two files:

public_html/components/com_virtuemart/themes/default/templates/product_details/flypage_images.tpl.php
and
public_html/components/com_virtuemart/themes/default/templates/product_details/flypage.tpl.php

On about line 56 there are the lines:

<?php  
   if( $this->get_cfg( 'showAvailability' ))
   echo $product_availability; }
?>

Delete them, and your problems are solved.

 


Rate this article

(1 vote)

Latest articles from Casey Kent