[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 源代码 shopping_cart_contents.php

Zen Cart 源代码 shopping_cart_contents.php




下载文件

文件名: shopping_cart_contents.php
文件类型: PHP文件
文件大小: 1.13 KiB
MD5: 3deab944b317edcfab9561aae585240f

shopping_cart_contents.php - 关闭高亮
  1. <?php
  2. /**
  3.  * shopping_cart_contents.php
  4.  *
  5.  * @package debugTools
  6.  * @copyright Copyright 2003-2005 Zen Cart Development Team
  7.  * @copyright Portions Copyright 2003 osCommerce
  8.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  9.  * @version $Id: shopping_cart_contents.php 2698 2005-12-27 05:35:21Z drbyte $
  10.  */
  11.  
  12.  
  13. if ($debug_on == '1') {
  14. //      echo 'I SHOW IN CART MIXED Product ID 168 on ' . $_SESSION['cart']->in_cart_mixed_discount_quantity('168:d89443fdf309475ce09268e1c1db12dc') . '<br>';
  15. //      echo 'I SHOW IN CART MIXED Product ID 169 off ' . $_SESSION['cart']->in_cart_mixed_discount_quantity('169:d370574074572c79a9d0c96b069f6e32') . '<br>';
  16.  
  17.       echo 'I AM GV ONLY ' . $_SESSION['cart']->gv_only() . ' - ' . $_SESSION['cart']->get_content_type() . '<br />';
  18.       echo 'Free Products: ' .  $_SESSION['cart']->in_cart_check('product_is_free','1') . '<br />';
  19.       echo 'Virtual Products: ' .  $_SESSION['cart']->in_cart_check('products_virtual','1') . '<br />';
  20.       echo 'Free Shipping Products: ' .  $_SESSION['cart']->in_cart_check('product_is_always_free_shipping','1') . '<br />';
  21.     }
  22. ?>