both PHP based
CS-Cart and Magento are built for eCommerce from the ground up – its entire mission is to help users build an online store.
WordPress is a regular CMS, but can be extendable with dedicated plugins to transform it into a full-scale eCommerce management system.
Comparing WordPress vs. Magento for eCommerce：
WordPress Vs. Magento – Which Is Better For Your New Online store?