update store order
This commit is contained in:
@@ -61,9 +61,9 @@ class TeamStoreController extends Controller
|
||||
$product_array = $m->filterTeamstoreProducts('TeamStoreId', $store_array[0]->Id, $field, $sort_value);
|
||||
}
|
||||
} else {
|
||||
$field = "ProductName";
|
||||
$field = "Ordering";
|
||||
$sort_value = "ASC";
|
||||
$sort = "al-asc";
|
||||
$sort = "";
|
||||
$product_array = $m->filterTeamstoreProducts('TeamStoreId', $store_array[0]->Id, $field, $sort_value);
|
||||
}
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@ class UserController extends Controller
|
||||
|
||||
$store_array = $newTeamStoreModel->selectTeamStore('Id', $store_id);
|
||||
$product_array = $newTeamStoreModel->selectTeamStoreProducts('TeamStoreId', $store_id);
|
||||
|
||||
$displayThumbnails = "product-image-placeholder.png";
|
||||
foreach ($product_array as $p => $pr_arr) {
|
||||
|
||||
$thumbnails_array = $newTeamStoreModel->getProductThumbnails($pr_arr->Id);
|
||||
@@ -1180,7 +1180,7 @@ class UserController extends Controller
|
||||
|
||||
$store_array = $newTeamStoreModel->selectTeamStore('Id', $store_id);
|
||||
$product_array = $newTeamStoreModel->selectTeamStoreProducts('TeamStoreId', $store_id);
|
||||
|
||||
$displayThumbnails = "product-image-placeholder.png";
|
||||
foreach ($product_array as $p => $pr_arr) {
|
||||
|
||||
$thumbnails_array = $newTeamStoreModel->getProductThumbnails($pr_arr->Id);
|
||||
|
||||
Reference in New Issue
Block a user