vstheworld Posted April 14, 2010 Share Posted April 14, 2010 Hi all,I have an existing website that is structured with php and I'm trying to incorporate PS into. I'm almost finished editing the tpl's and such so that the shop looks like the rest of the site. The one thing I can't figure out is how to show the shopping cart. Basically I want to display the cart on the preexisting "sidebar.php" so that it is visible on all pages outside of PS. In case this is pertinent I've disabled the ajax part of the cart via the back office and have edited the cart just to show the total. I searched through the forums but haven't really seen any posts dealing with this. Is this possible? Or is there a some other way to achieve this?Many advanced thanks! Link to comment Share on other sites More sharing options...
vstheworld Posted April 27, 2010 Author Share Posted April 27, 2010 Ok, so I've gotten PrestaShop to integrate into my site, the only thing I still can't figure out is the block cart display. Basically this is the code I used to include a few modules on the pages outside of Prestashop:<?phpinclude(dirname(__FILE__).'/prestashop/config/config.inc.php');include(dirname(__FILE__).'/prestashop/init.php');echo Module::hookExec('rightColumn'); ?>Everything displays correctly however when navigating to other pages outside of Prestashop the block cart empties. I'm thinking that "echo" is not the correct command to use. Does anyone have any ideas on what would work?Thanks 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