msevestre Posted October 19, 2011 Share Posted October 19, 2011 Bonjour I installed the Alternative Prestashop Theme. Running PS 1.4.4.1. I'd like to have the cart appearing as a simple line on the Right-Top of the web page, similarily as it exists with the default PS theme (and then be able to remove the cart block on the left column). I tried to add a Top hook in blockcart.php as follows (code copied from the header hook function, that, as far as I understand, is used in default theme): public function hooktop() { if (Configuration::get('PS_CATALOG_MODE')) return; Tools::addCSS(($this->_path).'blockcart.css', 'all'); if ((int)(Configuration::get('PS_BLOCK_CART_AJAX'))) Tools::addJS(($this->_path).'ajax-cart.js'); } I now can hook my cart to the Top section, but I do not see anything... Somehting goes wrong. Can somebody tell me how to add a cart access similar to default PS theme on the top right of the web page ?? Thanks Matt 1 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