Jump to content

allanextreme

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • First Name
    Allan
  • Last Name
    Awerkin

Recent Profile Visitors

173 profile views

allanextreme's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. So your category 55 is "TOUS LES TUBES CARBONE O" and you want to hide all the subcategories in that category right?, what you want is easy and i can help you but you need to be more specific, i attached an image, it's right?
  2. send and image of what you want to clarify, so we can help you.
  3. If anyone need helps, on render function at the end you are calling return parent::renderForm(); , you must call return AdminController::renderForm();
  4. for the unorthodox method that i gave, 1.- Go to ROOT_PRESTASHOP\themes\default-bootstrap\modules\blockcart\ directory 2.- Open the file blockcart.tpl 3.- Comment or delete the line 27 aprox <div class="col-sm-4 clearfix{if $PS_CATALOG_MODE} header_user_catalog{/if}"> 4.- on the same file, delete the close tag of this file, the line 205 aprox, when you have an if of SMARTY: </div> on the same file you have to put a close tag at the bottom of the content </div> 5.- Save the changes on the file and close it. 6.- Go to: themes\default-bootstrap\modules\blocktopmenu 7.- Open the file blocktopmenu.tpl 8.- Delete the close tag of the following div (sorry if you dont find it, i override my files): <div id="block_top_menu" class="sf-contener"> 9.- Delete the class clearfix of the following line: <ul class="sf-menu clearfix menu-content"> 10.- Go to themes\default-bootstrap\css\modules\blockcart 11.- Open the file blockcart.css 12.- On line 7 delete the padding-top: 50px: #header .shopping_cart { position: relative; float: right; padding-top: 50px; } Finally go to module positions and put your cart module after the menu. The next step is to put some CSS on the background menu but you have to solve that Hope that helps
  5. then you have code errors, activate debug mode and show your error details, by the other hand, the easiest way to put your cart on the menu is editing the .TPL files on "themes" directory, you have to edit the following files on modules: blockcart.tpl blocktopmenu.tpl on blocktop menu you have to delete the </div> tag and put it in the end of the blockcart.tpl, and maybe you have to delete the <div col-4> and the close tag of it, i dont remember if it is necesary. Hope that helps you, cheers.
  6. Read this article: https://mypresta.eu/en/art/developer/block-cart-in-top-menu.html All credits to the author
  7. Que cambios has realizado en el sitio? moviste el carro de posición? modificaste algo en el carro?, puede que agregaste algo y no te diste cuenta pero evidentemente es un error de sintaxis, detalla más tu error con un log de consola, etc
  8. Now i understand, i'm getting a cached version of the blocktopmenu.tpl, but how can i put the menu inside the top menu as the searchbar on the module and not getting a cached version?, is there a way to set a blacklist on the cache system for an specific module or hook? Thanks in advance
  9. what i've done was create a hook for the specific module, then attach the module to your custom hook, modify the blocktopmenu.tpl to call your custom hook, but i have cache problems, i need to resolve it first
  10. As i said on the title, my problem is that when i move the "Cart" Module to a custom hook it doesn't refresh, if i'm the "A" client on the page and i add 5 products, the clients "B", "C"," D", "E" will enter to the website and they'll see 5 products too, I think that the problem is on the cache, cause when i disable it everything works fine. Thanks in advance!
×
×
  • Create New...