PricebasePriceWithTax displayed only if there is a

  • MaxMi
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 3 months ago #31904 by MaxMi
Hello,
if I'm not mistaken, virtuemart displays the "price including all taxes without discounts" (PricebasePriceWithTax) only if there is an active rule with the discounts (PricediscountAmount). In this way, products that do not have discounts only display the sale price (PricesalesPrice) while those of discounts display them both (when activated even with the discount)

The template displays both also for products that do not have an active discount rule.

I can change it in any way?

Thanks,
Max

Please Log in to join the conversation.

More
11 years 3 months ago #31910 by ivan.milic
In vm config you have page where you can set particular prices to be shown or not so basically you should be able to do all you need from there.

Please Log in to join the conversation.

  • MaxMi
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 3 months ago #31928 by MaxMi
I know, is what I was talking about.

When in VM config, tab "price", put the flag to "price including all taxes without discounts" Virtuemart displays it only for products that have a discount rule active. For product that does not have it does not show it (because it is equal to the selling price).

If you try with template Beez2 or Beez5 they work that way. Template eCommerce displays it always and creates same problems to customers because they see two equal prices.

You can see examples of this test link www.vapori.rcaweb.it/index.php/liquidi

Please Log in to join the conversation.

More
11 years 3 months ago #31937 by ivan.milic
Try this, open:

templates\hot_ecommerce\html\com_virtuemart\productdetails\default.php

replace from line 136:

<?php
// Product Price
if ($this->show_prices) { ?>

to line 161:

<?php } ?>

including those lines with

<?php echo echo $this->loadTemplate('showprices');?>

Please Log in to join the conversation.

  • MaxMi
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 3 months ago #31943 by MaxMi
sorry, I'm not very practical php ..
Where do I enter? In the end, after line 161?

Please Log in to join the conversation.

More
11 years 3 months ago #31946 by ivan.milic
You replace code , but make backup of file first

Please Log in to join the conversation.

Time to create page: 0.253 seconds
Powered by Kunena Forum