sledge Posted December 7, 2011 Share Posted December 7, 2011 So I'm thinking of using PrestaShop in my website, but only for administration purposes. My website will be on the root folder, and PrestaShop will be on "/admin" folder. Are there any available built-in classes that I can use on my website for linking Prestashop to my website without the need of my pages to be part of Prestashop? This is what's in my mind: class PrestaShopProduct { function getPrice(); function getTitle(); function getDescription(); //etc function showHTML(); //etc } And then, in my website, the page that displays a product: <?php $product = new PrestaShopProduct($_GET['product_id']); $product->showHTML(); ?> Link to comment Share on other sites More sharing options...
gonandriy Posted December 7, 2011 Share Posted December 7, 2011 As I know prestashop does not gives such features. Consider using WebServices or retrieving info about products directly from database. Link to comment Share on other sites More sharing options...
gonandriy Posted December 7, 2011 Share Posted December 7, 2011 However, you can try require prestashop config files and try create instances of classes. But I am not sure whether this will work Link to comment Share on other sites More sharing options...
TheMic Posted December 14, 2011 Share Posted December 14, 2011 Hi... I have the same problem! I want to show the prestashop's cart in others pages. Can anyone help us? thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now