Renik Posted March 5, 2014 Share Posted March 5, 2014 (edited) Hello, - can anybody tell me how can I remove cart from header? I tried all and nothing helped. - next problem are my "new products" on homepage. There are only 2 small images. I want to design it same as favourite products. See screenshot please, thank you very much. http://eshop.cmagency.sk/ edit: I forgot, I want to remove search box from header too. I want to add it to right column above cart. Edited March 5, 2014 by Renik (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 5, 2014 Share Posted March 5, 2014 this cart is a blockuserinfo module you have to disable this module. check this module: http://www.prestashop.com/forums/topic/278949-free-module-homepage-featured-new-products-block/ it's because if you want to use default one, you have to rebuild entire module template file and css file. Link to comment Share on other sites More sharing options...
Renik Posted March 5, 2014 Author Share Posted March 5, 2014 Uhm. I disabled blockuserinfo. Now I don't have login/register in header. I wanted only remove cart from header and move search to the right column. Link to comment Share on other sites More sharing options...
vekia Posted March 5, 2014 Share Posted March 5, 2014 so, please re-enable blockuserinfo module and remove this: <li id="shopping_cart"> <a href="{$link->getPageLink($order_process, true)|escape:'html'}" title="{l s='View my shopping cart' mod='blockuserinfo'}" rel="nofollow">{l s='Cart' mod='blockuserinfo'} <span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span> <span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='Product' mod='blockuserinfo'}</span> <span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='Products' mod='blockuserinfo'}</span> <span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}"> {if $cart_qties > 0} {if $priceDisplay == 1} {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)} {else} {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)} {/if} {/if} </span> <span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s='(empty)' mod='blockuserinfo'}</span> </a> </li> from blockuserinfo.tpl file then go to modules > positions search from "displayTop"(not displayHeader!) modules list and REMOVE block cart module 1 Link to comment Share on other sites More sharing options...
Renik Posted March 5, 2014 Author Share Posted March 5, 2014 thank you, works fine Link to comment Share on other sites More sharing options...
vekia Posted March 5, 2014 Share Posted March 5, 2014 okay, and what about cart in right / left column? have youadded (transplanted) it already ? Link to comment Share on other sites More sharing options...
Renik Posted March 6, 2014 Author Share Posted March 6, 2014 Sorry for late answer. I transplanted cart to the right column but ajax of adding new items to cart didn't work. I removed it and I'm finding solution how to transplate it correctly. Link to comment Share on other sites More sharing options...
vekia Posted March 6, 2014 Share Posted March 6, 2014 your block user info cart feature is still in the top section. Link to comment Share on other sites More sharing options...
Renik Posted March 6, 2014 Author Share Posted March 6, 2014 just added. Ajax still don't work in right column. In some minutes I will delete cart from header. Link to comment Share on other sites More sharing options...
vekia Posted March 6, 2014 Share Posted March 6, 2014 please follow suggestions carefully. you have to follow all steps, otherwise it will not work. for example block cart is still attached to the displayTop section, i suggested before to remove it. 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