News:

Looking for documentation? Take a look on our wiki

Main Menu

Price still shown as 0.00 scored out in the checkout

Started by finbarr69, October 26, 2011, 08:51:11 AM

Previous topic - Next topic

finbarr69

Ah!

No.  Just the default beez5 template overrides for com_content and com_contact.

jjk

In my case I see this behavior if I assign a 'Discount Type' rule to a product in the 'Product Information' - 'Pricing rules overrides' section.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

PRO

THE VARIABLE is wrong in the if statement, and it is defaulting to true

default_pricelist

<?php
               if (VmConfig::get('checkout_show_origprice',1) && !empty($this->cart->pricesUnformatted[$pkey]['basePriceWithTax']) && $prow->basePriceWithTax != $prow->salesPrice ) {
                  echo '<span style="text-decoration:line-through">'.$prow->basePriceWithTax .'</span><br />' ;
               }
               echo $prow->salesPrice ;
               ?>


BUT mail_html_pricelist is using this

<?php if ($prow->basePriceWithTax != $prow->salesPrice ) {
                  echo '<span style="text-decoration:line-through">'.$prow->basePriceWithTax .'</span><br />' ;
               }
               echo $prow->salesPrice ;
               ?>