Jump to content

displaying featured products in at quick order or checkout page


Recommended Posts

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 by Nikhil Kumar (see edit history)
Link to comment
Share on other sites

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'}

post-967181-0-33327200-1437205811_thumb.jpg

Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...