[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * product_info_prices.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: product_info_prices.php 2599 2005-12-18 23:36:49Z drbyte $ 10 */ 11 12 13 if ($debug_on == '1') { 14 echo 'Looking at ' . (int)$_GET['products_id'] . '<br />'; 15 echo 'Base Price ' . zen_get_products_base_price((int)$_GET['products_id']) . '<br />'; 16 echo 'Actual Price ' . zen_get_products_actual_price((int)$_GET['products_id']) . '<br />'; 17 echo 'Special Price ' . zen_get_products_special_price((int)$_GET['products_id'], true) . '<br />'; 18 echo 'Sale Maker Discount Type ' . zen_get_products_sale_discount_type((int)$_GET['products_id']) . '<br />'; 19 echo 'Discount Calc ' . zen_get_discount_calc((int)$_GET['products_id']) . '<br />'; 20 echo 'Discount Calc Attr $100 $75 $50 $25 ' . zen_get_discount_calc((int)$_GET['products_id'], true, 100) . ' | ' . zen_get_discount_calc((int)$_GET['products_id'], true, 75) . ' | ' . zen_get_discount_calc((int)$_GET['products_id'], true, 50) . ' | ' . zen_get_discount_calc((int)$_GET['products_id'], true, 25) . '<br />'; 21 22 echo '<br> Start of page - product <br>' . 23 zen_get_show_product_switch($products_id_current, 'weight') . '<br>' . 24 zen_get_show_product_switch($products_id_current, 'weight_attributes') . '<br>' . 25 zen_get_show_product_switch($products_id_current, 'date_added') . '<br>' . 26 zen_get_show_product_switch($products_id_current, 'quantity') . '<br>' . 27 zen_get_show_product_switch($products_id_current, 'model') . '<br>' . 28 SHOW_PRODUCT_INFO_WEIGHT_ATTRIBUTES . '<br>' . 29 SHOW_PRODUCT_INFO_WEIGHT . '<br>' . 30 SHOW_PRODUCT_INFO_MANUFACTURER . '<br>' . 31 SHOW_PRODUCT_INFO_QUANTITY . '<br>' . 32 '<br>'; 33 } 34 ?> 35 <?php 36 if (false) { 37 echo 'Looking at ' . (int)$_GET['products_id'] . '<br />'; 38 echo 'Base Price ' . zen_get_products_base_price((int)$_GET['products_id']) . '<br />'; 39 echo 'Actual Price ' . zen_get_products_actual_price((int)$_GET['products_id']) . '<br />'; 40 echo 'Special Price ' . zen_get_products_special_price((int)$_GET['products_id'], true) . '<br />'; 41 echo 'Sale Maker Discount Type ' . zen_get_products_sale_discount_type((int)$_GET['products_id']) . '<br />'; 42 echo 'Discount Calc ' . zen_get_discount_calc((int)$_GET['products_id']) . '<br />'; 43 echo 'Discount Calc Attr $100 $75 $50 $25 ' . zen_get_discount_calc((int)$_GET['products_id'], true, 100) . ' | ' . zen_get_discount_calc((int)$_GET['products_id'], true, 75) . ' | ' . zen_get_discount_calc((int)$_GET['products_id'], true, 50) . ' | ' . zen_get_discount_calc((int)$_GET['products_id'], true, 25) . '<br />'; 44 } 45 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 16:45:43 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |