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.
Comparison
Comparing WordPress vs. Magento for eCommerce:
WordPress Vs. Magento – Which Is Better For Your New Online store?
https://www.cminds.com/wordpress-vs-magento-which-is-better-for-your-new-online-store/