How to remove the pricing settings

A question came up to use the Productbook component as a kind of Portfolio.

There was no use for the left section part on the page with pricing information etc.
The overview page had no use for pricing either.

To realise this you first have to put off rating in the configuration.

Then you have te edit two files:

  • productbook.php
  • productbookdetails.php

Look in productbook.php for the line:

 echo "$PRODUBK->PRODUBK_0010 <strong>$row1->pricing</strong></a></br>";

and change it to

 //echo "$PRODUBK->PRODUBK_0010 <strong>$row1->pricing</strong></a></br>";

This removes the pricing field from the thumbnail overview page.

Next change the following in the productbookdetail.php file

Look first to find

echo("<img src='$mosConfig_live_site/components/com_productbook/images/$ratimg' title='".$PRODUBK->PRODUBK_0008."'>"); 

change this to

// echo("<img src='$mosConfig_live_site/components/com_productbook/images/$ratimg' title='".$PRODUBK->PRODUBK_0008."'>"); 

Now the rating under the picture is gone....

Now to remove the fields from the right of the Features.

Find the line under the specification section starting with

  echo "<td width='45%' valign='top'>"; and put a /* in front, so i would be 
 /*echo "<td width='45%' valign='top'>"; 

Then go down to the line that states:

  echo "</td></tr></table></table>"; and change it to  echo  echo "</td></tr></table></table>";*/ 

This wil mark out the right section.

Now your done....

For an example look at:

http://www.admentor.nl/portfolio