How to remove order now button?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2020 01:13 PM
Hi all,
I have a requirement to remove order now button. on a catalog item there is a variable with YES/NO type. If YES is selected the order now button should be removed and a message should be displayed and if NO is selected the Order now button should be visible.
How to achive this?
Thanks
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2020 12:02 PM
Hi,
You can also write below script to hide order Now button based on your required condition on OnChage Client script for particular catalog Item.
document.getElementById('oi_order_now_button').style.display='none';
If i was able to solve your query, please mark my answer correct and helpful.
Thanks & Regards
Prasant kumar sahu