Jump to content

kojie

Members
  • Content count

    7
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    ryan clemente
  1. Hi, I needed the similar thing. You only need to modify the $listing_sql at index.php that was modified by this contrib. Find this $listing_sql = "select distinct " . $select_column_list . " p.products_image, pd.products_name, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and " . $cat_Search . ""; And replace with this $listing_sql = "select distinct " . $select_column_list . " p.products_image, pd.products_name, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price, cat.categories_id as catid, cat.categories_image, catd.categories_id as catd_id , catd.categories_name from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p, " . TABLE_CATEGORIES . " cat, " . TABLE_CATEGORIES_DESCRIPTION . " catd left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and " . $cat_Search . " and cat.categories_id = p2c.categories_id and catd.categories_id = p2c.categories_id and catd.language_id = '" . (int)$languages_id . "' "; This will add the categorie name and image. You can remove the other id's since i only used them for checking.
  2. kojie

    Chase Manhattan Bank?

    looking for a module as well.. anybody has a link ?
  3. kojie

    BTSv1.2 Support

    does bts work w/ any discount module ? like credit class ? i tried installing credit class after bts but it won't let me install it or should i do it in reverse ? tnx
  4. kojie

    BTSv1.2 Support

    oh ic... Yep ive seen it , i just thought that that part is covered. Tnx any way and great contribution
  5. kojie

    BTSv1.2 Support

    hi, i wanted to edit the content boxes at the middle (includes/new_products.php), so i added in the templates/fallback dir includes/new_products.tpl.php but it didn't use it at all. How do i modify the template for that ?
  6. kojie

    Q about Bts

    bump
  7. kojie

    Q about Bts

    hi, Im new to oscommerce but have built a couple of x-cart sites. I am using BTS to template the site and using only the fallback template. I wanted to change how the boxes looked like, and i was able to fix most of it by just editing the boxes/box.tpl.php. But i also want to edit the box being displayed in the content, the one for includes/modules/new_products.php. I tried adding templates/modules/new_products.tpl.php but it didn't use it. Any help ?? regards --kojie
×