Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am the administrator of an ubercart site. I have set it up so that people can proceed to checkout without registering.
I noticed that in some orders, under the Customer info area of the order (admin/store/orders/21), it says Customer number: 0. When I try to click "0" to see more details about this customer, I get an access denied page. I'm concerned because how can I be denied access when I am the root user of the site?
Thanks!
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedBecause there isn't really a user there. I'd say we just remove the link from orders assigned to user 0.
Comment #2
rszrama CreditAttribution: rszrama commentedI fixed this, though I realized that the only way this can happen on an unmodified order is for administrator created orders. Still worth fixing, but be careful that your checkout customizations don't have any other adverse affects. : )
Comment #3
kyutums CreditAttribution: kyutums commentedGot it. Thanks! :)