<?php
/**
* @version      4.18.3 13.02.2019
* @author       MAXXmarketing GmbH
* @package      Jshopping
* @copyright    Copyright (C) 2010 webdesigner-profi.de. All rights reserved.
* @license      GNU/GPL
*/
defined('_JEXEC') or die();

$config->load_id = 1;

$config->path = JPATH_ROOT."/components/com_jshopping/";
$config->admin_path = JPATH_ROOT.'/administrator/components/com_jshopping/';

$config->live_path = JURI::root().'components/com_jshopping/';
$config->live_admin_path = JURI::root().'administrator/components/com_jshopping/';

$config->log_path = JPATH_ROOT."/components/com_jshopping/log/";

$config->importexport_live_path = $config->live_path."files/importexport/";
$config->importexport_path = $config->path."files/importexport/";

$config->image_category_live_path = $config->live_path."files/img_categories";
$config->image_category_path = $config->path."files/img_categories";

$config->image_product_live_path = $config->live_path."files/img_products";
$config->image_product_path = $config->path."files/img_products";

$config->image_manufs_live_path = $config->live_path."files/img_manufs";
$config->image_manufs_path = $config->path."files/img_manufs";

$config->video_product_live_path = $config->live_path."files/video_products";
$config->video_product_path = $config->path."files/video_products";

$config->demo_product_live_path = $config->live_path."files/demo_products";
$config->demo_product_path = $config->path."files/demo_products";

$config->files_product_live_path = $config->live_path."files/files_products";
$config->files_product_path = $config->path."files/files_products";

$config->pdf_orders_live_path = $config->live_path."files/pdf_orders";
$config->pdf_orders_path = $config->path."files/pdf_orders";

$config->image_attributes_live_path = $config->live_path."files/img_attributes";
$config->image_attributes_path = $config->path."files/img_attributes";

$config->image_labels_live_path = $config->live_path."files/img_labels";
$config->image_labels_path = $config->path."files/img_labels";

$config->image_vendors_live_path = $config->live_path."files/img_vendors";
$config->image_vendors_path = $config->path."files/img_vendors";

$config->template_path = $config->path."templates/";

$config->css_path = $config->path."css/";
$config->css_live_path = $config->live_path."css/";

$config->file_generete_pdf_order = $config->path."lib/generete_pdf_order.php";

$config->xml_update_path = "http://www.webdesigner-profi.de/joomla-webdesign/update/update.xml";
$config->updates_site_path = "http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/updates.html";
$config->updates_server['sm0'] = "http://www.webdesigner-profi.de/joomla-webdesign/update/sm0";
$config->updates_server['sm1'] = "http://demo.joomshopping.com/demo";
$config->display_updates_version = 1;
$config->noimage = 'noimage.gif';
$config->shippinginfourl = 'index.php?option=com_jshopping&controller=content&task=view&page=shipping';

$config->user_field_client_type = array(
    0=> '_JSHOP_REG_SELECT',
    1=> '_JSHOP_PRIVAT_CLIENT',
    2=> '_JSHOP_FIRMA_CLIENT'
);

$config->user_field_title = array(
    0=> '_JSHOP_REG_SELECT',
    1=> '_JSHOP_MR',
    2=> '_JSHOP_MS'
);

$config->sorting_products_field_select = array(
    1=>'name',
    2=>'prod.product_price',
    3=>'prod.product_date_added',
    5=>'prod.average_rating',
    6=>'prod.hits',
    4=>'pr_cat.product_ordering'
);
$config->sorting_products_name_select = array(
    1=> '_JSHOP_SORT_ALPH',
    2=> '_JSHOP_SORT_PRICE',
    3=> '_JSHOP_SORT_DATE',
    5=> '_JSHOP_SORT_RATING',
    6=> '_JSHOP_SORT_POPULAR',
    4=> '_JSHOP_SORT_MANUAL'
);

