Skip to content

Add return reasons across product categories#855

Open
hadijafar wants to merge 2 commits intographite-base/855from
linking-return-reason-orphans
Open

Add return reasons across product categories#855
hadijafar wants to merge 2 commits intographite-base/855from
linking-return-reason-orphans

Conversation

@hadijafar
Copy link
Contributor

@hadijafar hadijafar commented Feb 3, 2026

TL;DR

Added return reason options across multiple product categories to improve return data collection.

What changed?

Added specific return reason options to various product categories:

  • Apparel & Accessories: Added detailed fit issues (sleeves, waist, collar), material problems (breathability, durability), and specific garment issues (straps, support, padding)
  • Bras: Added specific fit reasons (band, cups, straps, support)
  • Eyewear: Added frame and lens-specific issues (scratches, fit, magnification)
  • Jewelry: Added stone setting, tarnishing, and tangling issues
  • Footwear: Added heel, sole, and footbed specific reasons
  • Pet Supplies: Added pet-specific reasons (pet didn't like, refused)
  • Business & Industrial: Added budget, sourcing, and certification reasons
  • Baby & Toddler: Added assembly and usability reasons
  • Electronics: Added technical issues (overheating, resolution, mounting)
  • Food & Beverages: Added taste-specific reasons (bitterness, sweetness, ripeness)
  • Furniture: Added assembly, stability, and fit issues
  • Health & Beauty: Added reaction, effectiveness, and application issues
  • Home & Garden: Added quality, cleaning, and usability reasons
  • Services: Added order-specific reasons (duplicate, wrong format)
  • Toys & Games: Added age-appropriate, complexity, and assembly reasons

Why make this change?

189 return reasons were orphaned

Copy link
Contributor Author

hadijafar commented Feb 3, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@hadijafar hadijafar changed the title fixing orphan return reasons Add return reasons across product categories Feb 3, 2026
@hadijafar hadijafar marked this pull request as ready for review February 3, 2026 18:59
@hadijafar
Copy link
Contributor Author

hadijafar commented Feb 3, 2026

39 orphaned attributes were found and this is the category that I assigned them to

Attribute Category
accessory_material Shipping Containers (bi-13-3)
archery_target_type Archery Targets (sg-4-9-1-11-3)
arrow/bolt_material Arrows & Bolts (sg-4-9-1-5)
baby/toddler_equipment_safety_features Baby Toys & Activity Equipment (bt-5)
binocular/monocular_design Binoculars (co-3-1) & Monoculars (co-3-2)
book/file_cover_material Book Covers (os-1-1)
bottle_warmer/sterilizer_features Bottle Warmers & Sterilizers (bt-10-6)
bow_material Bows & Crossbows (sg-4-9-1-7)
cane_base_design Canes & Walking Sticks (hb-1-17-5-1)
chair/sofa_features Chairs (fr-7) & Sofas (fr-22)
changing_mat/tray_features Changing Mats & Trays (bt-9-4)
clay/slip_texture Clay & Modeling Dough (ae-2-1-2-12-1)
console_system Video Game Consoles (el-19)
cookware/bakeware_features Cookware & Bakeware (hg-11-2)
diaper_type Incontinence Aids (hb-1-11)
disposable/reusable_bag_features Pet Waste Bags (ap-2-44)
disposable/reusable_item_material Shipping Containers (bi-13-3)
door/frame_application Door Frames (ha-2-2-3)
fiber_optic_mode Fiber Optic Components (el-4-11)
hearing_aid_ear_side Hearing Aids (hb-1-10)
knitting/padding_project_type Crafting Fibers (ae-2-1-2-6)
lens/slide_material Optics (co-3)
mat/rug_shape Rugs (hg-3-57)
mat_base_material Yoga & Pilates Mats (sg-2-26-3)
mold/cut_shape Crafting Patterns & Molds (ae-2-1-6)
optical_drive_form_factor Optical Drives (el-7-9-14-6)
paint/dye_form Craft Paint, Ink & Glaze (ae-2-1-2-3)
paintball/airsoft_equipment_included Paintball (sg-4-9-10) & Airsoft (sg-4-9-7)
pet_apparel/bedding_features Pet Apparel (ap-2-6) & Pet Beds (ap-2-9)
pole/post_material Parasols & Rain Umbrellas (hg-16)
radio_case_design Radio Carrying Cases (el-4-3-2)
saddle_material Bicycle Saddles (sg-4-4-2-13)
timepiece_features Watches (aa-6-11)
toilet/bidet_mounting_type Toilets & Bidets (ha-10-3-6)
transfer_aid_type Transfer Boards & Sheets (hb-1-17-1-3)
vehicle_engine/part_features Vehicle Parts & Accessories (vp-1)
washer/dryer_features Laundry Appliances (hg-9-8)
watch/band_material Watch Bands (aa-6-10-1)
wipe_dispenser/warmer_features Baby Wipe Dispensers & Warmers (bt-9-1)

would need to regenerate taxonomy.json and categories.json if these are correct

@hadijafar hadijafar force-pushed the linking-return-reason-orphans branch from b7e4e9a to eec7994 Compare February 3, 2026 19:29
@hadijafar hadijafar changed the base branch from main to graphite-base/855 February 3, 2026 20:47
@hadijafar hadijafar changed the base branch from graphite-base/855 to orphan-tests-for-attributes-and-categories February 3, 2026 20:47
@hadijafar hadijafar force-pushed the linking-return-reason-orphans branch from eec7994 to c397b37 Compare February 3, 2026 20:59
@hadijafar hadijafar force-pushed the orphan-tests-for-attributes-and-categories branch from f55bcde to 8542358 Compare February 3, 2026 20:59
This test will be added in a follow-up PR that also links the orphan return reasons.
@hadijafar hadijafar force-pushed the orphan-tests-for-attributes-and-categories branch from 8542358 to ea5459a Compare February 3, 2026 21:22
@hadijafar hadijafar force-pushed the linking-return-reason-orphans branch from c397b37 to c571cd8 Compare February 3, 2026 21:22
@hadijafar hadijafar changed the base branch from orphan-tests-for-attributes-and-categories to graphite-base/855 February 3, 2026 21:40
Copy link
Collaborator

@danielpgross danielpgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look good 👍

Just need a review on the data changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants