Exemplo n.º 1
0
 */
\Isotope\Model\ProductCollectionSurcharge::registerModelType('payment', 'Isotope\\Model\\ProductCollectionSurcharge\\Payment');
\Isotope\Model\ProductCollectionSurcharge::registerModelType('shipping', 'Isotope\\Model\\ProductCollectionSurcharge\\Shipping');
\Isotope\Model\ProductCollectionSurcharge::registerModelType('tax', 'Isotope\\Model\\ProductCollectionSurcharge\\Tax');
/**
 * Attributes
 */
\Isotope\Model\Attribute::registerModelType('text', 'Isotope\\Model\\Attribute\\TextField');
\Isotope\Model\Attribute::registerModelType('textarea', 'Isotope\\Model\\Attribute\\TextArea');
\Isotope\Model\Attribute::registerModelType('select', 'Isotope\\Model\\Attribute\\SelectMenu');
\Isotope\Model\Attribute::registerModelType('radio', 'Isotope\\Model\\Attribute\\RadioButton');
\Isotope\Model\Attribute::registerModelType('checkbox', 'Isotope\\Model\\Attribute\\CheckboxMenu');
\Isotope\Model\Attribute::registerModelType('mediaManager', 'Isotope\\Model\\Attribute\\MediaManager');
\Isotope\Model\Attribute::registerModelType('fileTree', 'Isotope\\Model\\Attribute\\FileTree');
\Isotope\Model\Attribute::registerModelType('downloads', 'Isotope\\Model\\Attribute\\Downloads');
\Isotope\Model\Attribute::registerModelType('upload', 'Isotope\\Model\\Attribute\\Upload');
/**
 * Notification Center notification types
 */
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['recipients'] = array('recipient_email');
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['attachment_tokens'] = array('form_*', 'document');
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'] = array('uniqid', 'order_status', 'order_status_old', 'order_status_id', 'order_status_id_old', 'recipient_email', 'order_id', 'order_items', 'order_products', 'order_subtotal', 'order_total', 'document_number', 'cart_html', 'cart_text', 'document', 'billing_address', 'billing_address_*', 'shipping_address', 'shipping_address_*', 'form_*', 'payment_id', 'payment_label', 'payment_note', 'shipping_id', 'shipping_label', 'shipping_note', 'config_*', 'member_*');
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_subject'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_html'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_replyTo'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['recipients'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_recipient_cc'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['recipients'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_recipient_bcc'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['recipients'];
/**
 * Models
 */
$GLOBALS['TL_MODELS'][\Isotope\Model\Address::getTable()] = 'Isotope\\Model\\Address';
Exemplo n.º 2
0
\Isotope\Model\ProductCollectionSurcharge::registerModelType('payment', 'Isotope\\Model\\ProductCollectionSurcharge\\Payment');
\Isotope\Model\ProductCollectionSurcharge::registerModelType('shipping', 'Isotope\\Model\\ProductCollectionSurcharge\\Shipping');
\Isotope\Model\ProductCollectionSurcharge::registerModelType('tax', 'Isotope\\Model\\ProductCollectionSurcharge\\Tax');
/**
 * Attributes
 */
\Isotope\Model\Attribute::registerModelType('text', 'Isotope\\Model\\Attribute\\TextField');
\Isotope\Model\Attribute::registerModelType('textarea', 'Isotope\\Model\\Attribute\\TextArea');
\Isotope\Model\Attribute::registerModelType('select', 'Isotope\\Model\\Attribute\\SelectMenu');
\Isotope\Model\Attribute::registerModelType('radio', 'Isotope\\Model\\Attribute\\RadioButton');
\Isotope\Model\Attribute::registerModelType('checkbox', 'Isotope\\Model\\Attribute\\CheckboxMenu');
\Isotope\Model\Attribute::registerModelType('mediaManager', 'Isotope\\Model\\Attribute\\MediaManager');
\Isotope\Model\Attribute::registerModelType('fileTree', 'Isotope\\Model\\Attribute\\FileTree');
\Isotope\Model\Attribute::registerModelType('downloads', 'Isotope\\Model\\Attribute\\Downloads');
\Isotope\Model\Attribute::registerModelType('upload', 'Isotope\\Model\\Attribute\\Upload');
\Isotope\Model\Attribute::registerModelType('media', 'Isotope\\Model\\Attribute\\Media');
/**
 * Notification Center notification types
 */
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['recipients'] = array('recipient_email');
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['attachment_tokens'] = array('form_*', 'document');
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'] = array('uniqid', 'order_status', 'order_status_old', 'order_status_id', 'order_status_id_old', 'recipient_email', 'order_id', 'order_items', 'order_products', 'order_subtotal', 'order_total', 'document_number', 'cart_html', 'cart_text', 'document', 'collection_*', 'billing_address', 'billing_address_*', 'shipping_address', 'shipping_address_*', 'form_*', 'payment_id', 'payment_label', 'payment_note', 'shipping_id', 'shipping_label', 'shipping_note', 'config_*', 'member_*');
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_subject'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_html'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_replyTo'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['recipients'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_recipient_cc'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['recipients'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_recipient_bcc'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['recipients'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['file_name'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['file_content'] =& $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'];
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_memberaddress_change']['recipients'] = array('admin_email', 'address_email', 'member_email');
$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_memberaddress_change']['email_subject'] = array('admin_email', 'address_*', 'address_old_*', 'member_*', 'config_*');
Exemplo n.º 3
0
$GLOBALS['ISO_HOOKS']['postCheckout']['setSetQuantity'] = array('HeimrichHannot\\IsotopePlus\\IsotopePlus', 'setSetQuantity');
$GLOBALS['ISO_HOOKS']['updateItemInCollection']['validateStockCollectionUpdate'] = array('HeimrichHannot\\IsotopePlus\\IsotopePlus', 'validateStockCollectionUpdate');
$GLOBALS['ISO_HOOKS']['buttons'][] = array('HeimrichHannot\\IsotopePlus\\IsotopePlus', 'addDownloadSingleProductButton');
$GLOBALS['ISO_HOOKS']['preOrderStatusUpdate']['updateStock'] = array('HeimrichHannot\\IsotopePlus\\IsotopePlus', 'updateStock');
$GLOBALS['TL_HOOKS']['replaceDynamicScriptTags'][] = array('HeimrichHannot\\IsotopePlus\\IsotopePlus', 'hookReplaceDynamicScriptTags');
/**
 * Frontend modules
 */
$GLOBALS['FE_MOD']['isotopeplus'] = array('iso_productfilterplus' => 'Isotope\\Module\\ProductFilterPlus', 'iso_productlistplus' => 'Isotope\\Module\\ProductListPlus', 'iso_stockreport' => 'Isotope\\Module\\ModuleStockReport', 'iso_orderreport' => 'Isotope\\Module\\ModuleOrderReport', 'iso_cart_link' => 'HeimrichHannot\\IsotopePlus\\Module\\CartLink', 'iso_orderhistory_plus' => 'Isotope\\Module\\OrderHistoryPlus', 'iso_orderdetails_plus' => 'Isotope\\Module\\OrderDetailsPlus', 'iso_direct_checkout' => 'Isotope\\Module\\DirectCheckout', 'iso_product_ranking' => 'Isotope\\Module\\ProductRanking');
if (in_array('slick', \ModuleLoader::getActive())) {
    $GLOBALS['FE_MOD']['isotopeplus']['iso_productlistslick'] = 'Isotope\\Module\\ProductListSlick';
}
/**
 * Notification Center Notification Types
 */
if (in_array('notification_center_plus', \ModuleLoader::getActive())) {
    $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'salutation_user';
    $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'salutation_form';
    $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'salutation_billing_address';
}
/**
 * Attributes
 */
\Isotope\Model\Attribute::registerModelType('youtube', 'Isotope\\Model\\Attribute\\Youtube');
/**
 * JS
 */
if (TL_MODE == 'FE') {
    $GLOBALS['TL_JAVASCRIPT']['tablesorter'] = 'assets/components/tablesorter/js/tablesorter.min.js|static';
    $GLOBALS['TL_JAVASCRIPT']['isotope_plus'] = 'system/modules/isotope_plus/assets/js/isotope_plus' . (!$GLOBALS['TL_CONFIG']['debugMode'] ? '.min' : '') . '.js|static';
}
<?php

/**
 * RadioImage extension for Isotope eCommerce provides an attribute that generates the product variant's gallery image
 * as label.
 *
 * Copyright (c) 2016 Richard Henkenjohann
 *
 * @package RadioImage
 * @author  Richard Henkenjohann <*****@*****.**>
 */
/**
 * Attributes
 */
\Isotope\Model\Attribute::registerModelType('radioImage', 'Isotope\\Model\\Attribute\\RadioImage');