This is in regards to your query posted on the website CarDekho.com, we would like to inform you that Both Maruti Ritz and Maruti Swift are good cars both have their dominance in the market at present. But Maruti Swift is more popular than Maruti Ritz and also the demand for this car high in comparison to Maruti Ritz. Maruti Swift is more spacious but height of Maruti Ritz is more in comparison to Maruti Swfit. You can use the given link to Compare Maruti Swift and Maruti Ritz.
Maruti has a good and vast service network and there will be no problem of maintenance and replacement of parts at later stage but the resale value of the car might decrease as the company has decided to discontinue the vehicle. Despite this, there will never be any shortage of parts as manufacturers make parts for next 10 years. Also, as Ritz share a good number of parts with its sibling Swift there will be no shortage whatsoever. If you would like to consider, the Indian auto market has many other offerings in the same segment such as Tata Bolt, Nissan Micra, Ford Figo, Honda Brio and Grand i10, Maruti Swift, Chevrolet Sail hatchback.