$config->sorting_products_field_s_select = array(
    1 => 'name',
    2=>'prod.product_price',
    3=>'prod.product_date_added',
    5=>'prod.average_rating',
    6=>'prod.hits'
);
$config->sorting_products_name_s_select = array(
   1=> '_JSHOP_SORT_ALPH',
    2=> '_JSHOP_SORT_PRICE',
    3=> '_JSHOP_SORT_DATE',
    5=> '_JSHOP_SORT_RATING',
    6=> '_JSHOP_SORT_POPULAR'
);

$config->format_currency = array(
    '1' => '00Symb',
    '00 Symb',
    'Symb00',
    'Symb 00'
);
$config->count_product_select = array(
    '5'=>5,
    '10' => 10,
    '15' => 15,
    '20' => 20,
    '25' => 25,
    '50' => 50,
    '99999'=> '_JSHOP_ALL'
);

$config->payment_status_enable_download_sale_file = array(5, 6, 7);
$config->payment_status_return_product_in_stock = array(3, 4);
$config->payment_status_for_cancel_client = 3;
$config->payment_status_disable_cancel_client = array(7);
$config->payment_status_paid = 6;
$config->order_stock_removed_only_paid_status = 0;
$config->cart_back_to_shop = "list"; //product, list, shop
$config->product_button_back_use_end_list = 0;
$config->display_tax_id_in_pdf = 0;
$config->image_quality = 100;
$config->image_fill_color = 0xffffff;
$config->image_interlace = 1;
$config->product_price_qty_discount = 2; // (1 - price, 2 - percent)
$config->rating_starparts = 2; //star is divided to {2} part
$config->show_list_price_shipping_weight = 0;
$config->product_price_precision = 2;
$config->cart_decimal_qty_precision = 2;
$config->product_add_price_default_unit = 3;
$config->default_frontend_currency = 0;
$config->product_file_upload_via_ftp = 0; //0 - upload file, 1- set name file, 2- {0,1}
$config->product_file_upload_count = 1;
$config->product_image_upload_count = 10;
$config->image_product_max_size_file = 0; //kb
$config->product_video_upload_count = 3;
$config->max_number_download_sale_file = 3; //0 - unlimit
$config->max_day_download_sale_file = 365; //0 - unlimit
$config->show_insert_code_in_product_video = 0;
$config->order_display_new_digital_products = 1;
$config->display_user_groups_info = 1;
$config->display_user_group = 1;
$config->display_delivery_time_for_product_in_order_mail = 1;
$config->show_delivery_time_checkout = 1;
$config->show_delivery_date = 0;
$config->load_jquery_lightbox = 1;
$config->load_javascript = 1;
$config->load_css = 1;
$config->tax = 1;
$config->show_manufacturer_in_cart = 0;
$config->count_products_to_page_tophits = 12;
$config->count_products_to_page_toprating = 12;
$config->count_products_to_page_label = 12;
$config->count_products_to_page_bestseller = 12;
$config->count_products_to_page_random = 12;
$config->count_products_to_page_last = 12;
$config->count_products_to_page_search = 12;
$config->count_products_to_row_tophits = 3;
$config->count_products_to_row_toprating = 3;
$config->count_products_to_row_label = 3;
$config->count_products_to_row_bestseller = 3;
$config->count_products_to_row_random = 3;
$config->count_products_to_row_last = 3;
$config->count_products_to_row_search = 3;
$config->count_manufacturer_to_row = 2;
$config->admin_count_related_search = 20;
$config->date_invoice_in_invoice = 0;
$config->weight_in_invoice = 0;
$config->payment_in_invoice = 0;
$config->shipping_in_invoice = 0;
$config->display_null_package_price = 0;
$config->tax_on_delivery_address = 0;
$config->stock = 1;
$config->display_short_descr_multiline = 0;
$config->price_product_round = 1;
$config->send_order_email = 1;
$config->send_invoice_manually = 0;
$config->display_agb = 1;
$config->check_php_agb = 0;
$config->field_birthday_format = '%d.%m.%Y';
$config->cart_basic_price_show = 0;
$config->list_products_calc_basic_price_from_product_price = 0;
$config->calc_basic_price_from_product_price = 0;
$config->not_update_user_joomla = 0;
$config->update_username_joomla = 0;
$config->step_4_3 = 0;
$config->user_discount_not_apply_prod_old_price = 0;
$config->ordernumberlength = 8;
$config->no_fix_brutoprice_to_tax = 0;
$config->admin_order_edit_more = 0;
$config->return_policy_for_product = 0;
$config->no_return_all = 0;
$config->show_return_policy_text_in_email_order = 0;
$config->show_return_policy_text_in_pdf = 0;
$config->hide_delivery_time_out_of_stock = 0;
$config->attr_display_addprice_all_sign = 0;
$config->formatprice_style_currency_span = 0;
$config->adm_prod_list_default_sorting = 'product_id';
$config->adm_prod_list_default_sorting_dir = 'asc';
$config->get_last_products_order_query = 'prod.product_id';
$config->user_registered_download_sale_file = 0;
$config->multi_charactiristic_separator = ", ";
$config->advert = 1;
$config->hide_weight_in_cart_weight0 = 1;
$config->hide_from_basic_price = 0;
$config->ext_menu_checkout_step = 0;
$config->product_hide_price_null = 0;
$config->admin_show_weight = 1;
$config->frontend_select_class_css = 'inputbox';
$config->frontend_attribute_select_class_css = 'inputbox';
$config->registration_select_class_css = 'inputbox';
$config->frontend_attribute_select_size = 1;
$config->free_shipping_calc_from_total_and_discount = 0;
$config->auto_backup_addon_files = 1;
$config->send_admin_mail_order_status_appadmin = 0;
$config->checkout_step4_show_error_shipping_config = 1;
$config->category_sorting_direction = 'asc';
$config->manufacturer_sorting_direction = 'asc';
$config->get_vendors_order_query = 'shop_name';
$config->order_notfinished_default = 0;
$config->display_tax_0 = 0;
$config->rating_star_width = 16;
$config->video_html5 = 1;
$config->video_html5_type = '';
$config->audio_html5_type = '';
$config->file_extension_video = array(
    'mp4'
);
$config->file_extension_audio = array(
    'mp3'
);
$config->product_imagename_lowercase = 0;
$config->show_cart_clear = 0;
$config->hide_product_rating = 0;
$config->show_client_id_in_my_account = 0;
$config->orderchangestatus_email_html = 0;
$config->search_form_method = 'post';
$config->admin_list_related_show_prod_code = 1;
$config->manufacturer_code_in_cart = 0;
$config->manufacturer_code_in_product_list = 0;
$config->manufacturer_code_in_product_detail = 0;
$config->product_list_pagination_result_counter = 1;
$config->admin_product_list_manufacture_code = 0;
$config->register_mail_html_format = false;
$config->register_mail_admin_html_format = false;
$config->activation_mail_html_format = false;
$config->activation_mail_admin_html_format = false;
$config->step5_check_coupon = true;
$config->disable_association = 0;
$config->checkout_step5_show_email = 0;
$config->checkout_step5_show_phone = 0;
$config->productDownloadFilePart8kb = 1;

