0

I've added the following field to Views

Commerce Order: Billing cycle (Billing cycle)

and unfortunately it always returns empty whereas other fields as Created, Updated, Status return their values normally.

In fact it is not Views field issue, because if I click on any order item and go to its page the Billing cycle is empty there too. I applied the patch on Disclose billing cycle information on order page to customers and I hope it didn't cause this issue.

4
  • According to patch, it applies access callback on it. Have you checked what commerce_license_billing_cycle_type_access this function does?
    – Shubham
    Jul 16, 2016 at 5:39
  • But I am checking as user #1, so should override any access permissions.
    – Nick
    Jul 16, 2016 at 11:41
  • But sometimes in the function we forgot to give permissions to user #1. So, just check whether that function is allowing us the permission or not.
    – Shubham
    Jul 17, 2016 at 12:52
  • Well, I just did and user #1 has all the permissions, because with I have drupal.org/project/adminrole
    – Nick
    Jul 17, 2016 at 19:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.