| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Determine if the product is shippable or not | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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.
__________________
Richard Ultimate 5.4 testing |
|||||||||
#2
|
|||||||||
|
|||||||||
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 |
|||||||||
|
#3
|
|||||||||
|
|||||||||
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?
__________________
Richard Ultimate 5.4 testing |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Determine if the product is shippable or not
Where should the text appear? Also, what is the text?
__________________
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 |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|