We just integrated with recharge and according to design we need to display recharge subscriptions on account page for a particular customer. Do you think there is a way to access customer recharge subscriptions via shopify AJAX api or account page liquid template. Any suggestions or workarounds ? Has anyone done something similar ?
Hi @devvvv , of course it’s possible. Try something like:
{% for line_item in order.line_items %}
{% if line_item.selling_plan_allocation.selling_plan.recurring_deliveries %}
{{ line_item.product.title | replace: ' -', ''}}
{{ line_item.price | money | replace: '.00', '' }}
{% endif %}
{% endfor %}
With this code you’ll get image, price and title. ![]()
Thanks @MarinaPetrovic , that really helped