Introduction
I am working on a plugin which will need a "Confirm" button hide on some condition (written in action filter).
Question:
How to hide Confirm button on checkout page from plugin in nopcommerce.
Problem
Actually i cannot make view overrides (and using ViewData) as suggested in some solutions but i cant do override in views.
Thinking about having solved from action filter i wrote for /Checkout/Complete --get
//if checkout process is generic
bool IsCheckoutConfirm = (filterContext.RouteData.Values["controller"].Equals("Checkout")
&& (filterContext.RouteData.Values["action"].Equals("Confirm")) && filterContext.HttpContext.Request.HttpMethod == "GET");
If someone have idea or know how it can be done, please help me out. Thanks for your time.