// Check if visitor accesses from the custom domain or not to determine the custome template. $shopDomain = $this->ShopDomain->findByShopBranchId($shopBranch['ShopBranch']['id']);
DetailsController::coupon() - APP/controllers/details_controller.php, line 368
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90