Accessing "Company" from Input.cart.shipping_address

New Member
1 0 0

Is the "company" attribute accessible from Input.cart.shipping_address? Input.cart.shipping_address.company returns a no method error. This seems like something that should be accessible from the Shipping Address object, especially since it so closely resembles its Liquid counterpart which provides access to it.

 

My use case is to show specific business shipping options when shipping to a business, which is inferred by the entry of a company name. Any insight into accessing the company field would be helpful, otherwise consider this post a feature request :)

0 Likes