Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to remove order now button?

Vihar3
Tera Contributor

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

5 REPLIES 5

Prasant Kumar 1
Mega Sage

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