I am having the worst time when it comes to setting up pricing on my website www.goavast.com. I want the front end of my shop (the actual prodyuct page) to show JUST the base price, nothing else. But when I uncheck the other options on the pricing tab in the Configuration, everything goes away in the cart so I re-enabled Final Salesprice, tax amount, etc. How can I set these two apart? I do not want tax and other fields to show on the product page.
VM version?
Could you post here screen shot of your web shop price setup?
Quote from: Maxim Pishnyak on July 24, 2013, 22:25:40 PM
VM version?
Could you post here screen shot of your web shop price setup?
We are using VM 2.0.22A. The image is attached.
[attachment cleanup by admin]
You cannot show the baseprice as that is the product cost price. From your description the price you want to show is the salesprice without tax. Make sure it is visible in your productdetails / default_showprices.php (it is missing in some commercial template overrides). You can also change the words used to display that price. http://forum.virtuemart.net/index.php?topic=113895.0
In the public_html/components/com_virtuemart/views/productdetails directory, I do not see "default_showprices.php". I see a tmpl directory, and the two files index.html and view.html.php
Found it in the tmpl directory but this file makes no sense...
Anyone have any clue how to do this? I really need this site up and going soon.
Quote from: jenkinhill on July 24, 2013, 23:02:43 PM
From your description the price you want to show is the salesprice without tax.
So did you chang price setup accordingly in VM configuration?
I could check your screen shot for example.
If still not understanding what to change so the configurations have not been changed so the screenshot posted earlier to do. I'm just wondering in Virtuemart if there is a spot to edit pricing display for just the product display page and then one just for the cart page.
Quote from: jenkinhill on July 24, 2013, 23:02:43 PM
From your description the price you want to show is the salesprice without tax.
Quote from: jlong on July 26, 2013, 16:36:07 PM
still not understanding what to change so the configurations have not been changed so the screenshot posted earlier to do.
You need to uncheck all price options in your VM configuration setup except "Salesprice without tax".
Is that clear now?
Quote from: Maxim Pishnyak on July 26, 2013, 18:22:52 PM
Quote from: jenkinhill on July 24, 2013, 23:02:43 PM
From your description the price you want to show is the salesprice without tax.
Quote from: jlong on July 26, 2013, 16:36:07 PM
still not understanding what to change so the configurations have not been changed so the screenshot posted earlier to do.
You need to uncheck all price options in your VM configuration setup except "Salesprice without tax".
Is that clear now?
no this will result in display problems in other areas of the shop
this is my ENTIRE
default_showprices.php
<?php
// 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
echo $this->currency->createPriceDiv('priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->product->prices);
?>
</div>
this code here
echo $this->currency->createPriceDiv('priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->product->prices);
can be changed to whatever you want to display (mine is the final price + any chosen attributes)
http://forum.virtuemart.net/index.php?topic=104194.0