Help on designing an ecommerce site

What is the advantage to using a CMS like wordpress over building websites the old fashioned way?

Without using a CMS, how can I build an ecommerce site complete with shopping cart, a place to capture credit card information and a merchant gateway to process the credit cards?