I was curious if anyone knows if it is possible to add magento to an existing website. I want the website look the same. The website has products and buttons/links for adding to shopping cart, but it has no shopping cart 开发者_StackOverflow社区functionality. Is this possible? If so, where could I read up on this? Any help is greatly appreciated. thanks in advance.
You could add some magento functionality by including the Mage.php file in your normal non-magento website. This would allow you to perform magento operations (such as add to cart, ...)
Example:
<?php
include("location/to/app/Mage.php");
Mage::app();
// Any magento code is possible here :)
?>
精彩评论