Affiliate System Debug Info

Current Session
Customer Affiliates
Recent Orders
Affiliate Stats

Session Data

No affiliate code in session

Current User

You are browsing as a public/guest user.

Current Cart

No active cart

URL Information

Full URL: http://herbio.org/shop/debug_affiliate

Query Parameters:

Customer-Affiliate Associations

No customers with affiliate associations found.

Test Association

Manually associate a customer with an affiliate (for testing):

Recent Orders with Affiliate Information

No orders with affiliate information found.

Affiliate Performance Statistics

No active affiliates found.

Testing Instructions

  1. Use an affiliate link (add ?ref=AFFILIATE_CODE to any URL)
  2. Add products to cart
  3. Complete checkout as guest or registered user
  4. Check this debug page to see the association flow

For registered users: After first purchase with affiliate link, all future purchases should use the same affiliate.

For guest users: After creating an account, they should maintain the same affiliate association.