$config->default_template_block_list_product = 'list_products/list_products.php';
$config->default_template_no_list_product = 'list_products/no_products.php';
$config->default_template_block_form_filter_product = 'list_products/form_filters.php';
$config->default_template_block_pagination_product = 'list_products/block_pagination.php';

$config->file_jquery_media_js = $config->live_path.'js/jquery/jquery.media.js';
$config->file_functions_js = $config->live_path.'js/functions.js';
$config->file_validateform_js = $config->live_path.'js/validateForm.js';
$config->file_lightbox_js = $config->live_path.'js/jquery/jquery.lightbox.js';
$config->file_lightbox_css = $config->live_path.'css/jquery.lightbox.css';
$config->script_lightbox_init = 'function initJSlightBox(){
    jQuery("a.lightbox").lightBox({
        imageLoading: "'.JURI::root().'components/com_jshopping/images/loading.gif",
        imageBtnClose: "'.JURI::root().'components/com_jshopping/images/close.gif",
        imageBtnPrev: "'.JURI::root().'components/com_jshopping/images/prev.gif",
        imageBtnNext: "'.JURI::root().'components/com_jshopping/images/next.gif",
        imageBlank: "'.JURI::root().'components/com_jshopping/images/blank.gif",
        txtImage: "'.(defined('_JSHOP_IMAGE')?_JSHOP_IMAGE:'image').'",
        txtOf: "'.(defined('_JSHOP_OF')?_JSHOP_OF:'of').'"
    });
}
jQuery(function() { initJSlightBox(); });';
$config->file_metadata_js = $config->live_path.'js/jquery/jquery.MetaData.js';
$config->file_rating_js = $config->live_path.'js/jquery/jquery.rating.pack.js';
$config->file_rating_css = $config->live_path.'css/jquery.rating.css';

