All things Shopify and commerce
Im trying to get the the selling plan of the each product in my checkout with below code. I'm getting empty. it works with orders.line_items ( available only in status page)
{% for line_item in checkout.line_items %}
console.log("v",JSON.stringify("{{ line_item.variant.selected_selling_plan_allocation.selling_plan.name }}"))
console.log(JSON.stringify("{{ line_item.selling_plan_allocation.selling_plan.name }}"))
console.log(JSON.stringify("{{ line_item.selling_plan_allocation }}"))
{% endfor %}
I also have the same issue. Cannot access selling plans via Liquid on checkout.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024