How can I connect a CPVC pipe to a chrome fitting for a toilet?
Sharkbite is a brand of product that will do what you ask. Very simple to use, just push it on after you cut the pipe clean and square with no distortion (always follow the instructions with the product)



It will give a tidy look when installed.