I do not understand why the prices without VAT and other published when I have just set up the final sales price displayed
It's the same...in Beez template
http://gancisplay.cl/v2/el-nuevo-conductor
(http://gancisplay.cl/price.png)
(http://gancisplay.cl/price2.png)
Does look like a template issue, so edit the productdetails/default_showprices.php override file you are using and remove or comment out the display of PricediscountedPriceWithoutTax and PricepriceWithoutTax
Hi,
delete them and still appears
(http://gancisplay.cl/v2/price-03.png)
<?php
/**
*
* Show the product details page
*
* @package VirtueMart
* @subpackage
* @author Max Milbers, Valerie Isaksen
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default_showprices.php 6556 2012-10-17 18:15:30Z kkmediaproduction $
*/
// Check to ensure this file is included in Joomla!
defined ('_JEXEC') or die('Restricted access');
?>
<div class="product-price" id="productPrice<?php echo $this->product->virtuemart_product_id ?>">
<?php
if (!empty($this->product->prices['salesPrice'])) {
echo "<strong>" . JText::_ ('COM_VIRTUEMART_CART_PRICE') . "</strong>";
}
//vmdebug('view productdetails layout default show prices, prices',$this->product);
if ($this->product->prices['salesPrice']<=0 and VmConfig::get ('askprice', 1) and isset($this->product->images[0]) and !$this->product->images[0]->file_is_downloadable) {
?>
<a class="ask-a-question bold" href="<?php echo $this->askquestion_url ?>" rel="nofollow" ><?php echo JText::_ ('COM_VIRTUEMART_PRODUCT_ASKPRICE') ?></a>
<?php
} else {
if ($this->showBasePrice) {
echo $this->currency->createPriceDiv ('basePrice', 'COM_VIRTUEMART_PRODUCT_BASEPRICE', $this->product->prices);
if (round($this->product->prices['basePrice'],$this->currency->_priceConfig['basePriceVariant'][1]) != $this->product->prices['basePriceVariant']) {
echo $this->currency->createPriceDiv ('basePriceVariant', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT', $this->product->prices);
}
"</span>";
?>
</div>
Did you edit the correct file? It will be the one in your commercial Joomla template html directory.
Hi,
The template shows me only this route
html/com_virtuemart/productdetails/default.php
not :default_showprices.php
should modify default.php????
http://gancisplay.cl/codigo-deafult-gancis.txt
the code did not fall in the forum so I put it in a txt and got on the web, please see
not sure what you posted as the txt file but the price display IS in that txt file - it isn't calling default_showprices.php
That's what I just said, there is no such file in the template
there is no file called default_showprices.php
only deafult
(http://gancisplay.cl/show-price.jpg)
and as I said it isn't using the default_showprices.php - so just edit the default.php
not really that I have to edit there, I do not understand