$config->product_search_fields = array(
    'prod.ml:name',
    'prod.ml:short_description',
    'prod.ml:description',
    'prod.product_ean',
    'prod.manufacturer_code'
);

$config->attribut_dep_sorting_in_product = "V.value_ordering"; // (V.value_ordering, value_name, PA.price, PA.ean, PA.count)
$config->attribut_nodep_sorting_in_product = "V.value_ordering"; // (V.value_ordering, value_name, addprice)
$config->new_extra_field_type = 'varchar(100)';

$config->disable_admin = array(
    'product_price_per_consignment' => 0,
    'product_old_price' => 0,
    'product_ean' => 0,
    'manufacturer_code' => 0,
    'product_url' => 0,
    'product_manufacturer' => 0,
    'currencies' => 0,
    'orderstatus' => 0,
    'countries' => 0,
    'usergroups' => 0,
    'importexport' => 0,
    'addons' => 0,
    'statistic' => 0
);

$config->sys_static_text = array(
    'home',
    'manufacturer',
    'agb',
    'return_policy',
    'order_email_descr',
    'order_email_descr_manually',
    'order_email_descr_end',
    'order_finish_descr',
    'shipping',
    'privacy_statement',
    'cart'
);

$other_config = array(
    'auto_backup_addon_files',
    'tax_on_delivery_address',
    "cart_back_to_shop",
    "product_button_back_use_end_list",
    "display_tax_id_in_pdf",
    "product_price_qty_discount",
    "rating_starparts",
    "show_list_price_shipping_weight",
    "product_price_precision",
    "cart_decimal_qty_precision",
    "default_frontend_currency",
    "product_file_upload_via_ftp",
    "product_file_upload_count",
    "product_image_upload_count",
    "product_video_upload_count",
    "show_insert_code_in_product_video",
    "max_number_download_sale_file",
    "max_day_download_sale_file",
    "order_display_new_digital_products",
    "display_user_groups_info",
    "display_user_group",
    "load_jquery_lightbox",
    "load_javascript",
    "load_css",
    'list_products_calc_basic_price_from_product_price',
    'hide_from_basic_price','calc_basic_price_from_product_price',
    'user_discount_not_apply_prod_old_price',
    'advert'
);

$other_config_checkbox = array(
    'auto_backup_addon_files',
    'tax_on_delivery_address',
    'product_button_back_use_end_list',
    "show_list_price_shipping_weight",
    "display_tax_id_in_pdf",
    "show_insert_code_in_product_video",
    "order_display_new_digital_products",
    "display_user_groups_info",
    "display_user_group",
    "load_jquery_lightbox",
    "load_css",
    "load_javascript",
    'set_old_price_after_group_set_price',
    'list_products_calc_basic_price_from_product_price',
    'hide_from_basic_price',
    'calc_basic_price_from_product_price',
    'user_discount_not_apply_prod_old_price',
    'advert'
);
$other_config_select = array(
    'cart_back_to_shop'=>array(
        'product'=>'product',
        'list'=>'list',
        'shop'=>'shop'
    ),
    'product_price_qty_discount'=>array(
        '1'=>'price',
        '2'=>'percent'
    ),
    'product_file_upload_via_ftp'=>array(
        0=>'upload_file',
        1=>'set_name_file',
        2=>'upload_file_or_set_name_file'
    )
);

