diff --git a/module/product/model.php b/module/product/model.php index eda1a50f8a..7662eb4efd 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -448,6 +448,7 @@ class productModel extends model if(isset($currentProduct->type) && $currentProduct->type != 'normal') { + $this->lang->product->branch = sprintf($this->lang->product->branch, $this->lang->product->branchName[$currentProduct->type]); $branches = $this->loadModel('branch')->getPairs($productID); $branch = empty($branch) ? (int)$this->cookie->preBranch : $branch; $branchName = isset($branches[$branch]) ? $branches[$branch] : $branches[0];