News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Set Shopper Group based on selected language

Started by Freddo, July 26, 2013, 13:58:48 PM

Previous topic - Next topic

Freddo

I'm trying to make a plugin to set the default shopper group based on the language selection. Please if someone can help me.

Maxim Pishnyak

#1
Did you try to check custom VM extensions in 3rd party VM forum section? Those ones that assign groups in VM.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Freddo

yes... i cant find anything thats based on language.

Maxim Pishnyak

what did you found which were based on group management?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Freddo

Two plugins in the virtuemart 3d party are doing change to the shopper group. the one is in the checkout (the vat for european) and the other is based on previous orders.

Maxim Pishnyak

Interesting, could you post here links to both of them.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart


Maxim Pishnyak

I saw also BIT Change Shopper Group for Virtuemart and VirtueMart Language-Currency Switcher.
Having both it's possible to make what you want. It's the most fast way I think.

But it's still possible to dig commands in VM backend that could change shopper group and to research behavior of Language Switcher Joomla module and maybe VM Currency Switcher module.

What do you want? Shopper changes language and ... ?

Maybe it's possible to create just one custom user field in customer registration form.
Ofc this field will show only one language dependent value in the user profile.

What's next?
What do you want to do with the customer marked as Englishman (for example)?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Freddo

I dig the most files in administrator even in frontend. The thing I'm trying to do is:
1) I have set for the product 2 prices in admin (product->product pricing) the first has for ex. Shopper Group: "Inside Country" and is 20 Euro and the second "Outside Country" with 40 Euro.
2) In frontend I want to show prices for "Inside Country" shopper group if language is for ex. Greek or prices for "Outside Country" if language is for ex. English.
all those without making the customer to register or login. The purpose to do this is because our products have different prices over different countries because they have different expenses.

thank you for your help.

Maxim Pishnyak

What would happened if Englishman knows Greek language and vice verse?

It's not possible to use different shipment fees for Inside-Outside?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Freddo

I dont want different shipment fees. I calculate them inside the price... and i will have a selection in front page that will say for greece click here and for outside click here...

Maxim Pishnyak

You could contact authors of mentioned by me custom extensions or you could post your ad on Virtuemart Jobs. I'm not sure what offer could be cheaper for you.
Quote from: Maxim Pishnyak on July 26, 2013, 18:14:17 PM
I saw also BIT Change Shopper Group for Virtuemart and VirtueMart Language-Currency Switcher.
Having both it's possible to make what you want. It's the most fast way I think.

But it's still possible to dig commands in VM backend that could change shopper group and to research behavior of Language Switcher Joomla module and maybe VM Currency Switcher module.
There are plenty threads about developing custom plugins for VM. So it's still doable for experienced programmer to make extension with such functionality.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart