Thread
:
Determine if the product is shippable or not
View Single Post
#
2
08-17-2015, 09:01 AM
qualiteam
X-Guru
Join Date: Dec 2010
Posts: 6,373
Re: Determine if the product is shippable or not
Let's say you have an instance of \XLite\Model\Product class in $product variable.
You can check if it is a shippable item with this code: $product->getShippable()
__________________
Alex Solovev,
Qualiteam
---
User manual
Video tutorials
X-Cart FAQ
You are welcome to press "Thanks" button
if you find this post useful
Click here to learn how to apply patches
X-Cart Extensions
qualiteam
View Public Profile
Send a private message to qualiteam
Find all posts by qualiteam