Jump to content

rosaline94

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • First Name
    rosaline
  • Last Name
    kusuma

rosaline94's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Maaf numpang tanya, bagaimana cara membuat pencariaan berdasarkan kategori ? Saya bingung cara membuatnya. Thanks
  2. you can change in classes/search.php and change query. before : $intersect_array[] = 'SELECT si.id_product FROM '._DB_PREFIX_.'search_word sw LEFT JOIN '._DB_PREFIX_.'search_index si ON sw.id_word = si.id_word WHERE sw.id_lang = '.(int)$id_lang.' AND sw.id_shop = '.$context->shop->id.' AND sw.word LIKE '.($word[0] == '-' ? ' \''.$start_search.pSQL(Tools::substr($word, 1, PS_SEARCH_MAX_WORD_LENGTH)).'\'' : ' \''.$start_search.pSQL(Tools::substr($word, 0, PS_SEARCH_MAX_WORD_LENGTH)).'\'' ); if ($word[0] != '-') $score_array[] = 'sw.word LIKE \''.$start_search.pSQL(Tools::substr($word, 0, PS_SEARCH_MAX_WORD_LENGTH)).'%\''; after: $intersect_array[] = 'SELECT DISTINCT(pl.id_product) FROM '._DB_PREFIX_.'product_lang pl WHERE pl.id_shop = '.$context->shop->id.' AND pl.name LIKE '.($word[0] == '-' ? ' \''.$start_search.pSQL(Tools::substr($word, 1, PS_SEARCH_MAX_WORD_LENGTH)).'%\'' : ' \''.$start_search.pSQL(Tools::substr($word, 0, PS_SEARCH_MAX_WORD_LENGTH)).'%\'' ); if ($word[0] != '-') $score_array[] = 'pl.name LIKE \''.$start_search.pSQL(Tools::substr($word, 0, PS_SEARCH_MAX_WORD_LENGTH)).'%\'';
  3. Thank You for a reply,Paul. I want to make menu like this. Could you help me about this?
  4. I will make menu like Lazada or Bhinneka which I can show picture category in menu .Please help me. Thank you very much.
×
×
  • Create New...

Important Information

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