- Posts: 1
- Thank you received: 0
SCRIPT
- jam jam
- Topic Author
- Offline
- New Member
-
Less
More
8 years 4 months ago - 8 years 4 months ago #101047
by jam jam
SCRIPT was created by jam jam
Hello
i have 2 component (my custom component+membership pro) , and in my custum component i can create plan (name+description) .
What i would like to do :
when i create plan (name+description) in my custum component It creates automatically plan in membership pro .
If i edit plan description in my costum component they automatically update description plan of membership pro.
If someone could help me
thanks
i have 2 component (my custom component+membership pro) , and in my custum component i can create plan (name+description) .
What i would like to do :
when i create plan (name+description) in my custum component It creates automatically plan in membership pro .
If i edit plan description in my costum component they automatically update description plan of membership pro.
If someone could help me
thanks
Last edit: 8 years 4 months ago by jam jam.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 4 months ago #101056
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic SCRIPT
Hi
Unfortunately, there is no way to do that at the moment. I think in you component, you will need to edit code so that when your plan is created, you can insert data into #__osmembership_plans table of Membership Pro
That's the table store subscription plan data. In your plans table, I guess you need to create a new field like membership_pro_plan_id to store the mapping between your plan and Membership Pro plan to handle the update
Regards,
Tuan
Unfortunately, there is no way to do that at the moment. I think in you component, you will need to edit code so that when your plan is created, you can insert data into #__osmembership_plans table of Membership Pro
That's the table store subscription plan data. In your plans table, I guess you need to create a new field like membership_pro_plan_id to store the mapping between your plan and Membership Pro plan to handle the update
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 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.