stripe
stripe copied to clipboard
Display Order Line Items in template
Description
Hello, I need to display the order line items in my template but I cannot see a variable to do this in the docs.
other than that its working perfectly - but this is an urgent request, thanks so much!
For example, something like this, is it possible?
{% set orders = craft.enupalStripe.orders({email: currentUser.email}).orderBy('dateOrdered desc').all() %}
{% for order in orders %}
Line Item: {{ order.lineItem.name}}
{% endfor %}