Skip to content

Instantly share code, notes, and snippets.

@jimarnold
Created September 22, 2022 17:58
Show Gist options
  • Save jimarnold/4775505e9a1629cbd01447db1b57eab9 to your computer and use it in GitHub Desktop.
Save jimarnold/4775505e9a1629cbd01447db1b57eab9 to your computer and use it in GitHub Desktop.
diff --git a/phplib/CategoryNav/V2/Order/CategoryOrderIndia.php b/phplib/CategoryNav/V2/Order/CategoryOrderIndia.php
index 8b2f576020d1..a6cc46daadfa 100644
--- a/phplib/CategoryNav/V2/Order/CategoryOrderIndia.php
+++ b/phplib/CategoryNav/V2/Order/CategoryOrderIndia.php
@@ -62,18 +62,13 @@ class CategoryOrderIndia {
// J&A - Bags & Purses
const JA_HANDBAGS = 10867;
const LUGGAGE_AND_DUFFEL_BAGS = 10871;
-
+
// Necklaces
const RANI_HAAR = 12217;
const MANGALSUTRAS = 12218;
- // Earrings
- const CHANDBALIS = 12346;
- const JHUMKAS = 12347;
-
// Bracelets
const BANGLES = 10907;
- const RAKHIS = 12345;
// Body Jewellery
const HAND_CHAINS = 12167;
@@ -139,7 +134,6 @@ class CategoryOrderIndia {
const BASEBALL_TRUCKER_HATS = 12291;
// Hair Accessories
- const GAJRAS = 12319;
const MAANG_TIKKAS = 12175;
// Watches
@@ -165,11 +159,6 @@ class CategoryOrderIndia {
const LAPTOP_BAGS = 1709;
const LUGGAGE_TAGS = 173;
- // Bangles
- const CHURAS = 12342;
- const KADAS = 12343;
- const KALEERAS = 12344;
-
// Home Decor
const MIRRORS = 1021;
const WALL_DECOR = 10962;
@@ -304,14 +293,14 @@ class CategoryOrderIndia {
// Jewellery and Accessories
self::ACCESSORIES => [self::WATCHES, self::BROOCHES, self::SUIT_AND_TIE_ACCESSORIES],
self::NECKLACES => [self::RANI_HAAR, self::MANGALSUTRAS],
- self::EARRINGS => [self::CHANDBALIS, self::JHUMKAS],
- self::BRACELETS => [self::RAKHIS],
+ self::EARRINGS => [],
+ self::BRACELETS => [],
self::BODY_JEWELRY => [self::HAND_CHAINS],
- self::HAIR_ACCESSORIES => [self::GAJRAS, self::MAANG_TIKKAS],
+ self::HAIR_ACCESSORIES => [self::MAANG_TIKKAS],
self::SUIT_AND_TIE_ACCESSORIES => [self::CUFF_LINKS],
self::JA_HANDBAGS => [self::HANDBAGS_CROSSBODY_BAGS],
self::LUGGAGE_AND_DUFFEL_BAGS => [self::LAPTOP_BAGS, self::LUGGAGE_TAGS],
- self::BANGLES => [self::CHURAS, self::KADAS, self::KALEERAS],
+ self::BANGLES => [],
// Home and Living
self::HOME_DECOR => [self::MIRRORS],
@@ -350,13 +339,13 @@ class CategoryOrderIndia {
self::KIDS_BABY_BOYS_ETHNIC_CLOTHING => ['name' => "Boys' Ethnic Clothing", 'page_title' => "Boys's Ethnic Clothing"],
self::HANDBAGS_CROSSBODY_BAGS => ['name' => "Sling Bags", 'page_title' => "Sling Bags"],
];
-
+
/**
- * @param int $id
- * @return array
+ * @param int $id
+ * @return array
*/
public static function getCategoryOrder(int $id) : array {
return self::$sorted_sub_category_ids[$id] ?? CategoryNav_V2_CategoryOrder::getCategoryOrder($id);
}
-}
\ No newline at end of file
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment