Version Notes
Fix help text typos
Download this release
Release Info
Developer | Michael A. Smith |
Extension | eBay_Enterprise_Affiliate_Extension |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- app/code/community/EbayEnterprise/Affiliate/Block/Beacon.php +0 -163
- app/code/community/EbayEnterprise/Affiliate/Exception/Configuration.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Helper/Config.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Helper/Data.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Helper/Map.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Helper/Map/Order.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Helper/Map/Product.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/Feed/Abstract.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/Feed/Order/Abstract.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/Feed/Order/Basic.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/Feed/Order/Itemized.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/Feed/Product.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/Observer.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Attributes.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Categories.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Stockquantity.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Stockyesno.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Transactiontype.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Visibilityyesno.php +16 -0
- app/code/community/EbayEnterprise/Affiliate/etc/adminhtml.xml +15 -0
- app/code/community/EbayEnterprise/Affiliate/etc/config.xml +16 -1
- app/code/community/EbayEnterprise/Affiliate/etc/system.xml +20 -5
- app/code/community/EbayEnterprise/Affiliate/sql/eems_affiliate_setup/install-1.0.0.1.php +16 -0
- app/design/frontend/base/default/layout/eems_affiliate.xml +15 -0
- app/design/frontend/base/default/template/eems_affiliate/beacon.phtml +18 -0
- app/etc/modules/EbayEnterprise_Affiliate.xml +15 -0
- package.xml +8 -7
app/code/community/EbayEnterprise/Affiliate/Block/Beacon.php
DELETED
@@ -1,163 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
class EbayEnterprise_Affiliate_Block_Beacon extends Mage_Core_Block_Template
|
3 |
-
{
|
4 |
-
/**
|
5 |
-
* The 'PID' beacon URL querystring key
|
6 |
-
*/
|
7 |
-
const KEY_PID = 'PID';
|
8 |
-
/**
|
9 |
-
* The 'OID' beacon URL querystring key
|
10 |
-
*/
|
11 |
-
const KEY_OID = 'OID';
|
12 |
-
/**
|
13 |
-
* The 'AMOUNT' beacon URL querystring key
|
14 |
-
*/
|
15 |
-
const KEY_AMOUNT = 'AMOUNT';
|
16 |
-
/**
|
17 |
-
* The 'TYPE' beacon URL querystring key
|
18 |
-
*/
|
19 |
-
const KEY_TYPE = 'TYPE';
|
20 |
-
/**
|
21 |
-
* The 'QTY' beacon URL querystring key
|
22 |
-
*/
|
23 |
-
const KEY_QTY = 'QTY';
|
24 |
-
/**
|
25 |
-
* The 'TOTALAMOUNT' beacon URL querystring key
|
26 |
-
*/
|
27 |
-
const KEY_TOTALAMOUNT = 'TOTALAMOUNT';
|
28 |
-
/**
|
29 |
-
* The 'INT' beacon URL querystring key
|
30 |
-
*/
|
31 |
-
const KEY_INT = 'INT';
|
32 |
-
/**
|
33 |
-
* The 'ITEM' beacon URL querystring key
|
34 |
-
*/
|
35 |
-
const KEY_ITEM = 'ITEM';
|
36 |
-
/**
|
37 |
-
* The 'PROMOCODE' beacon URL querystring key
|
38 |
-
*/
|
39 |
-
const KEY_PROMOCODE = 'PROMOCODE';
|
40 |
-
/**
|
41 |
-
* @var Mage_Sales_Model_Order
|
42 |
-
* @see self::_getOrder
|
43 |
-
*/
|
44 |
-
protected $_order;
|
45 |
-
/**
|
46 |
-
* Get the last order.
|
47 |
-
* @return Mage_Sales_Model_Order | null
|
48 |
-
*/
|
49 |
-
protected function _getOrder()
|
50 |
-
{
|
51 |
-
if (!($this->_order instanceof Mage_Sales_Model_Order)) {
|
52 |
-
$orderId = Mage::getSingleton('checkout/session')->getLastOrderId();
|
53 |
-
if ($orderId) {
|
54 |
-
$this->_order = Mage::getModel('sales/order')->load($orderId);
|
55 |
-
}
|
56 |
-
}
|
57 |
-
return $this->_order;
|
58 |
-
}
|
59 |
-
/**
|
60 |
-
* Get the beacon URL.
|
61 |
-
* @return string | null
|
62 |
-
*/
|
63 |
-
public function getBeaconUrl()
|
64 |
-
{
|
65 |
-
$order = $this->_getOrder();
|
66 |
-
return ($order instanceof Mage_Sales_Model_Order) ?
|
67 |
-
Mage::helper('eems_affiliate')->buildBeaconUrl(
|
68 |
-
Mage::helper('eems_affiliate/config')->isItemizedOrders() ?
|
69 |
-
$this->_buildItemizedParams($order) : $this->_buildBasicParams($order)
|
70 |
-
) : null;
|
71 |
-
}
|
72 |
-
/**
|
73 |
-
* build common params array
|
74 |
-
* @param Mage_Sales_Model_Order $order
|
75 |
-
* @return array
|
76 |
-
*/
|
77 |
-
protected function _buildCommonParams(Mage_Sales_Model_Order $order)
|
78 |
-
{
|
79 |
-
$params = array(
|
80 |
-
static::KEY_PID => Mage::helper('eems_affiliate/config')->getProgramId(),
|
81 |
-
static::KEY_OID => $order->getIncrementId(),
|
82 |
-
);
|
83 |
-
$couponCode = trim($order->getCouponCode());
|
84 |
-
return ($couponCode !== '')?
|
85 |
-
array_merge($params, array(static::KEY_PROMOCODE => $couponCode)) : $params;
|
86 |
-
}
|
87 |
-
/**
|
88 |
-
* build basic params array for non itemized beacon URL
|
89 |
-
* @param Mage_Sales_Model_Order $order
|
90 |
-
* @return array
|
91 |
-
*/
|
92 |
-
protected function _buildBasicParams(Mage_Sales_Model_Order $order)
|
93 |
-
{
|
94 |
-
return array_merge($this->_buildCommonParams($order), array(
|
95 |
-
static::KEY_AMOUNT => number_format($order->getSubtotal() + $order->getDiscountAmount() + $order->getShippingDiscountAmount(), 2, '.', ''),
|
96 |
-
static::KEY_TYPE => Mage::helper('eems_affiliate/config')->getTransactionType()
|
97 |
-
));
|
98 |
-
}
|
99 |
-
/**
|
100 |
-
* build itemized order params array for itemized beacon URL
|
101 |
-
* @param Mage_Sales_Model_Order $order
|
102 |
-
* @return array
|
103 |
-
*/
|
104 |
-
protected function _buildItemizedParams(Mage_Sales_Model_Order $order)
|
105 |
-
{
|
106 |
-
$params = array(static::KEY_INT => Mage::helper('eems_affiliate/config')->getInt());
|
107 |
-
$increment = 1; // incrementer for the unique item keys
|
108 |
-
foreach ($order->getAllItems() as $item) {
|
109 |
-
// need to ignore the bundle parent as it will contain collected total
|
110 |
-
// for children but not discounts
|
111 |
-
$position = $this->_getDupePosition($params, $item);
|
112 |
-
// ignore the parent configurable quantity - quantity of config products
|
113 |
-
// will come from the simple used product with the same SKU
|
114 |
-
$quantity = $item->getProductType() === Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE ?
|
115 |
-
0 : (int) $item->getQtyOrdered();
|
116 |
-
// consider parent bundle products to be 0.00 total - total of the bundle
|
117 |
-
// is the sum of all child products which are also included in the beacon
|
118 |
-
// so including both totals would effectively double the price of the bundle
|
119 |
-
$total = $item->getProductType() === Mage_Catalog_Model_Product_Type::TYPE_BUNDLE ?
|
120 |
-
0.00 : $item->getRowTotal() - $item->getDiscountAmount();
|
121 |
-
if ($position) {
|
122 |
-
// we detected that the current item already exist in the params array
|
123 |
-
// and have the key increment position let's simply adjust
|
124 |
-
// the qty and total amount
|
125 |
-
$params[static::KEY_QTY . $position] += $quantity;
|
126 |
-
$amtKey = static::KEY_TOTALAMOUNT . $position;
|
127 |
-
$params[$amtKey] = number_format($params[$amtKey] + $total, 2, '.', '');
|
128 |
-
} else {
|
129 |
-
$params = array_merge($params, array(
|
130 |
-
static::KEY_ITEM . $increment => $item->getSku(),
|
131 |
-
static::KEY_QTY . $increment => $quantity,
|
132 |
-
static::KEY_TOTALAMOUNT . $increment => number_format($total, 2, '.', ''),
|
133 |
-
));
|
134 |
-
$increment++; // only get incremented when a unique key have been appended
|
135 |
-
}
|
136 |
-
}
|
137 |
-
return array_merge($this->_buildCommonParams($order), $params);
|
138 |
-
}
|
139 |
-
/**
|
140 |
-
* check if the current sku already exists in the params data if so return
|
141 |
-
* the position it is found in
|
142 |
-
* @param array $params the given array of keys needed to build the beacon URL querystring
|
143 |
-
* @param Mage_Sales_Model_Order_Item $item
|
144 |
-
* @return int the item position where dupe found otherwise zero
|
145 |
-
*/
|
146 |
-
protected function _getDupePosition(array $params, Mage_Sales_Model_Order_Item $item)
|
147 |
-
{
|
148 |
-
$key = array_search($item->getSku(), $params, true);
|
149 |
-
return ($key !== false)?
|
150 |
-
(int) str_replace(static::KEY_ITEM, '', $key) : 0;
|
151 |
-
}
|
152 |
-
/**
|
153 |
-
* Whether or not to display the beacon.
|
154 |
-
* @return bool
|
155 |
-
*/
|
156 |
-
public function showBeacon()
|
157 |
-
{
|
158 |
-
return (
|
159 |
-
Mage::helper('eems_affiliate/config')->isEnabled() &&
|
160 |
-
$this->_getOrder() instanceof Mage_Sales_Model_Order
|
161 |
-
);
|
162 |
-
}
|
163 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/EbayEnterprise/Affiliate/Exception/Configuration.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Exception_Configuration
|
4 |
extends Mage_Core_Exception
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Exception_Configuration
|
20 |
extends Mage_Core_Exception
|
app/code/community/EbayEnterprise/Affiliate/Helper/Config.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* @codeCoverageIgnore
|
4 |
*/
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
/**
|
19 |
* @codeCoverageIgnore
|
20 |
*/
|
app/code/community/EbayEnterprise/Affiliate/Helper/Data.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Helper_Data extends Mage_Core_Helper_Abstract
|
4 |
{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Helper_Data extends Mage_Core_Helper_Abstract
|
20 |
{
|
app/code/community/EbayEnterprise/Affiliate/Helper/Map.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* This class is composed of methods used as callbacks to the feed generation
|
4 |
* process. All methods accepting a generic `$params` argument are allowed to
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
/**
|
19 |
* This class is composed of methods used as callbacks to the feed generation
|
20 |
* process. All methods accepting a generic `$params` argument are allowed to
|
app/code/community/EbayEnterprise/Affiliate/Helper/Map/Order.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* The public methods of this class are all expected to be used as callbacks
|
4 |
* for building the Affiliate corrected orders feeds.
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
/**
|
19 |
* The public methods of this class are all expected to be used as callbacks
|
20 |
* for building the Affiliate corrected orders feeds.
|
app/code/community/EbayEnterprise/Affiliate/Helper/Map/Product.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* The public methods of this class are all expected to be used as callbacks
|
4 |
* for building the Affiliate product feed.
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
/**
|
19 |
* The public methods of this class are all expected to be used as callbacks
|
20 |
* for building the Affiliate product feed.
|
app/code/community/EbayEnterprise/Affiliate/Model/Feed/Abstract.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
abstract class EbayEnterprise_Affiliate_Model_Feed_Abstract
|
4 |
{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
abstract class EbayEnterprise_Affiliate_Model_Feed_Abstract
|
20 |
{
|
app/code/community/EbayEnterprise/Affiliate/Model/Feed/Order/Abstract.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
abstract class EbayEnterprise_Affiliate_Model_Feed_Order_Abstract
|
4 |
extends EbayEnterprise_Affiliate_Model_Feed_Abstract
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
abstract class EbayEnterprise_Affiliate_Model_Feed_Order_Abstract
|
20 |
extends EbayEnterprise_Affiliate_Model_Feed_Abstract
|
app/code/community/EbayEnterprise/Affiliate/Model/Feed/Order/Basic.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_Feed_Order_Basic
|
4 |
extends EbayEnterprise_Affiliate_Model_Feed_Order_Abstract
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_Feed_Order_Basic
|
20 |
extends EbayEnterprise_Affiliate_Model_Feed_Order_Abstract
|
app/code/community/EbayEnterprise/Affiliate/Model/Feed/Order/Itemized.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_Feed_Order_Itemized
|
4 |
extends EbayEnterprise_Affiliate_Model_Feed_Order_Abstract
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_Feed_Order_Itemized
|
20 |
extends EbayEnterprise_Affiliate_Model_Feed_Order_Abstract
|
app/code/community/EbayEnterprise/Affiliate/Model/Feed/Product.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_Feed_Product
|
4 |
extends EbayEnterprise_Affiliate_Model_Feed_Abstract
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_Feed_Product
|
20 |
extends EbayEnterprise_Affiliate_Model_Feed_Abstract
|
app/code/community/EbayEnterprise/Affiliate/Model/Observer.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_Observer
|
4 |
{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_Observer
|
20 |
{
|
app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Attributes.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Attributes
|
4 |
{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Attributes
|
20 |
{
|
app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Categories.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Categories
|
4 |
{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Categories
|
20 |
{
|
app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Stockquantity.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Stockquantity
|
4 |
{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Stockquantity
|
20 |
{
|
app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Stockyesno.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Stockyesno
|
4 |
{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Stockyesno
|
20 |
{
|
app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Transactiontype.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Transactiontype
|
4 |
{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Transactiontype
|
20 |
{
|
app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Visibilityyesno.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Visibilityyesno
|
4 |
{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
|
19 |
class EbayEnterprise_Affiliate_Model_System_Config_Source_Visibilityyesno
|
20 |
{
|
app/code/community/EbayEnterprise/Affiliate/etc/adminhtml.xml
CHANGED
@@ -1,4 +1,19 @@
|
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<config>
|
3 |
<acl>
|
4 |
<resources>
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
+
<!--
|
3 |
+
Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
|
5 |
+
NOTICE OF LICENSE
|
6 |
+
|
7 |
+
This source file is subject to the eBay Enterprise
|
8 |
+
Magento Extensions End User License Agreement
|
9 |
+
that is bundled with this package in the file LICENSE.md.
|
10 |
+
It is also available through the world-wide-web at this URL:
|
11 |
+
http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
|
13 |
+
@copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
@license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
|
16 |
+
-->
|
17 |
<config>
|
18 |
<acl>
|
19 |
<resources>
|
app/code/community/EbayEnterprise/Affiliate/etc/config.xml
CHANGED
@@ -1,4 +1,19 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<EbayEnterprise_Affiliate>
|
@@ -39,7 +54,7 @@
|
|
39 |
</run>
|
40 |
</eems_affiliate_generate_product_feed>
|
41 |
<eems_affiliate_generate_corrected_order_feed>
|
42 |
-
<schedule><cron_expr
|
43 |
<run>
|
44 |
<model>eems_affiliate/observer::createCorrectedOrdersFeed</model>
|
45 |
</run>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<!--
|
3 |
+
Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
|
5 |
+
NOTICE OF LICENSE
|
6 |
+
|
7 |
+
This source file is subject to the eBay Enterprise
|
8 |
+
Magento Extensions End User License Agreement
|
9 |
+
that is bundled with this package in the file LICENSE.md.
|
10 |
+
It is also available through the world-wide-web at this URL:
|
11 |
+
http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
|
13 |
+
@copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
@license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
|
16 |
+
-->
|
17 |
<config>
|
18 |
<modules>
|
19 |
<EbayEnterprise_Affiliate>
|
54 |
</run>
|
55 |
</eems_affiliate_generate_product_feed>
|
56 |
<eems_affiliate_generate_corrected_order_feed>
|
57 |
+
<schedule><cron_expr>0 */3 * * *</cron_expr></schedule>
|
58 |
<run>
|
59 |
<model>eems_affiliate/observer::createCorrectedOrdersFeed</model>
|
60 |
</run>
|
app/code/community/EbayEnterprise/Affiliate/etc/system.xml
CHANGED
@@ -1,4 +1,19 @@
|
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<config>
|
3 |
<tabs>
|
4 |
<ebayenterprise translate="label" module="eems_affiliate">
|
@@ -317,7 +332,7 @@
|
|
317 |
</functions>
|
318 |
<genre translate="label">
|
319 |
<label>genre</label>
|
320 |
-
<comment>
|
321 |
<frontend_type>select</frontend_type>
|
322 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
323 |
<sort_order>24</sort_order>
|
@@ -458,7 +473,7 @@
|
|
458 |
</manufacturer>
|
459 |
<material translate="label">
|
460 |
<label>material</label>
|
461 |
-
<comment>
|
462 |
<frontend_type>select</frontend_type>
|
463 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
464 |
<sort_order>38</sort_order>
|
@@ -740,7 +755,7 @@
|
|
740 |
</shoe_size>
|
741 |
<shoe_width translate="label">
|
742 |
<label>shoe_width</label>
|
743 |
-
<comment>Shoe
|
744 |
<frontend_type>select</frontend_type>
|
745 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
746 |
<sort_order>66</sort_order>
|
@@ -790,7 +805,7 @@
|
|
790 |
</style>
|
791 |
<tech_spec_url translate="label">
|
792 |
<label>tech_spec_url</label>
|
793 |
-
<comment>Technical
|
794 |
<frontend_type>select</frontend_type>
|
795 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
796 |
<sort_order>71</sort_order>
|
@@ -860,7 +875,7 @@
|
|
860 |
</year>
|
861 |
<zoom translate="label">
|
862 |
<label>zoom</label>
|
863 |
-
<comment>
|
864 |
<frontend_type>select</frontend_type>
|
865 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
866 |
<sort_order>78</sort_order>
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
+
<!--
|
3 |
+
Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
|
5 |
+
NOTICE OF LICENSE
|
6 |
+
|
7 |
+
This source file is subject to the eBay Enterprise
|
8 |
+
Magento Extensions End User License Agreement
|
9 |
+
that is bundled with this package in the file LICENSE.md.
|
10 |
+
It is also available through the world-wide-web at this URL:
|
11 |
+
http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
|
13 |
+
@copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
@license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
|
16 |
+
-->
|
17 |
<config>
|
18 |
<tabs>
|
19 |
<ebayenterprise translate="label" module="eems_affiliate">
|
332 |
</functions>
|
333 |
<genre translate="label">
|
334 |
<label>genre</label>
|
335 |
+
<comment>Genre</comment>
|
336 |
<frontend_type>select</frontend_type>
|
337 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
338 |
<sort_order>24</sort_order>
|
473 |
</manufacturer>
|
474 |
<material translate="label">
|
475 |
<label>material</label>
|
476 |
+
<comment>Construction material</comment>
|
477 |
<frontend_type>select</frontend_type>
|
478 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
479 |
<sort_order>38</sort_order>
|
755 |
</shoe_size>
|
756 |
<shoe_width translate="label">
|
757 |
<label>shoe_width</label>
|
758 |
+
<comment>Shoe width</comment>
|
759 |
<frontend_type>select</frontend_type>
|
760 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
761 |
<sort_order>66</sort_order>
|
805 |
</style>
|
806 |
<tech_spec_url translate="label">
|
807 |
<label>tech_spec_url</label>
|
808 |
+
<comment>Technical specifications URL</comment>
|
809 |
<frontend_type>select</frontend_type>
|
810 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
811 |
<sort_order>71</sort_order>
|
875 |
</year>
|
876 |
<zoom translate="label">
|
877 |
<label>zoom</label>
|
878 |
+
<comment>Maximum zoom</comment>
|
879 |
<frontend_type>select</frontend_type>
|
880 |
<source_model>eems_affiliate/system_config_source_attributes</source_model>
|
881 |
<sort_order>78</sort_order>
|
app/code/community/EbayEnterprise/Affiliate/sql/eems_affiliate_setup/install-1.0.0.1.php
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
// Set the last run time of the corrected orders feed to the time when the
|
3 |
// extension is installed. This should help to reduce the number of untracked
|
4 |
// orders included in the initial run of the feed.
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
|
18 |
// Set the last run time of the corrected orders feed to the time when the
|
19 |
// extension is installed. This should help to reduce the number of untracked
|
20 |
// orders included in the initial run of the feed.
|
app/design/frontend/base/default/layout/eems_affiliate.xml
CHANGED
@@ -1,4 +1,19 @@
|
|
1 |
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<layout version="0.1.0">
|
3 |
<checkout_affiliate_success translate="label">
|
4 |
<reference name="before_body_end">
|
1 |
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
|
5 |
+
NOTICE OF LICENSE
|
6 |
+
|
7 |
+
This source file is subject to the eBay Enterprise
|
8 |
+
Magento Extensions End User License Agreement
|
9 |
+
that is bundled with this package in the file LICENSE.md.
|
10 |
+
It is also available through the world-wide-web at this URL:
|
11 |
+
http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
|
13 |
+
@copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
@license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
|
16 |
+
-->
|
17 |
<layout version="0.1.0">
|
18 |
<checkout_affiliate_success translate="label">
|
19 |
<reference name="before_body_end">
|
app/design/frontend/base/default/template/eems_affiliate/beacon.phtml
CHANGED
@@ -1,3 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?php if ($this->showBeacon()):?>
|
2 |
<?php $beaconUrl = $this->getBeaconUrl(); ?>
|
3 |
<script>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the eBay Enterprise
|
8 |
+
* Magento Extensions End User License Agreement
|
9 |
+
* that is bundled with this package in the file LICENSE.md.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
*
|
13 |
+
* @copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
* @license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
*
|
16 |
+
*/
|
17 |
+
?>
|
18 |
+
|
19 |
<?php if ($this->showBeacon()):?>
|
20 |
<?php $beaconUrl = $this->getBeaconUrl(); ?>
|
21 |
<script>
|
app/etc/modules/EbayEnterprise_Affiliate.xml
CHANGED
@@ -1,4 +1,19 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<EbayEnterprise_Affiliate>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<!--
|
3 |
+
Copyright (c) 2014 eBay Enterprise, Inc.
|
4 |
+
|
5 |
+
NOTICE OF LICENSE
|
6 |
+
|
7 |
+
This source file is subject to the eBay Enterprise
|
8 |
+
Magento Extensions End User License Agreement
|
9 |
+
that is bundled with this package in the file LICENSE.md.
|
10 |
+
It is also available through the world-wide-web at this URL:
|
11 |
+
http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf
|
12 |
+
|
13 |
+
@copyright Copyright (c) 2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
|
14 |
+
@license http://www.ebayenterprise.com/files/pdf/Magento_Connect_Extensions_EULA_050714.pdf eBay Enterprise Magento Extensions End User License Agreement
|
15 |
+
|
16 |
+
-->
|
17 |
<config>
|
18 |
<modules>
|
19 |
<EbayEnterprise_Affiliate>
|
package.xml
CHANGED
@@ -1,18 +1,19 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>eBay_Enterprise_Affiliate_Extension</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>EULA</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>eBay Enterprise Affiliate Extension
|
10 |
-
<description>eBay Enterprise Affiliate Extension
|
11 |
-
<notes>
|
|
|
12 |
<authors><author><name>Michael A. Smith</name><user>msmith3</user><email>msmith3@ebay.com</email></author><author><name>Michael Phang</name><user>mphang</user><email>mphang@ebay.com</email></author><author><name>Scott van Brug</name><user>svanbrug</user><email>svanbrug@ebay.com</email></author><author><name>Mike West</name><user>micwest</user><email>micwest@ebay.com</email></author><author><name>Reginald Gabriel</name><user>rgabriel</user><email>rgabriel@ebay.com</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="EbayEnterprise"><dir name="Affiliate"><dir name="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>5.3.99</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>eBay_Enterprise_Affiliate_Extension</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>EULA</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>eBay Enterprise Affiliate Extension</summary>
|
10 |
+
<description>eBay Enterprise Affiliate Extension</description>
|
11 |
+
<notes>Fix help text typos
|
12 |
+
</notes>
|
13 |
<authors><author><name>Michael A. Smith</name><user>msmith3</user><email>msmith3@ebay.com</email></author><author><name>Michael Phang</name><user>mphang</user><email>mphang@ebay.com</email></author><author><name>Scott van Brug</name><user>svanbrug</user><email>svanbrug@ebay.com</email></author><author><name>Mike West</name><user>micwest</user><email>micwest@ebay.com</email></author><author><name>Reginald Gabriel</name><user>rgabriel</user><email>rgabriel@ebay.com</email></author></authors>
|
14 |
+
<date>2014-07-17</date>
|
15 |
+
<time>15:36:14</time>
|
16 |
+
<contents><target name="magecommunity"><dir name="EbayEnterprise"><dir name="Affiliate"><dir name="etc"><file name="adminhtml.xml" hash="c68a5314867507e9215b2cf3b4b87562"/><file name="config.xml" hash="b1f1980befd909a6bfe8dce4381c064b"/><file name="system.xml" hash="c01cf86be7b0a539f6d124344b5f46b4"/></dir><dir name="Exception"><file name="Configuration.php" hash="329e9296f4662b6cbf60fe1daef1acd7"/></dir><dir name="Helper"><file name="Config.php" hash="c6d5e3fd75f5c1e499f2b67ae19c0759"/><file name="Data.php" hash="12eacdc5d43a4afd8cdc1e316f2e22c6"/><file name="Map.php" hash="baa4d775c2328e0e45d2e8bc00dd8083"/><dir name="Map"><file name="Order.php" hash="27fee01d500d662be4796aa01c1270ef"/><file name="Product.php" hash="f037e9df9f5c9ef87df01a022d7706e0"/></dir></dir><dir name="Model"><file name="Observer.php" hash="ee3dba8505e43f175ee54dea3c7813cb"/><dir name="Feed"><file name="Abstract.php" hash="c34c8b875a7d6da6ab056fa12110d706"/><file name="Product.php" hash="c99bb4b79bb2483270dc2a9615ce8a0e"/><dir name="Order"><file name="Abstract.php" hash="053a2f0f719566a41903f89366f997ea"/><file name="Basic.php" hash="c9e8ce48928c68af62907b62ac692a52"/><file name="Itemized.php" hash="cf8f2f3f51e0d1f912d8e81e0338f6f7"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Attributes.php" hash="3930134c53203f03ad872a6c647679b0"/><file name="Categories.php" hash="4166f8b40f0e0451cd3fce5fd3f7b23f"/><file name="Stockquantity.php" hash="cfa82a3115cf37bb4d8e76b5a627835a"/><file name="Stockyesno.php" hash="236c4532b0935e4e9f25cf99468071a5"/><file name="Transactiontype.php" hash="f929f51e0ec30364607e823cd34d0469"/><file name="Visibilityyesno.php" hash="0262dfcfd0741d217753d39db37d565e"/></dir></dir></dir></dir><dir name="sql"><dir name="eems_affiliate_setup"><file name="install-1.0.0.1.php" hash="9df21f13bd18f28d73ce590ce8d43cf4"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="eems_affiliate.xml" hash="a60847216c56702b48490d8603a9f94d"/></dir><dir name="template"><dir name="eems_affiliate"><file name="beacon.phtml" hash="c819edb9f0938161fa2b2144b704f635"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EbayEnterprise_Affiliate.xml" hash="2c8823653d3f9c19634df8630c70628b"/></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.3.0</min><max>5.3.99</max></php></required></dependencies>
|
19 |
</package>
|