i want to set moq if user open same product in category A.

for that i used below modules


and loadaftercatalog function

public function loadaftercatalog(Varien_Event_Observer $event) {
        $product = $event->getEvent()->getProduct();
        $originalprice = $product->getPrice();
        $customprice = 2*$pricetoadd->getPrice();


give error and does not work can i set moq here so if by default show price of two

  • Use catalog_product_load_before event. And let me know. If there is error you facing post it here as well – Rohit Kundale Mar 11 '16 at 10:12
  • can u what what to do set moq to 2 – mdeveloper Mar 11 '16 at 10:23
  • Check my answer – Rohit Kundale Mar 11 '16 at 10:38

Your Answer

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

Browse other questions tagged or ask your own question.