0

In which file/class, Magento checks if the coupon code is already used by the logged in customer or not?

  • 5
    what is the magento version? – MrTo-Kane Dec 29 '16 at 9:29
1

It is in app/code/core/Mage/SalesRule/Model/Validator.php

Also you can see the function in http://freegento.com/doc/d0/d40/_validator_8php-source.html

See the function process() on line 00106
0

file -> app/code/core/Mage/SalesRule/Model/Validator.php

method -> protected function _canProcessRule

0
public function process(Mage_Sales_Model_Quote_Item_Abstract $item)

in app/code/core/Mage/SalesRule/model/Validator.php around 297 line

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.