All Questions
5 questions with no upvoted or accepted answers
1
vote
0
answers
288
views
Magento 2 Remove Add to Cart button and Add New Custom Button
I am creating a module. I have create one custom product attribute which value is YES/NO.
if product attribute value is Yes then Add to Cart Button hide And Show Custom Button
if product attribute ...
1
vote
0
answers
385
views
How to Hide Add to cart button in Magento 2 front end without editing phtml file
I created a custom module which has option to enable / disable Add to cart button in front end , I'm trying to hide button without editing the core templates files , is there any way to implement it . ...
0
votes
1
answer
436
views
Trying to listen to the add to cart event
This is my first time playing around with Magento. I'm building a module and I want to listen when a product is added to the cart so, I've tried to use the ...
0
votes
2
answers
20
views
Can not add2cart grouped product when 1 input field is diabled
I need to disable the input field when customergroup = 0 or 1 and quantity is < 0 but when I add the argument 'disabled' to the input, the add2cart button does not put the other available items in ...
0
votes
1
answer
737
views
Magento 2 Pre-Order instead of Add to Cart
I need to be able to change the "Add to Cart" button to "Pre Order", or "Learn More", depending on a custom product attribute, release date. Any help will be appreciated.