Php 只是从这个标签回显价格
如何在不创建pricediv的情况下仅响应salesPrice?我试过echo salesPrice,但似乎不起作用Php 只是从这个标签回显价格,php,joomla,virtuemart,Php,Joomla,Virtuemart,如何在不创建pricediv的情况下仅响应salesPrice?我试过echo salesPrice,但似乎不起作用 <?php echo "<span class='priceColor2'>" . $this->currencyDisplay->createPriceDiv ('salesPrice', '', $this->cart->pricesUnformatted, FALSE) . "</span>" ?> 试试这个
<?php echo "<span class='priceColor2'>" . $this->currencyDisplay->createPriceDiv ('salesPrice', '', $this->cart->pricesUnformatted, FALSE) . "</span>" ?>
试试这个
<?php echo "<span class='priceColor2'>" . strip_tags($this->currencyDisplay->createPriceDiv ('salesPrice', '', $this->cart->pricesUnformatted, FALSE)) . "</span>" ?>
<?php echo "<span class='priceColor2'>" . strip_tags($this->currencyDisplay->createPriceDiv ('salesPrice', '', $this->cart->pricesUnformatted, FALSE)) . "</span>" ?>