Hi Guys
Is it possible to remove or hide the prices on a product gridview listing?
See attached image
Basically my client only wants the price when viewing the Full description product.
Yes
Just remove the code that displays the price in the category override.
Look in templates/your-template/html/com_virtuemart/category/
or
templates/your-template/html/com_virtuemart/sublayouts/categories.php
regards
Jörgen @ Kreativ Fotografi
Template dependent but on an up to date template remove from
templates\xxxxxxx\html\com_virtuemart\sublayouts\products.php
echo shopFunctionsF::renderVmSubLayout('prices',array('product'=>$product,'currency'=>$currency));
Hi Jörgen
I'm not good with coding at all...
This is the PHP file I found.
Editing file "/html/com_virtuemart/sublayouts/categories.php" in template "vp_merchant".
<?php
/**
* ---------------------------------------------------------------------------------------
* @package VirtuePlanet Framework for Joomla
* ---------------------------------------------------------------------------------------
* @subpackage VP Merchant Template
* @author Abhishek Das <info@virtueplanet.com>
* @copyright Copyright (C) 2012-2016. VirtuePlanet Services LLP. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @link https://www.virtueplanet.com
* ---------------------------------------------------------------------------------------
* HTML : templates/vp_merchant/html/com_virtuemart/sublayouts/categories.php
* TEMPLATE HTML: templates/vp_merchant/layouts/default/html/com_virtuemart/sublayouts/categories.php
* ---------------------------------------------------------------------------------------
*/
defined ('_JEXEC') or die('Restricted access');
// Find and load selected template layout
require plgSystemVPFrameworkHelper::getTemplate()->getHTMLLayout(__FILE__);
Am I at the right place?
not even slightly -- see my post
Editing file "/html/com_virtuemart/sublayouts/products.php" in template "vp_merchant".
<?php
/**
* ---------------------------------------------------------------------------------------
* @package VirtuePlanet Framework for Joomla
* ---------------------------------------------------------------------------------------
* @subpackage VP Merchant Template
* @author Abhishek Das <info@virtueplanet.com>
* @copyright Copyright (C) 2012-2016. VirtuePlanet Services LLP. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @link https://www.virtueplanet.com
* ---------------------------------------------------------------------------------------
* HTML : templates/vp_merchant/html/com_virtuemart/sublayouts/products.php
* TEMPLATE HTML: templates/vp_merchant/layouts/default/html/com_virtuemart/sublayouts/products.php
* ---------------------------------------------------------------------------------------
*/
defined ('_JEXEC') or die('Restricted access');
// Find and load selected template layout
require plgSystemVPFrameworkHelper::getTemplate()->getHTMLLayout(__FILE__);
-----------------------------------------------------------------------------------------------------
Not sure what area or text to delete and where to ADD:
echo shopFunctionsF::renderVmSubLayout('prices',array('product'=>$product,'currency'=>$currency));
VirtuePlanet is using a totally different over ride system to the standard method -- ask them
I assume the templates are in their plugin somewhere
I see you had a reply last week from the template developer to your question on https://www.virtueplanet.com/forum
Yes, indeed they did.
They said to use my own css.
"You need to use your own custom css to make the other customisation. If you have some css experience then you can easily make those changes yourself."
I do not know coding that well. and I am so close to the final draft.
If anyone can help me. I would really appreciate it.
Man... have u tried?
.browse-view .product-sales-price {
display: none;
}