开发者

Adding magento to an existing website

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 :)
?>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