Jump to content

miumax

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • First Name
    yasith
  • Last Name
    miu

miumax's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. in My module I'm try to make a order from cart. in my modules controller file I'm calling validateOrder PaymentModule::validateOrder((int)$urbCart->id, $order_status, $order_total, "urb-it", NULL, array(), (int)$currency->id, false, $urbCart->secure_key); for create a order. Hove ever I got below error. PHP Fatal error: Cannot access protected property UrbitOrderCompleteModuleFrontController::$context in /opt/webapp/urbit/classes/PaymentModule.php on line 171 The payment module error is happen in (line 171) is below if (!isset($this->context)) { $this->context = Context::getContext(); } Why that context is say as protected property ? How can I create order ?
  2. I'm new to prestashop and I'm developing a shipping module. I need to know how to add custom label for each product that in product list page that mach my deliver method. What hook I use for add label to product list page. I need to get $params for each product. is hookActionProductListOverride valid hook ? Thanks,
×
×
  • Create New...