VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: daviator on March 27, 2012, 18:27:15 PM

Title: No way to display actual price and price alone in detail view.
Post by: daviator on March 27, 2012, 18:27:15 PM
price shows as:

Price:
Sales price: $29.95

Should show as:

Price: $29.95
Title: Re: No way to display actual price and price alone in detail view.
Post by: Milbo on March 30, 2012, 17:12:57 PM
you can set this in the vmconfig pricing tab, or per shoppergroup.
Title: Re: No way to display actual price and price alone in detail view.
Post by: daviator on March 30, 2012, 18:43:09 PM
No, you can't. I checked every box but still no price shows up next to the word "Price:"

(http://daviator.com/images/price_3.jpg)
Title: Re: No way to display actual price and price alone in detail view.
Post by: PRO on March 30, 2012, 19:31:15 PM
views/productdetails/tmpl/default_showprices.php


remove

else {
   echo "<strong>" . JText::_('COM_VIRTUEMART_CART_PRICE') . "</strong>";
    }


THEN::

You can order these however you likr

<?php
    }
    if ($this->showBasePrice) {
   echo $this->currency->createPriceDiv('basePrice', 'COM_VIRTUEMART_PRODUCT_BASEPRICE', $this->product->prices);
   echo $this->currency->createPriceDiv('basePriceVariant', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT', $this->product->prices);
    }

    echo $this->currency->createPriceDiv('variantModification', 'COM_VIRTUEMART_PRODUCT_VARIANT_MOD', $this->product->prices);
    echo $this->currency->createPriceDiv('basePriceWithTax', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX', $this->product->prices);
    echo $this->currency->createPriceDiv('discountedPriceWithoutTax', 'COM_VIRTUEMART_PRODUCT_DISCOUNTED_PRICE', $this->product->prices);
    echo $this->currency->createPriceDiv('salesPrice', 'COM_VIRTUEMART_PRODUCT_SALESPRICE', $this->product->prices);
    echo $this->currency->createPriceDiv('priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->product->prices);
    echo $this->currency->createPriceDiv('discountAmount', 'COM_VIRTUEMART_PRODUCT_DISCOUNT_AMOUNT', $this->product->prices);
    echo $this->currency->createPriceDiv('taxAmount', 'COM_VIRTUEMART_PRODUCT_TAX_AMOUNT', $this->product->prices);
    ?>
Title: Re: No way to display actual price and price alone in detail view.
Post by: miata on April 16, 2012, 16:55:44 PM
No, this doesn't solve the issue.
Title: Re: No way to display actual price and price alone in detail view.
Post by: PRO on April 16, 2012, 18:18:22 PM
Quote from: miata on April 16, 2012, 16:55:44 PM
No, this doesn't solve the issue.


what problem are you having?