In order to hide the products' price open the components/com_virtuemart/themes/YOUR_THEME/templates/browse/browse_1.php file.
Replace the YOUR_THEME string with your VirtueMart default theme name.
Change the following lines:
<div class="browsePriceContainer">
<?php echo $product_price ?>
</div>
with:
<div class="browsePriceContainer">
<?php /*echo $product_price*/ ?>
</div>
Alternatively, open the theme CSS file components/com_virtuemart/themes/YOUR_THEME/theme.css and change the color of the price item to white. The code will be as follows:
.productPrice {
color: white;
font-weight:bold;
white-space: nowrap;
}
This way the price will have the same color as the background and it will not be visible for the web site users.
Replace the YOUR_THEME string with your VirtueMart default theme name.
Change the following lines:
<div class="browsePriceContainer">
<?php echo $product_price ?>
</div>
with:
<div class="browsePriceContainer">
<?php /*echo $product_price*/ ?>
</div>
Alternatively, open the theme CSS file components/com_virtuemart/themes/YOUR_THEME/theme.css and change the color of the price item to white. The code will be as follows:
.productPrice {
color: white;
font-weight:bold;
white-space: nowrap;
}
This way the price will have the same color as the background and it will not be visible for the web site users.
Collected from internet ::::Siteground Site
No comments:
Post a Comment