Jump to content

Hardik

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Hardik

  1. Hey Gaelle, Did you try it after the support for languages was added to it. Thanks and regards, Hardik
  2. Hi, I have added the code to check for selected language and show accordingly. Kindly check and get back to me. Hope this helps. Thanks and regards, Hardik block search by attributes UPDATED for 1.3.1 with lang support.zip
  3. Great, Can you PM me the files, i will take a look. Thanks for the code. Hardik
  4. The module has been updated to work with prestashop 1.3.1 Dropdown width issue has also been fixed. find module attached. You can take a look at the module in action at http://plasticc.000space.com/presta131/ Forum link for old and new version http://www.prestashop.com/forums/viewthread/54611/third_party_modules/module_search_by_attribute_module_working_fine_now Hope this helps, Hardik block search by attributes UPDATED for 1.3.1.zip
  5. Its strange no ones replied yet i think i should start a new post you can see it working at http://store.hardik.iwantdemo.org This is a test site, therefore please don't place orders
  6. Forgot to mention... the module has been tested on prestashop 1.2.5.... thanks, hardik
  7. "Search by attributes block" is now working. Anyone interested can check it out the forum link http://www.prestashop.com/forums/viewthread/54611/P15/third_party_modules/module_prestashop_1_dot_3_dot_1_compliant_search_by_attribute_module_working_fine_now__advanced_search__filter_by_attributes__filter_search_product/ Adapted for Prestashop 1.3.1 Module is available for download there. Hope this helps. Regards, Hardik
  8. "Search by attribute" block is now working fine. You can check the link http://www.prestashop.com/forums/viewthread/20212/P15/third_party_modules/module_searchbyattribute_frontpage_module/ Hope this helps. blocksearchbyattribute120_package WORKING.zip
  9. Hi All, I got this module to work. Find attached the Advanced Seach filter by attributes modules. Hope this helps. Thanks, Hardik blocksearchbyattribute120_package WORKING.zip
  10. you will have to go to tools.php in classes/tools.php goto the "convertPrice" function round($price,-1); might help, but you'll have to try it out
  11. Hi Steve, Been a little busy so couldnt reply back. here's the code. I saw your website and noticed that you do not have sub categories, so the below mentioned code should work fine. in your header.php add $category = new Category($_GET['id_category']); $parentCategory = $category->id_parent; if (isset($_GET['id_product'])) { $product = new Product(intval($_GET['id_product'])); $categ1 = $product->id_category_default; } $smarty->assign(array( 'HOOK_HEADER' => Module::hookExec('header'), 'HOOK_LEFT_COLUMN' => Module::hookExec('leftColumn'), 'HOOK_TOP' => Module::hookExec('top'), 'static_token' => Tools::getToken(false), 'token' => Tools::getToken(), 'priceDisplayPrecision' => _PS_PRICE_DISPLAY_PRECISION_, 'content_only' => intval(Tools::getValue('content_only')), 'id_parentcategory' => $parentCategory, 'categ1' => $categ1 )); in your header.tpl {if $categ1 == 2 || $id_parentcategory == 2 } {elseif $categ1 == 6 || $id_parentcategory == 6 } {elseif $categ1 == 12 || $id_parentcategory == 12} {elseif $categ1 == 13 || $id_parentcategory == 13} {else} {/if} Hope you can go live as soon as possible.
  12. Hi steven, I had the same problem. This is how i solved it 1) in your header.php you have to do add the code to get the parent category id using the _.Get method as pointed out by rocky earlier in this post 2) pass it as a smarty assign for the header.tpl 3) compare the parent id in if statemet in header.tpl for appropriate banner per parent id You will also have to check for product id by doing a _get(id_product) then use that to get the parent of that product to compare in the header.tpl just in case the user is on the product details page.
  13. i sorted out my issue... the problem was that as per one forum post i needed to order my attributes and attribute groups... so i had 001. 002. 003. in all my attributes... now when prestashop was indexing for the search, it was indexing 001.Atribute name instead of only the "attribute name". I had to sit and add a space to all my attributes and regenerate the index and it works fine now... kindly note, this problem occured because if prestashop has indexed "001.attribute name" and one searches for "attribute" it doesnt seem to be picking up parts of words... so only a search for "name" or "001.attribute" would lead to a match. hope this helps...
  14. doesnt seem to work... is there any $smarty->assign that i need to do in the block-categories.php ???
  15. thanks a mil. the earlier code that you had given me to access the parent category id to change the banner worked great. however i want to use the same in the category-tree-branch.tpl but the $id_parentcategory doesnt seem to be accessible there. is there a way to set it globally or something if not how can one achieve that?
  16. hi, is there a way to use GET() method to get the filename like category.php or contact.php ? let me know. thanks
  17. prestashop not searching combination names though very high weight given in search preferences any ideas... prestaahop v1.2.5
  18. i tried entering the url when on a different category and it opens the correct category.
  19. I have managed to do it this way 1) As far as the category description in rich text goes, someone on this list suggested that we edit the database directly but that only works for minor changes like you want to add a "mailto" or something small like that. If you want to add a table or something in full blown html it doesnt make sense to edit the database directly as the formatting gets messed up. a) create a CMS page in the admin panel and make your full html page there link the category you want to that cms page by editing the category.tpl 2) You have to edit the "category-tree-branch.tpl" file. add this just before {if $node.children|@count > 0} replace node names with the node names of your categories {if $node.name == "Thread Industry Moulds"} {$node.name|escape:'htmlall':'UTF-8'} {elseif $node.name == "Chilling Plants"} {$node.name|escape:'htmlall':'UTF-8'} {else} {$node.name|escape:'htmlall':'UTF-8'} {/if} Hope this helps
  20. hey any tips on customizing the standard category module to open all sub-categories when the parent category is clicked?
  21. can you tell me how i can adjust the default category module? thanks for helping out
  22. hey, just asked for it because i realised that when one has multiple sub categories, there is no point in making it difficult for the user to find what he is looking for, so one should have the option to see all sub-categories of that parent category. thanks
  23. Hey, Thanks for your reply. I just saw that link. However, in that link the parent categories "Department, theme, price, type" dont have sub categories. My page has sub categories, so i want all sub categories inside the parent category also to be opened when some one clicks on the parent category. Do you know anyway i can do that? i am using Rocky's sliding accordion module and it works great. Moreover, it should work the same way even without JS/AJAX so that in case the user has JS disabled the page refreshes but the clicking on the parent category will open all sub categories underneath it. I really like the filter text boxes on your site. Which module have you used there? i would like to use something similar on my website i hope you get what i mean.
  24. hey, can anyone post on this. does the treemanagement.js have to be modified in anyway for this? thanks
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More