- Posts: 640
- Thank you received: 16
Engray/disable AddToCart BTTN after product added
- PeterChain
-
Topic Author
- Offline
Less
More
11 years 10 months ago #182294
by PeterChain
Engray/disable AddToCart BTTN after product added was created by PeterChain
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.18
I have a long set of single unique products which are only one in stock and will never be again available once purchased.
I want that once a certain product is added to cart in a product listing its button goes gray / disabled so user can't click it again as it would make no sense.
But my button remains clickable.
Is there either a setting option or a cart.php trick to change this?
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.18
I have a long set of single unique products which are only one in stock and will never be again available once purchased.
I want that once a certain product is added to cart in a product listing its button goes gray / disabled so user can't click it again as it would make no sense.
But my button remains clickable.
Is there either a setting option or a cart.php trick to change this?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 10 months ago #182365
by Mohamed Thelji
Replied by Mohamed Thelji on topic Engray/disable AddToCart BTTN after product added
Doing it will require some code customization and Javascript skills, also note that you can also set the "Maximum quantity per order" option of your product to 1 so that your customer will only be able to add your product 1 time.
Please Log in or Create an account to join the conversation.
Time to create page: 0.168 seconds