I have the credits plugin installed and need to modify it. I need to be able to find the amount entered in additional->Number of credits on the edit products page after the purchase so I can update a custom field.
Here is how you can get it: PHP: // PRODUCTID is ID of product for which you want to get number if credits specified in setup. $credits = Am_Di::getInstance()->productTable->load(PRODUCTID)->data()->get('credits');