adapt Levels.php
-
I’m not doing the recurring payment option with PMP and was wondering about adapting the levels.php file to discard the Subscription Pricing column and replace it with the Membership Description. I’ve looked at the db layout and the levels php code. It looks like I need to adapt this section:
<?php } elseif(pmpro_isLevelRecurring($level)) { ?>
<?php echo $pmpro_currency_symbol?><?php echo $level->billing_amount?>
<?php if($level->cycle_number == ‘1’) { ?>
per <?php echo sornot($level->cycle_period,$level->cycle_number)?>
<?php } else { ?>
every <?php echo $level->cycle_number.’ ‘.sornot($level->cycle_period,$level->cycle_number)?>
<?php } ?>
<?php } else { ?>
N/A
<?php } ?>
</td>
but since it’s not dealing with payments, but rather a text description for each level I’m at a loss as how to echo ‘description’.Also, where does the pmpro_membership_orders db come into play? Just for PayPal CC purchases? Can I get that some of that info (address, city, state, sip) to show up in the Members List area??
Awesome program!
- The topic ‘adapt Levels.php’ is closed to new replies.