Membership pro Signup page design

  • Leon Jackson
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 6 months ago - 7 years 5 months ago #87768 by Leon Jackson
Membership pro Signup page design was created by Leon Jackson
Hi,
I have set up a membership sign-up page, and at moment I have 5 plans. I need the plans to appear in 5 columns but it only shows in 4 and last plan moves down. The number of columns are set as 5 in the configuration. How can I get the plans into one row. (Please see the screen shot attached)

Thanks.
Attachments:
Last edit: 7 years 5 months ago by Leon Jackson.

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #87769 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership pro Signup page design
Hi Leon

Actually, it is my intention to limit to maximum 4 plans per row. I am worry that the page is not wide enough if we try to display too many plans

In this case, please customize the code abit to get it works:

1. Open the file components/com_osmembership/view/common/tmpl/pricingtable_plans.php

2. Find this line of code

$numberColumns = min($numberColumns, 4);

3. Change it to:

$numberColumns = min($numberColumns, 5);

After that, it should work as expected

Regards,

Tuan
The following user(s) said Thank You: Leon Jackson

Please Log in or Create an account to join the conversation.

  • Leon Jackson
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 6 months ago #87773 by Leon Jackson
Replied by Leon Jackson on topic Membership pro Signup page design
Thanks, it works :)

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #87799 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership pro Signup page design
I know I know :D
The following user(s) said Thank You: Leon Jackson

Please Log in or Create an account to join the conversation.

  • Leon Jackson
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 5 months ago - 7 years 5 months ago #87871 by Leon Jackson
Replied by Leon Jackson on topic Membership pro Signup page design
Hello Tuan,

I'm in the process of the designing the the sign up page, and I want to display "P/a"(per annualy) text on near price on each sign up plan. How can I add this? (Please refer to the screen shot)

2. How can I display the recommended text above the plan area?

Thanks for your help , really appreciated.
Attachments:
Last edit: 7 years 5 months ago by Leon Jackson.

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #87913 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership pro Signup page design
The page you show me looks quite strange. It is plans pricing layout in Membership Pro? Could you send me the link to the page so that I can look at it?

Tuan
The following user(s) said Thank You: Leon Jackson

Please Log in or Create an account to join the conversation.

  • Leon Jackson
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 5 months ago - 7 years 5 months ago #87916 by Leon Jackson
Replied by Leon Jackson on topic Membership pro Signup page design
Hi,

That's the design I need, You can check my register page here => coaching.touchtight.com/register

I want it to display "annually" for plan 2,3 and 4 but "1 payment" for the last plan. And I would like the recomended text above the plan header. Can I achieve this?

I already manged to get the annually text by using
Code:
echo JText::_('OSM_PER_ANUALLY');
, but this shows text in the last plan too, which is not what I want.

Update: I manged to get the annual and 1 payment text, I slightly changed the pricingtable_plan.php code to this:
Code:
if (($item->price < 294) && ($item->price > 0))
Code:
elseif ($item->price >= 295)
But I really need the help on getting the 'Recommended' text above plan header.

Update 2: Changed some coding in pricingtable_plan.php file and managed to get this done. I will mark this as solved.
Last edit: 7 years 5 months ago by Leon Jackson.

Please Log in or Create an account to join the conversation.