$adminfunction_other_config = array(
    'tax',
    'stock',
    'admin_show_weight'
);

$checkout_other_config = array(
    'display_delivery_time_for_product_in_order_mail',
    'show_delivery_date',
    'show_delivery_time_checkout',
    'show_manufacturer_in_cart',
    'weight_in_invoice',
    'shipping_in_invoice',
    'payment_in_invoice',
    'date_invoice_in_invoice',
    'send_invoice_manually',
    'display_agb',
    'cart_basic_price_show',
    'step_4_3',
    'user_number_in_invoice',
    'return_policy_for_product',
    'no_return_all',
    'show_return_policy_text_in_email_order',
    'show_return_policy_text_in_pdf',
    'ext_menu_checkout_step',
    'not_redirect_in_wishlist_after_buy',
    'manufacturer_code_in_cart'
);

$catprod_other_config = array(
    'count_products_to_page_tophits',
    'count_products_to_page_toprating',
    'count_products_to_page_label',
    'count_products_to_page_bestseller',
    'count_products_to_page_random',
    'count_products_to_page_last',
    'count_products_to_page_search',
    'count_products_to_row_tophits',
    'count_products_to_row_toprating',
    'count_products_to_row_label',
    'count_products_to_row_bestseller',
    'count_products_to_row_random',
    'count_products_to_row_last',
    'count_products_to_row_search',
    'display_short_descr_multiline',
    'count_manufacturer_to_row',
    'attribut_dep_sorting_in_product',
    'attribut_nodep_sorting_in_product',
    'product_hide_price_null',
    'manufacturer_code_in_product_list',
    'manufacturer_code_in_product_detail',
);

$image_other_config = array(
    "image_quality",
    "image_fill_color",
    "video_html5",
    "video_html5_type"
);

$fields_client_sys = array();
$fields_client_sys['register'][] = "email";

$fields_client = array();
$fields_client['register'][] = "title";
$fields_client['register'][] = "f_name";
$fields_client['register'][] = "l_name";
$fields_client['register'][] = "m_name";
$fields_client['register'][] = "client_type";
$fields_client['register'][] = "firma_name";
$fields_client['register'][] = "firma_code";
$fields_client['register'][] = "tax_number";
$fields_client['register'][] = "email";
$fields_client['register'][] = "email2";
$fields_client['register'][] = "birthday";
$fields_client['register'][] = "home";
$fields_client['register'][] = "apartment";
$fields_client['register'][] = "street";
$fields_client['register'][] = "street_nr";
$fields_client['register'][] = "zip";
$fields_client['register'][] = "city";
$fields_client['register'][] = "state";
$fields_client['register'][] = "country";
$fields_client['register'][] = "phone";
$fields_client['register'][] = "mobil_phone";
$fields_client['register'][] = "fax";
$fields_client['register'][] = "ext_field_1";
$fields_client['register'][] = "ext_field_2";
$fields_client['register'][] = "ext_field_3";
$fields_client['register'][] = "privacy_statement";
$fields_client['register'][] = "u_name";
$fields_client['register'][] = "password";
$fields_client['register'][] = "password_2";

$fields_client_sys['address'][] = array();

$fields_client['address'][] = "title";
$fields_client['address'][] = "f_name";
$fields_client['address'][] = "l_name";
$fields_client['address'][] = "m_name";
$fields_client['address'][] = "client_type";
$fields_client['address'][] = "firma_name";
$fields_client['address'][] = "firma_code";
$fields_client['address'][] = "tax_number";
$fields_client['address'][] = "email";
$fields_client['address'][] = "email2";
$fields_client['address'][] = "birthday";
$fields_client['address'][] = "home";
$fields_client['address'][] = "apartment";
$fields_client['address'][] = "street";
$fields_client['address'][] = "street_nr";
$fields_client['address'][] = "zip";
$fields_client['address'][] = "city";
$fields_client['address'][] = "state";
$fields_client['address'][] = "country";
$fields_client['address'][] = "phone";
$fields_client['address'][] = "mobil_phone";
$fields_client['address'][] = "fax";
$fields_client['address'][] = "ext_field_1";
$fields_client['address'][] = "ext_field_2";
$fields_client['address'][] = "ext_field_3";
$fields_client['address'][] = "privacy_statement";

