Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tefa

Pioneers
  • Posts

    19
  • Joined

  • Last visited

Profile Information

  • Real Name
    Lin Te Fa

tefa's Achievements

  1. function tep_remove_order() add some code below if (MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true') { $coupons_order_check_query = tep_db_query("select count(*) as total from " . TABLE_DISCOUNT_COUPONS_TO_ORDERS . " where orders_id='" . $order_id ."'"); $coupons_order_check = tep_db_fetch_array($coupons_order_check_query); if ($coupons_order_check['total'] > 0) { tep_db_query("delete from " . TABLE_DISCOUNT_COUPONS_TO_ORDERS . " where orders_id = '" . $order_id . "'"); } }
  2. When order delete from admin , the Tabel 'discount_coupons_to_order' haven't clear . so stats discount coupons have error and not correct. How ca i fix this issue. any ideas?? general.php fuction tep_remove_order()
  3. It's work good anything ,but tax rate is not includes into discount amount . Ex: discount 10% off subtotal : 100.0 -discount : 9.5 (it's must be 10) total : 90.5 (it's must be 90) any idea ??
  4. It's work pefect , But public static is not need( admin/includes/application_top.php no need to edit too) , and test on my shop. thank you!!
  5. Hi , jack thank yo reply, front side is disapear too, because in admin , when i edit the article , and then save . the image path will missing , so in front side , the image is disapear.But image is still in /image/article_manager_uploads. maybe in admin/article.php line 200~ , get something wrong, i think . case 'insert_article': case 'update_article': ................................... thank you
  6. Yes, everything is good, And the image is actually there . whan i post new article to topicle. but 2nd edit the article, then press preview adn then save , the image link will missing . maybe you can try , Just do nothing and then save the article . your image link will missing. But image is still in /iamges/article_manager_uploads . help, please , and i need to solution this bug. thank you
  7. missing uploaded article image or authors image When i edit artice in admin side , then press save . The image is missing. It's also happen in authors.php oscommerce 2.3.1 article manager 1.5.7_7
  8. Please help! How can i pass session to flash using $sid . TKS.
  9. Dynamic_sitemap.php fine <? //php require(DIR_WS_INCLUDES . 'column_right.php'); ?> change to <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> Best regards, Tefa
  10. Hi , All I got same problem too, and how can i fix the problem :'( regards, Tefa
  11. Dear all, I installed v1.3, and it's work fine. but my Mysql char is unicode(chinese),so it's display something wrong. And i had download ufpdf at http://www.acko.net/node/56. but i don't know how it's work. anybody can help me.tks. regards, Tefa
  12. It's ok to combin default_specials to this on,thank you.
  13. Dear sir, How can I combin default_specials(fix default_specials) into this one. <?php /* $Id: default_specials.php,v 2.0 2003/06/13 osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- default_specials //--> <tr> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_DEFAULT_SPECIALS, strftime('%B'))); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SPECIALS)); $new = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and s.status = '1' order by s.specials_date_added DESC limit " . MAX_DISPLAY_SPECIAL_PRODUCTS); $info_box_contents = array(); $row = 0; $col = 0; while ($default_specials = tep_db_fetch_array($new)) { $default_specials['products_name'] = tep_get_products_name($default_specials['products_id']); $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials["products_id"]) . '">' . tep_image(DIR_WS_IMAGES . $default_specials['products_image'], $default_specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials['products_id']) . '">' . $default_specials['products_name'] . '</a><br><s>' . $currencies->display_price($default_specials['products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($default_specials['specials_new_products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</span>'); $col ++; if ($col > 2) { $col = 0; $row ++; } } new contentBox($info_box_contents); ?> <!-- default_specials_eof //--> anybody can help me,thank you.
×
×
  • Create New...