Auto parts stores often charge more for the same thing / different brand label. They have their overhead, to maintain a physical store that only sells auto parts.
I stopped buying parts at local auto parts stores long ago except for two situations.
1) Autozone sometimes has a competitive price for something with a lifetime warranty, and their store is very nearby, and I have redundant vehicles, so have a spare to go get a replacement part, or if it's a wear item like brake pads. I buy autozone lifetime warranty pads and get free pads for the life of the vehicle, which matters more to me because I tend to keep vehicles long term.
2) It's a rush job. If a vehicle is going to be towed, or has to be back in service ASAP, getting the part as fast as possible can be worth some money.
I used to shop at Advance Auto but don't see any reason to these days, after they reduced the prevalence of their discount coupons so they don't beat anyone else on price, or warranty, or part quality. There's just too much competition in my area to shop there.