Multiple rows on Pricing Table layout

  • Richard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #54667 by Richard
Multiple rows on Pricing Table layout was created by Richard
Hi,

I would like to offer 9 subscription plans, and want to use the Pricing table layout.
So I would like to know if it's possible to edit the layout to have 3 columns and 3 rows.
So 3 rows of 3 plans each.

Thanks!

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

More
9 years 3 months ago #54683 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Multiple rows on Pricing Table layout
Hi Richard

Unfortunately, the pricing table layout was designed to show plans in one row only and it can show only max 4 plans.

So in this case, maybe you should switch to Columns layout if you have 9 plans.

Regards,

Tuan

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

More
9 years 3 months ago #54685 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Multiple rows on Pricing Table layout
PS : I will try to spend sometime this weekend to see whether I can add the code for you to use that layout with 9 plans as you want. I will come back to you with the result, maybe on Monday morning

Regards,

Tuan

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

  • E-Dimension | Web, Internet & Graphic Solutions
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #58377 by E-Dimension | Web, Internet & Graphic Solutions
Replied by E-Dimension | Web, Internet & Graphic Solutions on topic Multiple rows on Pricing Table layout
Hello,

I would like to offer 5 subscription plans to my customers. Is there any way to show 5 subscription plans with Pricing Table layout?

Thank you in advance,
Kind Regards

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

More
9 years 1 month ago #58397 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Multiple rows on Pricing Table layout
Hi

Yes. You can. Just need to modify the code abit:

1. Open the file components/com_osmembership/views/common/pricingtable_plans.php

2. Find the code $numberColumns = min($numberColumns, 4);

Change it to:

$numberColumns = 5;

After that, it should work as expected

Tuan

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