| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
disable drag and drop for some products | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
disable drag and drop for some products
Hi
Is there any way to disable "drag and drop me to the cart" for just some products? It seems to me that only the products that don't have options to configure by the customer should be turned on for drag and drop. In case this is not possible, how can I disable drag and drop for all products? Thanks
__________________
X-Cart Business 5.0.12 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: disable drag and drop for some products
There is a setting that does what you are looking for - the "Force customer to choose product options before adding a product to cart" checkbox on the "Store setup" -> "Cart and Checkout" back-end page.
__________________
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: disable drag and drop for some products
thanks, that works pretty well.
Thanks again Juan
__________________
X-Cart Business 5.0.12 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: disable drag and drop for some products
Juan,
If you want to prevent all products from being draggable, decorate the class XLite\Controller\AController This method: Code:
Just change it to return false.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|