- Posts: 14
- Thank you received: 0
Plan specific cancellation pages
- Alex P
- Topic Author
- Offline
- New Member
Less
More
3 years 3 months ago #146185
by Alex P
Plan specific cancellation pages was created by Alex P
Hi Tuan,
We showing questionnaire cancellation form thru added module position to the subscriptioncancel override. But we need to show different questionnaire forms regarding to which plan has been cancelled. So we need plan specific cancellation menu items.
Something like:
/membership/dfs-monthly/cancellation
/membership/dfs-annual/cancellation
Thanks!
We showing questionnaire cancellation form thru added module position to the subscriptioncancel override. But we need to show different questionnaire forms regarding to which plan has been cancelled. So we need plan specific cancellation menu items.
Something like:
/membership/dfs-monthly/cancellation
/membership/dfs-annual/cancellation
Thanks!
Please Log in or Create an account to join the conversation.
- Alex P
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
3 years 4 weeks ago - 3 years 4 weeks ago #147877
by Alex P
Replied by Alex P on topic Plan specific cancellation pages
Here is solution. To get plan ID on subscriptioncancel override page:
Then render appropriate module position inside "if" statement, e.g.,
Code:
<?php echo $this->rowSubscriber->plan_id; ?>
Code:
<?php echo JHtml::_('content.prepare', '{loadposition cancel-subscription_1}'); ?>
Last edit: 3 years 4 weeks ago by Alex P.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 years 4 weeks ago #147878
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Plan specific cancellation pages
Hi Alex
Yes. Your code looks good. Thanks for sharing the solution back to us
Regards,
Tuan
Yes. Your code looks good. Thanks for sharing the solution back to us
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.