Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/sale/ |
Upload File : |
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?><? /* MEASUREMENTS TABLE U can customize it by copying to php_interface and changing what ya want. Don't forget about lang files. Path to this file is taken from the module setting 'measurement_path'. NAMEs're customizing in a lang file. CATEGORIES (ex): "W"eight, "L"inear, "V"olume, "S"quare, etc... KOEF - to gram */ IncludeModuleLangFile(__FILE__); $arMeasurementsTable = array( "MG" => array( "NAME" => GetMessage("MEASURE_MG"), "CATEGORY" => "W", "KOEF" => 0.001, ), "G" => array( "NAME" => GetMessage("MEASURE_G"), "CATEGORY" => "W", "KOEF" => 1, ), "KG" => array( "NAME" => GetMessage("MEASURE_KG"), "CATEGORY" => "W", "KOEF" => 1000, ), "T" => array( "NAME" => GetMessage("MEASURE_T"), "CATEGORY" => "W", "KOEF" => 1000000, ), "LBS" => array( "NAME" => GetMessage("MEASURE_LBS"), "CATEGORY" => "W", "KOEF" => 453.59, ), "OZ" => array( "NAME" => GetMessage("MEASURE_OZ"), "CATEGORY" => "W", "KOEF" => 28.35, ), ); ?>