Nikhil Kumar Posted July 17, 2015 Share Posted July 17, 2015 (edited) Hi threre is a home featured module in default prestashop theme for displaying the new arrivals and popular products in centercolumn. how can i make that display at the checkout page how to hook it please tell me thank you. I guess the checkout page is order-carrier.tpl file. please reply. Thankyou. Edited July 17, 2015 by Nikhil Kumar (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 17, 2015 Share Posted July 17, 2015 where exactly on checkout page you want to display these products? Link to comment Share on other sites More sharing options...
Nikhil Kumar Posted July 18, 2015 Author Share Posted July 18, 2015 Hi vekia thanks for reply. Please check the image I exactly need it after the shopping cart summary. In place of that "We recommend(cross selling module)" module. {More Specific: middle of shopping 'cart summary' and 'continue shopping button'} Link to comment Share on other sites More sharing options...
Nikhil Kumar Posted July 21, 2015 Author Share Posted July 21, 2015 HI vekia please review this I have done some changes by myself in the code. i have been to cshometab.php in line 55 i added this || !$this->registerHook('displayShoppingCartFooter') next i copy pasted the whole public function hookdisplayHome() code and renamed to public function hookdisplayShoppingCartFooter() ihave done this so that i can hook the module to home page and checkout page as well. and in module positions i transplanted the position to displayShoppingCartFooter. i also added this code in shopping-cart.tpl at last line {if isset($HOOK_HOME_TAB_CONTENT) && $HOOK_HOME_TAB_CONTENT|trim} {if isset($HOOK_HOME_TAB) && $HOOK_HOME_TAB|trim} <ul id="home-page-tabs" class="nav nav-tabs clearfix"> {$HOOK_HOME_TAB} </ul> {/if} <div class="tab-content">{$HOOK_HOME_TAB_CONTENT}</div> {/if} I got the result but missing some design and some functionality and the products are displaying in big size. here u can check by adding a product to cart here http://techxtro.com/testbob2/44-home-decor on clicking checkout it proceeds to http://techxtro.com/testbob2/quick-order (the page where i displayed featured products block of my theme) Link to comment Share on other sites More sharing options...
vekia Posted July 21, 2015 Share Posted July 21, 2015 try to add product-list.css file to this page the styles should appear well then Link to comment Share on other sites More sharing options...
Nikhil Kumar Posted July 22, 2015 Author Share Posted July 22, 2015 Hi, Actually the corousel functionality and tabs functionality is not working there. how ever i'm removing functional buttons code. (The module is same as home featured products of default bootstrap.) So i want to make the carousel functionality work how to achieve that. 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