开发者

Adding magento to an existing website

开发者 https://www.devze.com 2023-04-08 09:38 出处:网络
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

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

精彩评论

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

关注公众号