Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: link Currency Symbol to User Group  (Read 1370 times)
benburch
Newbie
*
Posts: 2


« on: February 27, 2008, 12:14:00 PM »

Hi,

I am trying to do something that would appear quite simple.... but I can't seem to achieve it.

I linked each user to a user group, and each group has its own price list. All of the prices work correctly. The area that I am struggling with is getting the corresponding currency symbol to show. I know that the default symbol for the site is the vendor currency, is there any hack to make the symbol come from the user group??

If I could find where the global variable for the currency symbol is maybe i could hack that?

I could get round this by creating a different vendor for each user but this does not seem like a good solution.

I am using J1.5 and vm.1.1

I have tried to update the class_currency_display.php to get the symbol i want rather than use $this->symbol - if i change this is messes up other area of the site. What does $this->symbol mean compared to $symbol??

Any help appreciated,

Thanks,

Ben

(apart from this i think VM is brilliant!!)

Logged
benburch
Newbie
*
Posts: 2


« Reply #1 on: February 29, 2008, 07:05:00 AM »

anyone there?
Logged
Pages: [1]   Go Up
Print
Jump to: