![]() |
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 |
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.
|
Re: disable drag and drop for some products
thanks, that works pretty well.
Thanks again Juan |
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. |
All times are GMT -8. The time now is 04:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.