$fields_client['address'][] = "d_title";
$fields_client['address'][] = "d_f_name";
$fields_client['address'][] = "d_l_name";
$fields_client['address'][] = "d_m_name";
$fields_client['address'][] = "d_firma_name";
$fields_client['address'][] = "d_email";
$fields_client['address'][] = "d_birthday";
$fields_client['address'][] = "d_home";
$fields_client['address'][] = "d_apartment";
$fields_client['address'][] = "d_street";
$fields_client['address'][] = "d_street_nr";
$fields_client['address'][] = "d_zip";
$fields_client['address'][] = "d_city";
$fields_client['address'][] = "d_state";
$fields_client['address'][] = "d_country";
$fields_client['address'][] = "d_phone";
$fields_client['address'][] = "d_mobil_phone";
$fields_client['address'][] = "d_fax";
$fields_client['address'][] = "d_ext_field_1";
$fields_client['address'][] = "d_ext_field_2";
$fields_client['address'][] = "d_ext_field_3";

$fields_client_sys['editaccount'][] = array();

$fields_client['editaccount'][] = "title";
$fields_client['editaccount'][] = "f_name";
$fields_client['editaccount'][] = "l_name";
$fields_client['editaccount'][] = "m_name";
$fields_client['editaccount'][] = "client_type";
$fields_client['editaccount'][] = "firma_name";
$fields_client['editaccount'][] = "firma_code";
$fields_client['editaccount'][] = "tax_number";
$fields_client['editaccount'][] = "email";
$fields_client['editaccount'][] = "birthday";
$fields_client['editaccount'][] = "home";
$fields_client['editaccount'][] = "apartment";
$fields_client['editaccount'][] = "street";
$fields_client['editaccount'][] = "street_nr";
$fields_client['editaccount'][] = "zip";
$fields_client['editaccount'][] = "city";
$fields_client['editaccount'][] = "state";
$fields_client['editaccount'][] = "country";
$fields_client['editaccount'][] = "phone";
$fields_client['editaccount'][] = "mobil_phone";
$fields_client['editaccount'][] = "fax";
$fields_client['editaccount'][] = "ext_field_1";
$fields_client['editaccount'][] = "ext_field_2";
$fields_client['editaccount'][] = "ext_field_3";
$fields_client['editaccount'][] = "privacy_statement";
$fields_client['editaccount'][] = "password";
$fields_client['editaccount'][] = "password_2";

$fields_client['editaccount'][] = "d_title";
$fields_client['editaccount'][] = "d_f_name";
$fields_client['editaccount'][] = "d_l_name";
$fields_client['editaccount'][] = "d_m_name";
$fields_client['editaccount'][] = "d_firma_name";
$fields_client['editaccount'][] = "d_email";
$fields_client['editaccount'][] = "d_birthday";
$fields_client['editaccount'][] = "d_home";
$fields_client['editaccount'][] = "d_apartment";
$fields_client['editaccount'][] = "d_street";
$fields_client['editaccount'][] = "d_street_nr";
$fields_client['editaccount'][] = "d_zip";
$fields_client['editaccount'][] = "d_city";
$fields_client['editaccount'][] = "d_state";
$fields_client['editaccount'][] = "d_country";
$fields_client['editaccount'][] = "d_phone";
$fields_client['editaccount'][] = "d_mobil_phone";
$fields_client['editaccount'][] = "d_fax";
$fields_client['editaccount'][] = "d_ext_field_1";
$fields_client['editaccount'][] = "d_ext_field_2";
$fields_client['editaccount'][] = "d_ext_field_3";

//deprecated
$config->arr['title'] = $config->user_field_title;