The sockets (end plugs) make no difference when shortening the length of your fixture. Sockets for flourescents fit both T8 and T12. The problem is the ballast. Different ballasts configure to the sockets differently depending on the ballast manufacturer, so you must pay attention to the wiring diagram when changing a ballast.
Example: A sylvania T8 ballast for a 4 lamp fixture has 8 wire leads. A black and a white for power, two blues and two reds that connect to 4 sockets (one wire on each socket) on one side and two yellows that connect to the other 4 sockets (one yellow for two sockets). Whereas an advance ballast only has one yellow wire that connects to all four sockets on the one side.
If you have an older fixture you may have to remove the sockets and see how they are wired to make sure that they coincide with the new ballast you have. You may have to reconfigure your fixture to be able to work with your new ballast, it is very simply just snip, splice and wire nut.
This is my area of expertise so if you are still having problems I can draw out some diagrams and post them so we can get your fixture working
PS... Forgot the point I needed to make, lol. You must have a ballast designed for exactly what you want to do. If you have a 3foot 4 lamp fixture then you need a ballast that supports a 3foot 4 lamp fixture, it will say it on the ballast. A 4 foot 4 lamp ballast will not work in a 3 foot 4 lamp fixture you'll just burn out the ballast, and yes even when you plug everything in and the lamps flicker then go out the ballast is still working and since it is the wrong setup for the ballast it is slowly killing itself while the power is on and its life is shortend.
I'm not a big fan of Lowes, but HomeDepot will have the one you need. And just for a bonus here is a little insiders info....If you have a Tristate or a Rexel (eletrical supplyhouses) in your area, get to one of those for your ballasts, you will pay up to $20 less. I pay 9 bucks for ballasts, they are between $25 and $30 at the home improvement joints.