Jump to content

anafor

Members
  • Posts

    16
  • Joined

  • Last visited

anafor's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I've found the solution!)) Thanks you very much, codegrunt! I've tried to enter url in browser as you told: "cart.php?add&ajax=true&qty=1&id_product=1&token=c111e173641a40c51b739ca280ac2fe7". And I've found the reason: there was a mysql warning (my "display_errors" in config.inc.php had been turned to "on") like Warning: Unknown: 1 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in Unknown on line 0 in the end of json response cart.php returned. I've just turned display_errors to "off" and everything works fine! Does anybody know how to remove this warning at all, even if display_errors turned on?
  2. It's very easy to do! 1. Uninstall the quicksearch module.(It's important!) 2. Find in modules\blocksearch\blocksearch.php line 19 and replace function install() { if (!parent::install() OR !$this->registerHook('top') OR !$this->registerHook('header')) return false; return true; } with function install() { if (!parent::install() OR !$this->registerHook('leftColumn')) return false; return true; } 3. Install the module. 4. See the result. Good luck!
  3. I'm sorry for my long absence. The site with such implementations is: http://new.innova.com.ua (it's in Russian). Here's default theme modified files(shuld be replaced with original ones in /themes/prestashop/): prestashop.zip
  4. Hello! I've already implemented this modification into my shop:-): You need to modify your template files: product.tpl, category.tpl, etc. Do you need the already modified ones? I could post it a little bit later when I will be at my own computer.
  5. Melinda, if I've understood you right, you said that there's no include(dirname(__FILE__).'/../../modules/mailalerts/mailalerts.php'); line in the myalerts.php. Yes, it's true. The pokemon3d's solution was to add one. I tried to do the same: it works for me. And I didn't even looked into mailalerts-ajax_check.php.
  6. pokemon3d, thank you, it works! I think it would be "clearer" to replace with include(dirname(__FILE__).'/mailalerts.php'); ;-) Good luck!
  7. Thanks a lot!) It is what I just wanted to do, but didn't know how.) And you're right, we were talking about different things. But, we had very similar problems with the first poster: I tried to find "as" and didn't found "asus", just like in the first poster's case. I found the reason why it was happening in my case. I hope it could help him or anybody else, but there's no guarantee, that it would.
  8. Search query = "asus k50c". $result = Array ( [0] => Array ( [id_product] => 23 [id_supplier] => 0 [id_manufacturer] => 0 [id_tax] => 1 [id_category_default] => 11 [id_color_default] => 0 [on_sale] => 0 [ean13] => [ecotax] => 0.00 [quantity] => 10 [price] => 4209.700000 [wholesale_price] => 0.000000 [reduction_price] => 0.00 [reduction_percent] => 0 [reduction_from] => 1942-01-01 [reduction_to] => 1942-01-01 [reference] => 36047 [supplier_reference] => 36047 [location] => [weight] => 0 [out_of_stock] => 2 [quantity_discount] => 0 [customizable] => 0 [uploadable_files] => 0 [text_fields] => 0 [active] => 1 [indexed] => 1 [date_add] => 2009-09-29 04:17:15 [date_upd] => 2009-09-29 04:17:15 [description_short] => ноутбук Asus K50C [C220SCENWW](15.6" HD,Cel 220 (1.2GHz),2G,250G, IGMA,DVDRW,WiFi,WC,DOS) [available_now] => [available_later] => [link_rewrite] => p23 [name] => ноутбук Asus K50C [C220SCENWW](15.6" HD,Cel 220 (1.2GHz),2G,250G, IGMA,DVDRW,WiFi,WC,DOS) [rate] => 0 [id_image] => [legend] => [manufacturer_name] => [position] => 19 ) ) $total = 0
  9. It seems to be a MySQL problem. I have a 5.0.67 version installed. The search returns correct results, but "SELECT FOUND_ROWS()" MySQL statement return 0 in any case. This problem was solved in yasearch module by repeating the MySQL search statement without the LIMIT. I've made the same thing with "search" function and it worked!
  10. Yes, of course! But it's a "dirty" solution, and has to be fixed properly, due to unpredictible behaviour :smirk: NB: the yasearch module is needed to be installed already to use it search.zip
  11. I've started a fresh 1.2.4 install and it's not case sensitive. But I've found a solution.) I've installed the yasearch module and draw attention, that it's search_adv function works fine. So, I've just replaced the reference to "search" function with "search_adv" one in /search.php. Everything works fine!)) I have no time to look into this problem to find out, why does it has such behaviour, I just need a fast simple solution, but it'very interesting for me, so I'll engage in it later. If anybody find the solution earlier, please, tell me, I will be very appreciate for it!))
  12. Тема старая, но может кому полезно будет. Есть модуль yasearch.
  13. I have the same problem(((. I have indexed the products in BO, but no result. What I'm doing wrong?
×
×
  • Create New...