18 minutes ago, Janett said:if ('AdminOrders' === Tools::getValue('controller')
&& false === Tools::getIsset('addorder')
&& false === Tools::getIsset('vieworder')
) {
// your code here
}
sorry I’m on my phone and I cannot use code display option 🤬
thanks for the effort. this is basically what I needed.
i had the following concern also in my original question:
are addorder and vieworder all the extra values that could be there besides order listing page?
for example if there is deleteorder page (which might not even exist) this condition would fail!