klox7 VIP
Total posts: 914
25 Фев 2014 08:36

If I view index.php?option=com_emerald&view=emlist I have all the subscriptions listed here for clients to buy.

I have subscriptions for single fields and I have one subscription for multiple fields (this includes all single fields).

Is it possible to not display single fields subscription in Emerald list if user buys subscription for multiple fields?

Последние изменения: 06 Авг 2014


Sergey
Total posts: 13,748
25 Фев 2014 08:44

You can add to URL &id=1,2,3 and it will show only those plans.

But how do I know what user buys before I generate URL?

Where is that URL you click on? You just type in manually?


klox7 VIP
Total posts: 914
25 Фев 2014 09:47

But how do I know what user buys before I generate URL?

You can't.:)

But how do I know what user buys before I generate URL?

Where is that URL you click on? You just type in manually?

It's done via menu - Subscription plans.


Sergey
Total posts: 13,748
25 Фев 2014 12:28

so how do I hide plans before he select multifield?

Please explain better. I feel like I do not understand something.


klox7 VIP
Total posts: 914
26 Фев 2014 02:07

so how do I hide plans

Based on user active subscription. You only do this for users logged in.

Hope picture will help.


Sergey
Total posts: 13,748
26 Фев 2014 05:06

But this is list. You did not purchase anything yet and I do not know what plan you are planing to purchase. Or you mean hide other plans after you purchased multifield plan?


klox7 VIP
Total posts: 914
26 Фев 2014 05:36

Or you mean hide other plans after you purchased multifield plan?

Yes!


Sergey
Total posts: 13,748
26 Фев 2014 06:27

But what if user want to extend subscription but only one field. Do not want all fields anymore?


klox7 VIP
Total posts: 914
26 Фев 2014 09:46

Hmm, good point. I asked that in the first place because there is small possibility that clients will buy for ex. full membership and not read what is included and then after that buy also single field subscription.

What if...user buys this full membership for lets say 1 year and then for ex. 10 days (some parameter) before his subscription expires he gets an email to subscribe again. In this 10 days he can also choose another plans?


Sergey
Total posts: 13,748
26 Фев 2014 23:04

Do you mean to start show other plans when there is 10 days left? Or in other words when he updates. Other words we do not show then when user do not look at them and show when he look which makes hide plans senseless.


klox7 VIP
Total posts: 914
27 Фев 2014 01:42

Other words we do not show then when user do not look at them and show when he look which makes hide plans senseless.

During the start of subscription and "10 days" before it ends he can go to subscription plans and see only ones that are not connected with this "full membership" (there may be another plans also). So to not confuse them if they have field which is included in full membership you just don't display them before you say so (or just tag them with something like "this field is already purchased with full membership plan").

Other words we do not show then when user do not look at them and show when he look which makes hide plans senseless.

Do you mean to start show other plans when there is 10 days left?

Yes but forget it. It's geting complicated:)


Sergey
Total posts: 13,748
27 Фев 2014 07:48

Then, may be you simply create custom template where you always show only one plan, and button "Purchase fields separately" which unfolds other plans?


klox7 VIP
Total posts: 914
27 Фев 2014 08:06

Maybe, or is there an API in Emerald that could do:

If user purchased plan with id and this plan has fields that other plans have then echo under separate fields "You already but this field with full plan"?


Sergey
Total posts: 13,748
27 Фев 2014 08:41

What I can do is a "Hide plans" parameters option in Cross plan section. There you will wb able to set what plans to hide if user have this current active plan.

I think this will give you exactly what you need.

In other topic some other user wants something like this. I'll try to add this feature by next update.


klox7 VIP
Total posts: 914
23 Апр 2014 13:02

Sergey What I can do is a "Hide plans" parameters option in Cross plan section. There you will wb able to set what plans to hide if user have this current active plan.

Is this something that was maybe added?


Sergey
Total posts: 13,748
25 Апр 2014 06:44

Somehow it felt out of my head and I did not do that yet.


klox7 VIP
Total posts: 914
06 Авг 2014 10:38

Sergey Somehow it felt out of my head and I did not do that yet.

What about now:)? Any news?


Sergey
Total posts: 13,748
06 Авг 2014 11:43

Will be in next release.

Работает на Cobalt