Prices for different countries

Prices for different countries

Hi!
I have some problems to understand how to work with metamod with small number of movements)
I have site with 2 languages - Ru and En
I allso should have near 2-3 price modes for different countruies.
Allso some of prices are avaliable only after registration.
So I have near 6 modules/artcles with prices published in different module positions, different access levels per 1 language.

Site works now, but I need to set up low prices for some countries
So - the best practise for me would be to dubble all this modules/articles (with their access levels and module positions) for needed country with right prices and make them to be published with help of meta mod for right country.

Re: Prices for different countries

As I understand, I need to create 6*4=24 metamod modules for this situation:
6 for Ru language from Ru-speaking countries
6 for En language from Ru-speaking countries
6 for Ru language from En-speaking countries
and
6 for En language from En-speaking countries
And to connect my each module with appropriate metamod module using CSS suffixes from my modules. That's to long and hard.

So, can I create just 2 metamod modules that will be as filters that will allow content to show in En speaking and in Ru?
I mean that all settings will be from current modules (positions, access levels and css suffixes), and publish/unpublish (or show or not) - from metamod?

Re: Prices for different countries

Hi Igor,

The answer to this depends a bit on how many different module positions you are using. You should only need - at most - one MetaMod per module position. And if you use MetaMod Pro, a MetaMod in one position can control modules in *other* positions, so then you might be able to do it all with 1 MetaMod overall.

So let's look at the "Pro" solution using 1 MetaMod module. This uses MetaMod Pro's ability to switch modules OFF in any module position. This should then work as you stated:

"all settings will be from current modules (positions, access levels and css suffixes), and publish/unpublish (or show or not) - from metamod"

As I said, with MetaMod Pro you can switch modules OFF. i.e. you start with all the modules published and set to the respective access levels etc.

Let's say that you have a series of modules with ids 101-120. For each combination of country (I assume GeoIP?) and language you need to turn most of these off, leaving the "correct" ones turned on.

For ease of use I'll structure it so that in each case you specify the modules you want to leave ON, and the system will calculate which ones need to be turned off.

Re: Prices for different countries

Thanks a lot! But if I will use a free version?
I thought a little for time I had before your reply. So I have 2 variants of prices - 1 -for the World, 2 - for the former CIS (Ukraine, Belarussia, Russia and others).

Am I right? And all this I should replay on all 6 modules? (they have different positions)
Allso can you advice how to make code simpler? May be this way?
if ( $fromCountryId == " UA, RU, KZ, BY, TM, UZ, KG, TJ") return 985; ? (I try - it does not work)