use existing function to get supplier name
This commit is contained in:
@@ -440,7 +440,7 @@ class Wiaas_Cart {
|
||||
|
||||
if ($product->is_type('simple') && !Wiaas_Product_Category::is_installation($product)){
|
||||
$supplier_id = Wiaas_Product::get_supplier_id($product->id);
|
||||
$supplier_name = Wiaas_Supplier::get_name($supplier_id);
|
||||
$supplier_name = wiaas_get_organization_name($supplier_id);
|
||||
$suppliers[] = array(
|
||||
'id' => $supplier_id,
|
||||
'name' => $supplier_name,
|
||||
|
||||
Reference in New Issue
Block a user