[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 quick_updates.php

Zen Cart 源代码 quick_updates.php




下载文件

文件名: quick_updates.php
文件类型: PHP文件
文件大小: 1.75 KiB
MD5: cb6260dbc3b5bdc28e0a15306a4fed22

quick_updates.php - 关闭高亮
  1. <?php
  2. /**
  3.  * @package admin
  4.  * @copyright Copyright 2003-2006 Zen Cart Development Team
  5.  * @copyright Portions Copyright 2003 osCommerce
  6.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  7.  * @version $Id:  
  8.  */
  9.    // added for QUICKUPDATES_MODIFY_PURCHASE_AND_MARGIN updates
  10.   define('QUICKUPDATES_MODIFY_PURCHASE_AND_MARGIN', 'false');
  11.  
  12.   define('QUICKUPDATES_DISPLAY_ID_INFO', '<a target="_blank" href="' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'index.php?main_page=product_info&products_id=%1$s">' . '%3$s' . '</a>');
  13.  
  14.   // (Some of)the definitions below may (or should?) be moved to the quick_updates admin
  15.   define('QUICKUPDATES_COPY_PRODUCT_ID_DEFAULT', 1);
  16.   define('QUICKUPDATES_DISPLAY_THUMBNAIL_WIDTH', '30');
  17.   define('QUICKUPDATES_DISPLAY_THUMBNAIL_HEIGHT', '');
  18.  
  19.   // change to 'true' to enable wholesale price updates
  20.   define('QUICKUPDATES_MODIFY_WHOLESALE_PRICE', 'false');
  21.   //
  22.   define('QUICKUPDATES_MODIFY_WHOLESALE_PRICE_INPUT_SIZE', '6');
  23.  
  24.   // added for QUICKUPDATES_NEW_COLUMN_1
  25.   // look in admin/quick_updates.php for "added for QUICKUPDATES_NEW_COLUMN_1" to see what has been added, to make quick_updates support this extra column.
  26.   // (In my case I added "products_artlid" because I wanted to store the article id's from my main supplier into my database)
  27.   // Enable/disable the new column
  28.   define('QUICKUPDATES_MODIFY_NEW_COLUMN_1', 'false');
  29.   // The name of the column you added to your database products table
  30.   // (note: all other columns are not defined but hard coded, so this is the only "easy user configurable" column)
  31.   define('QUICKUPDATES_NEW_COLUMN_1', 'products_artlid');
  32.   // The table heading text for this extra column (actually belongs in the language file)
  33.   define('TABLE_HEADING_NEW_COLUMN_1', 'artlid');
  34. ?>