Determine if the product is shippable or not
In x-cart 5, How canI detemermine in the product page if the item is shippable, for example I want to put an estimated delivery date, but I don't want it to appear on products which do not ship.
|
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() |
Re: Determine if the product is shippable or not
Will you be able to post the code for the module to only show text on the product page if the item is shippable please?
|
Re: Determine if the product is shippable or not
Where should the text appear? Also, what is the text?
|
All times are GMT -8. The time now is 02:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.