1

I know that in "Mage_Sales_Helper_Data" class , there is a field "MAXIMUM_AVAILABLE_NUMBER" in order to control maximum allowed number for order price.

I see the functionality in the cart section in frontend. But I want to have this limit in backend(administration) section. I mean when an admin want to create an order, he shouldn't be allowed to create it if the price is more than a specific amount.

How can I do this? where should I look at?

0

The closest thing that i managed to find on the Internet is this article from Inchoo:

http://inchoo.net/ecommerce/magento/magento-maximum-allowed-order-amount/.

It is about setting the frontend limit, so when you define your observer method you will need to place it under the globals tag instead of the frontend tag.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.