VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: panprast on July 07, 2013, 20:16:05 PM

Title: currency display
Post by: panprast on July 07, 2013, 20:16:05 PM
im newbie please help on this and the solution

CurrencyDisplay::$_numeric_code in C:\xampp\htdocs\offside\administrator\components\com_virtuemart\helpers\currencydisplay.php on line 309

on script
if($this->_numeric_code===756 and VmConfig::get('rappenrundung',FALSE)=="1"){
         $price = round((float)$price * 2,1) * 0.5;
      }
Title: Re: currency display
Post by: jenkinhill on July 07, 2013, 20:42:54 PM
What is your Joomla/VM version. And what is your actual question?
Title: Re: currency display
Post by: panprast on July 08, 2013, 19:21:23 PM
my question is how to solve my problem I mentioned above already. My joomla version 2.5 and my new vm updated and the problem remains the same. I ask what I should do or what script I should change.
Title: Re: currency display
Post by: panprast on July 08, 2013, 19:32:15 PM
sorry my joomla version 2.5.11, my vm version 2.0.20b and my php version 5.4.7. please help me
Title: Re: currency display
Post by: Milbo on July 10, 2013, 12:48:23 PM
You do not describe your problem: What you wrote is

"Help me, here code. now do"

yeha, but what do you want? Why do you care about the swizz currency stuff?
Title: Re: currency display
Post by: panprast on July 11, 2013, 07:51:35 AM
Thank you for your attention

Here the problem is when I install virtuemart in the template is always out of words
"CurrencyDisplay :: $ _numeric_code in C: \ xampp \ htdocs \ offside \ administrator \ components \ com_virtuemart \ helpers \ currencydisplay.php on line 309"

I was confused because I was just learning. please help to eliminate the words above in my template. what code I need to input or change so that I could be missing?
Title: Re: currency display
Post by: Milbo on July 11, 2013, 11:24:58 AM
erhm, this is a php error message

Notice: Use of undefined constant muh - assumed 'muh' in C:\Users\.....\VM2\components\com_virtuemart\views\virtuemart\tmpl\default.php on line 4


The first what you see is the type of the message,... it is in this example a "notice". Then you see the error description and THEN you see where the error happened. What you sent us is just where it happened, but there is not written what happened.