- Posts: 188
- Thank you received: 28
PHP Scripting Plugin on Plans
- Alan Bennett
- Topic Author
- Offline
- Elite Member
-
Less
More
9 years 3 months ago #74227
by Alan Bennett
PHP Scripting Plugin on Plans was created by Alan Bennett
How do I reference custom fields on the plan (those not part of the subscriber table) in the PHP script as $row->first_name, etc are the only examples and $row->osm_xxx doesnt work?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 3 months ago #74246
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic PHP Scripting Plugin on Plans
Unfortunately, the value of the extra custom fields which you created is not accessible via $row object. You can only get id of the subscription record via $row->id
Then read data from #__osmembership_field_value to get the data of the fields you want
Tuan
Then read data from #__osmembership_field_value to get the data of the fields you want
Tuan
The following user(s) said Thank You: Alan Bennett
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.