first commit
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.vscode/ftp-kr.sync.cache.json
|
||||
wp-content/plugins/flexible-shipping-pro/
|
||||
57
.htaccess
Normal file
57
.htaccess
Normal file
@@ -0,0 +1,57 @@
|
||||
# BEGIN WordPress
|
||||
# Dyrektywy zawarte między "BEGIN WordPress" oraz "END WordPress"
|
||||
# są generowane dynamicznie i powinny być modyfikowane tylko za pomocą
|
||||
# filtrów WordPressa. Zmiany dokonane bezpośrednio tutaj będą nadpisywane.
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
RewriteRule ^index\.php$ - [L]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule . /index.php [L]
|
||||
</IfModule>
|
||||
|
||||
# END WordPress
|
||||
# BEGIN Divi Rocket GZIP
|
||||
# Dyrektywy zawarte między "BEGIN Divi Rocket GZIP" oraz "END Divi Rocket GZIP"
|
||||
# są generowane dynamicznie i powinny być modyfikowane tylko za pomocą
|
||||
# filtrów WordPressa. Zmiany dokonane bezpośrednio tutaj będą nadpisywane.
|
||||
<IfModule mod_deflate.c>
|
||||
# Compress HTML, CSS, JavaScript, Text, XML and fonts
|
||||
AddOutputFilterByType DEFLATE application/javascript
|
||||
AddOutputFilterByType DEFLATE application/rss+xml
|
||||
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
|
||||
AddOutputFilterByType DEFLATE application/x-font
|
||||
AddOutputFilterByType DEFLATE application/x-font-opentype
|
||||
AddOutputFilterByType DEFLATE application/x-font-otf
|
||||
AddOutputFilterByType DEFLATE application/x-font-truetype
|
||||
AddOutputFilterByType DEFLATE application/x-font-ttf
|
||||
AddOutputFilterByType DEFLATE application/x-javascript
|
||||
AddOutputFilterByType DEFLATE application/xhtml+xml
|
||||
AddOutputFilterByType DEFLATE application/xml
|
||||
AddOutputFilterByType DEFLATE font/opentype
|
||||
AddOutputFilterByType DEFLATE font/otf
|
||||
AddOutputFilterByType DEFLATE font/ttf
|
||||
AddOutputFilterByType DEFLATE image/svg+xml
|
||||
AddOutputFilterByType DEFLATE image/x-icon
|
||||
AddOutputFilterByType DEFLATE text/css
|
||||
AddOutputFilterByType DEFLATE text/html
|
||||
AddOutputFilterByType DEFLATE text/javascript
|
||||
AddOutputFilterByType DEFLATE text/plain
|
||||
AddOutputFilterByType DEFLATE text/xml
|
||||
|
||||
# Remove browser bugs (only needed for really old browsers)
|
||||
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
||||
BrowserMatch ^Mozilla/4\.0[678] no-gzip
|
||||
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
|
||||
Header append Vary User-Agent
|
||||
</IfModule>
|
||||
# END Divi Rocket GZIP
|
||||
# BEGIN Divi Rocket Cache Control
|
||||
# Dyrektywy zawarte między "BEGIN Divi Rocket Cache Control" oraz "END Divi Rocket Cache Control"
|
||||
# są generowane dynamicznie i powinny być modyfikowane tylko za pomocą
|
||||
# filtrów WordPressa. Zmiany dokonane bezpośrednio tutaj będą nadpisywane.
|
||||
<filesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|svg|js|css|swf|otf|ttf|webp)$">
|
||||
Header set Cache-Control "max-age=604800, public"
|
||||
</filesMatch>
|
||||
# END Divi Rocket Cache Control
|
||||
67
.htaccess.bk
Normal file
67
.htaccess.bk
Normal file
@@ -0,0 +1,67 @@
|
||||
SecRuleEngine Off
|
||||
SecRequestBodyAccess Off
|
||||
|
||||
AddHandler application/x-httpd-php73 php
|
||||
# BEGIN LSCACHE
|
||||
# END LSCACHE
|
||||
# BEGIN NON_LSCACHE
|
||||
# END NON_LSCACHE
|
||||
|
||||
# BEGIN WordPress
|
||||
# Dyrektywy zawarte między "BEGIN WordPress" oraz "END WordPress"
|
||||
# są generowane dynamicznie i powinny być modyfikowane tylko za pomocą
|
||||
# filtrów WordPressa. Zmiany dokonane bezpośrednio tutaj będą nadpisywane.
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||
RewriteBase /sklep/
|
||||
RewriteRule ^index\.php$ - [L]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule . /sklep/index.php [L]
|
||||
</IfModule>
|
||||
|
||||
# END WordPress
|
||||
# BEGIN Divi Rocket GZIP
|
||||
# Dyrektywy zawarte między "BEGIN Divi Rocket GZIP" oraz "END Divi Rocket GZIP"
|
||||
# są generowane dynamicznie i powinny być modyfikowane tylko za pomocą
|
||||
# filtrów WordPressa. Zmiany dokonane bezpośrednio tutaj będą nadpisywane.
|
||||
<IfModule mod_deflate.c>
|
||||
# Compress HTML, CSS, JavaScript, Text, XML and fonts
|
||||
AddOutputFilterByType DEFLATE application/javascript
|
||||
AddOutputFilterByType DEFLATE application/rss+xml
|
||||
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
|
||||
AddOutputFilterByType DEFLATE application/x-font
|
||||
AddOutputFilterByType DEFLATE application/x-font-opentype
|
||||
AddOutputFilterByType DEFLATE application/x-font-otf
|
||||
AddOutputFilterByType DEFLATE application/x-font-truetype
|
||||
AddOutputFilterByType DEFLATE application/x-font-ttf
|
||||
AddOutputFilterByType DEFLATE application/x-javascript
|
||||
AddOutputFilterByType DEFLATE application/xhtml+xml
|
||||
AddOutputFilterByType DEFLATE application/xml
|
||||
AddOutputFilterByType DEFLATE font/opentype
|
||||
AddOutputFilterByType DEFLATE font/otf
|
||||
AddOutputFilterByType DEFLATE font/ttf
|
||||
AddOutputFilterByType DEFLATE image/svg+xml
|
||||
AddOutputFilterByType DEFLATE image/x-icon
|
||||
AddOutputFilterByType DEFLATE text/css
|
||||
AddOutputFilterByType DEFLATE text/html
|
||||
AddOutputFilterByType DEFLATE text/javascript
|
||||
AddOutputFilterByType DEFLATE text/plain
|
||||
AddOutputFilterByType DEFLATE text/xml
|
||||
|
||||
# Remove browser bugs (only needed for really old browsers)
|
||||
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
||||
BrowserMatch ^Mozilla/4\.0[678] no-gzip
|
||||
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
|
||||
Header append Vary User-Agent
|
||||
</IfModule>
|
||||
# END Divi Rocket GZIP
|
||||
# BEGIN Divi Rocket Cache Control
|
||||
# Dyrektywy zawarte między "BEGIN Divi Rocket Cache Control" oraz "END Divi Rocket Cache Control"
|
||||
# są generowane dynamicznie i powinny być modyfikowane tylko za pomocą
|
||||
# filtrów WordPressa. Zmiany dokonane bezpośrednio tutaj będą nadpisywane.
|
||||
<filesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|svg|js|css|swf|otf|ttf|webp)$">
|
||||
Header set Cache-Control "max-age=604800, public"
|
||||
</filesMatch>
|
||||
# END Divi Rocket Cache Control
|
||||
17
.vscode/ftp-kr.json
vendored
Normal file
17
.vscode/ftp-kr.json
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"host": "host828780.hostido.net.pl",
|
||||
"username": "admin@elitex.pl",
|
||||
"password": "aEmb2N7wf5xpYHV6",
|
||||
"remotePath": "/domains/sklep.elitex.pl/public_html",
|
||||
"protocol": "ftp",
|
||||
"port": 0,
|
||||
"fileNameEncoding": "utf8",
|
||||
"autoUpload": true,
|
||||
"autoDelete": false,
|
||||
"autoDownload": false,
|
||||
"ignoreRemoteModification": true,
|
||||
"ignore": [
|
||||
".git",
|
||||
"/.vscode"
|
||||
]
|
||||
}
|
||||
12
.vscode/sftp.json
vendored
Normal file
12
.vscode/sftp.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "host828780.hostido.net.pl",
|
||||
"host": "host828780.hostido.net.pl",
|
||||
"protocol": "ftp",
|
||||
"port": 21,
|
||||
"username": "admin@elitex.pl",
|
||||
"password": "aEmb2N7wf5xpYHV6",
|
||||
"remotePath": "/domains/sklep.elitex.pl/public_html",
|
||||
"uploadOnSave": false,
|
||||
"useTempFile": false,
|
||||
"openSsh": false
|
||||
}
|
||||
131
conversion.txt
Normal file
131
conversion.txt
Normal file
@@ -0,0 +1,131 @@
|
||||
|
||||
|
||||
//INF: Google Analytics 4
|
||||
function my_custom_ga4_code() {
|
||||
?>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GEED4JX54T"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-GEED4JX54T');
|
||||
gtag('config', 'AW-11210370143');
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
||||
//INF: Google Ads Conversion Tracking
|
||||
add_action( 'woocommerce_thankyou', 'google_ads_conversion_tracking' );
|
||||
|
||||
function google_ads_conversion_tracking( $order_id ) {
|
||||
// Rozpocznij sesję, jeżeli jeszcze nie jest rozpoczęta
|
||||
if (!session_id()) {
|
||||
session_start();
|
||||
}
|
||||
// Zdobądź dane zamówienia
|
||||
$order = wc_get_order( $order_id );
|
||||
|
||||
// Sprawdź, czy zamówienie istnieje
|
||||
if ( ! $order ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Sprawdź, czy ta transakcja została już zarejestrowana
|
||||
if (isset($_SESSION['tracked_order_ids']) && in_array($order_id, $_SESSION['tracked_order_ids'])) {
|
||||
// Ta transakcja została już zarejestrowana, nie rób nic
|
||||
return;
|
||||
} else {
|
||||
// Rejestruj transakcję
|
||||
$_SESSION['tracked_order_ids'][] = $order_id;
|
||||
|
||||
// Twój kod śledzenia Google Ads tutaj, zastąp 'CONVERSION_ID' i 'CONVERSION_LABEL' swoim prawdziwym ID konwersji i etykietą
|
||||
?>
|
||||
<script>
|
||||
gtag('event', 'conversion', {'send_to': 'AW-112103701413/ZSGuCLvSqKsYEN_YwuEp',
|
||||
'value': <?php echo $order->get_total(); ?>,
|
||||
'currency': 'PLN',
|
||||
'transaction_id': '<?php echo $order_id; ?>'
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
//INF:: Google Analytics 4 Conversion Tracking
|
||||
add_action( 'woocommerce_thankyou', 'ga4_conversion_tracking' );
|
||||
|
||||
function ga4_conversion_tracking( $order_id ) {
|
||||
if (!session_id()) {
|
||||
session_start();
|
||||
}
|
||||
// Pobierz dane zamówienia
|
||||
$order = wc_get_order( $order_id );
|
||||
|
||||
// Sprawdź, czy zamówienie istnieje
|
||||
if ( ! $order ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Sprawdź, czy ta transakcja została już zarejestrowana
|
||||
if (isset($_SESSION['ga4_tracked_order_ids']) && in_array($order_id, $_SESSION['ga4_tracked_order_ids'])) {
|
||||
// Ta transakcja została już zarejestrowana, nie rób nic
|
||||
return;
|
||||
} else {
|
||||
// Rejestruj transakcję
|
||||
$_SESSION['ga4_tracked_order_ids'][] = $order_id;
|
||||
}
|
||||
|
||||
// Przygotuj dane transakcji
|
||||
$transactionData = array(
|
||||
'transaction_id' => $order_id,
|
||||
'affiliation' => get_bloginfo( 'name' ),
|
||||
'value' => $order->get_total(),
|
||||
'currency' => get_woocommerce_currency(),
|
||||
'tax' => $order->get_total_tax(),
|
||||
'shipping' => $order->get_shipping_total(),
|
||||
'items' => array()
|
||||
);
|
||||
|
||||
// Pobierz dane o produktach
|
||||
foreach ($order->get_items() as $item_id => $item) {
|
||||
$product = $item->get_product();
|
||||
|
||||
$transactionData['items'][] = array(
|
||||
'item_id' => $product->get_id(),
|
||||
'item_name' => $product->get_name(),
|
||||
'item_category' => strip_tags(wc_get_product_category_list($product->get_id())),
|
||||
'item_variant' => $product->get_sku(),
|
||||
'price' => $product->get_price(),
|
||||
'quantity' => $item->get_quantity()
|
||||
);
|
||||
}
|
||||
|
||||
// Wydrukuj dane jako skrypt JavaScript
|
||||
?>
|
||||
<script>
|
||||
gtag('event', 'purchase', <?php echo json_encode($transactionData); ?>);
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
//INF: Google Analytics 4 Product View Tracking
|
||||
add_action( 'woocommerce_after_single_product', 'ga4_product_view_tracking' );
|
||||
|
||||
function ga4_product_view_tracking() {
|
||||
global $product;
|
||||
|
||||
$productData = array(
|
||||
'item_id' => $product->get_id(),
|
||||
'item_name' => $product->get_name(),
|
||||
'item_category' => strip_tags(wc_get_product_category_list($product->get_id())),
|
||||
'item_variant' => $product->get_sku(),
|
||||
'price' => $product->get_price()
|
||||
);
|
||||
?>
|
||||
<script>
|
||||
gtag('event', 'view_item', <?php echo json_encode($productData); ?>);
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
1
googleffb0c50d229c3be3.html
Normal file
1
googleffb0c50d229c3be3.html
Normal file
@@ -0,0 +1 @@
|
||||
google-site-verification: googleffb0c50d229c3be3.html
|
||||
17
index.php
Normal file
17
index.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* Front to the WordPress application. This file doesn't do anything, but loads
|
||||
* wp-blog-header.php which does and tells WordPress to load the theme.
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
/**
|
||||
* Tells WordPress to load the WordPress theme and output it.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
define( 'WP_USE_THEMES', true );
|
||||
|
||||
/** Loads the WordPress Environment and Template */
|
||||
require __DIR__ . '/wp-blog-header.php';
|
||||
384
license.txt
Normal file
384
license.txt
Normal file
@@ -0,0 +1,384 @@
|
||||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2011-2022 by the contributors
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
This program incorporates work covered by the following copyright and
|
||||
permission notices:
|
||||
|
||||
b2 is (c) 2001, 2002 Michel Valdrighi - https://cafelog.com
|
||||
|
||||
Wherever third party code has been used, credit has been given in the code's
|
||||
comments.
|
||||
|
||||
b2 is released under the GPL
|
||||
|
||||
and
|
||||
|
||||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2003-2010 by the contributors
|
||||
|
||||
WordPress is released under the GPL
|
||||
|
||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
|
||||
WRITTEN OFFER
|
||||
|
||||
The source code for any program binaries or compressed scripts that are
|
||||
included with WordPress can be freely obtained at the following URL:
|
||||
|
||||
https://wordpress.org/download/source/
|
||||
97
readme.html
Normal file
97
readme.html
Normal file
@@ -0,0 +1,97 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>WordPress › ReadMe</title>
|
||||
<link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="logo">
|
||||
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
|
||||
</h1>
|
||||
<p style="text-align: center">Semantic Personal Publishing Platform</p>
|
||||
|
||||
<h2>First Things First</h2>
|
||||
<p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I am proud to be a part of. Thousands of hours have gone into WordPress, and we are dedicated to making it better every day. Thank you for making it part of your world.</p>
|
||||
<p style="text-align: right">— Matt Mullenweg</p>
|
||||
|
||||
<h2>Installation: Famous 5-minute install</h2>
|
||||
<ol>
|
||||
<li>Unzip the package in an empty directory and upload everything.</li>
|
||||
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser. It will take you through the process to set up a <code>wp-config.php</code> file with your database connection details.
|
||||
<ol>
|
||||
<li>If for some reason this does not work, do not worry. It may not work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.</li>
|
||||
<li>Save the file as <code>wp-config.php</code> and upload it.</li>
|
||||
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>Once the configuration file is set up, the installer will set up the tables needed for your site. If there is an error, double check your <code>wp-config.php</code> file, and try again. If it fails again, please go to the <a href="https://wordpress.org/support/forums/">WordPress support forums</a> with as much data as you can gather.</li>
|
||||
<li><strong>If you did not enter a password, note the password given to you.</strong> If you did not provide a username, it will be <code>admin</code>.</li>
|
||||
<li>The installer should then send you to the <a href="wp-login.php">login page</a>. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on “Profile” to change the password.</li>
|
||||
</ol>
|
||||
|
||||
<h2>Updating</h2>
|
||||
<h3>Using the Automatic Updater</h3>
|
||||
<ol>
|
||||
<li>Open <span class="file"><a href="wp-admin/update-core.php">wp-admin/update-core.php</a></span> in your browser and follow the instructions.</li>
|
||||
<li>You wanted more, perhaps? That’s it!</li>
|
||||
</ol>
|
||||
|
||||
<h3>Updating Manually</h3>
|
||||
<ol>
|
||||
<li>Before you update anything, make sure you have backup copies of any files you may have modified such as <code>index.php</code>.</li>
|
||||
<li>Delete your old WordPress files, saving ones you’ve modified.</li>
|
||||
<li>Upload the new files.</li>
|
||||
<li>Point your browser to <span class="file"><a href="wp-admin/upgrade.php">/wp-admin/upgrade.php</a>.</span></li>
|
||||
</ol>
|
||||
|
||||
<h2>Migrating from other systems</h2>
|
||||
<p>WordPress can <a href="https://wordpress.org/support/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
|
||||
|
||||
<h2>System Requirements</h2>
|
||||
<ul>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.6.20</strong> or greater.</li>
|
||||
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or greater.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Recommendations</h3>
|
||||
<ul>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.4</strong> or greater.</li>
|
||||
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.7</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.3</strong> or greater.</li>
|
||||
<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
|
||||
<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
|
||||
<li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li>
|
||||
</ul>
|
||||
|
||||
<h2>Online Resources</h2>
|
||||
<p>If you have any questions that are not addressed in this document, please take advantage of WordPress’ numerous online resources:</p>
|
||||
<dl>
|
||||
<dt><a href="https://wordpress.org/support/">HelpHub</a></dt>
|
||||
<dd>HelpHub is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
|
||||
<dt><a href="https://wordpress.org/news/">The WordPress Blog</a></dt>
|
||||
<dd>This is where you’ll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.</dd>
|
||||
<dt><a href="https://planet.wordpress.org/">WordPress Planet</a></dt>
|
||||
<dd>The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.</dd>
|
||||
<dt><a href="https://wordpress.org/support/forums/">WordPress Support Forums</a></dt>
|
||||
<dd>If you’ve looked everywhere and still cannot find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
|
||||
<dt><a href="https://make.wordpress.org/support/handbook/appendix/other-support-locations/introduction-to-irc/">WordPress <abbr>IRC</abbr> (Internet Relay Chat) Channel</a></dt>
|
||||
<dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="https://web.libera.chat/#wordpress">irc.libera.chat #wordpress</a>)</dd>
|
||||
</dl>
|
||||
|
||||
<h2>Final Notes</h2>
|
||||
<ul>
|
||||
<li>If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the <a href="https://wordpress.org/support/forums/">Support Forums</a>.</li>
|
||||
<li>WordPress has a robust plugin <abbr>API</abbr> (Application Programming Interface) that makes extending the code easy. If you are a developer interested in utilizing this, see the <a href="https://developer.wordpress.org/plugins/">Plugin Developer Handbook</a>. You shouldn’t modify any of the core code.</li>
|
||||
</ul>
|
||||
|
||||
<h2>Share the Love</h2>
|
||||
<p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgeable than yourself, or writing the author of a media article that overlooks us.</p>
|
||||
|
||||
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/cafélog</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p>
|
||||
|
||||
<h2>License</h2>
|
||||
<p>WordPress is free software, and is released under the terms of the <abbr>GPL</abbr> (GNU General Public License) version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
218
wp-activate.php
Normal file
218
wp-activate.php
Normal file
@@ -0,0 +1,218 @@
|
||||
<?php
|
||||
/**
|
||||
* Confirms that the activation key that is sent in an email after a user signs
|
||||
* up for a new site matches the key for that user and then displays confirmation.
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
define( 'WP_INSTALLING', true );
|
||||
|
||||
/** Sets up the WordPress Environment. */
|
||||
require __DIR__ . '/wp-load.php';
|
||||
|
||||
require __DIR__ . '/wp-blog-header.php';
|
||||
|
||||
if ( ! is_multisite() ) {
|
||||
wp_redirect( wp_registration_url() );
|
||||
die();
|
||||
}
|
||||
|
||||
$valid_error_codes = array( 'already_active', 'blog_taken' );
|
||||
|
||||
list( $activate_path ) = explode( '?', wp_unslash( $_SERVER['REQUEST_URI'] ) );
|
||||
$activate_cookie = 'wp-activate-' . COOKIEHASH;
|
||||
|
||||
$key = '';
|
||||
$result = null;
|
||||
|
||||
if ( isset( $_GET['key'] ) && isset( $_POST['key'] ) && $_GET['key'] !== $_POST['key'] ) {
|
||||
wp_die( __( 'A key value mismatch has been detected. Please follow the link provided in your activation email.' ), __( 'An error occurred during the activation' ), 400 );
|
||||
} elseif ( ! empty( $_GET['key'] ) ) {
|
||||
$key = $_GET['key'];
|
||||
} elseif ( ! empty( $_POST['key'] ) ) {
|
||||
$key = $_POST['key'];
|
||||
}
|
||||
|
||||
if ( $key ) {
|
||||
$redirect_url = remove_query_arg( 'key' );
|
||||
|
||||
if ( remove_query_arg( false ) !== $redirect_url ) {
|
||||
setcookie( $activate_cookie, $key, 0, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
|
||||
wp_safe_redirect( $redirect_url );
|
||||
exit;
|
||||
} else {
|
||||
$result = wpmu_activate_signup( $key );
|
||||
}
|
||||
}
|
||||
|
||||
if ( null === $result && isset( $_COOKIE[ $activate_cookie ] ) ) {
|
||||
$key = $_COOKIE[ $activate_cookie ];
|
||||
$result = wpmu_activate_signup( $key );
|
||||
setcookie( $activate_cookie, ' ', time() - YEAR_IN_SECONDS, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
|
||||
}
|
||||
|
||||
if ( null === $result || ( is_wp_error( $result ) && 'invalid_key' === $result->get_error_code() ) ) {
|
||||
status_header( 404 );
|
||||
} elseif ( is_wp_error( $result ) ) {
|
||||
$error_code = $result->get_error_code();
|
||||
|
||||
if ( ! in_array( $error_code, $valid_error_codes, true ) ) {
|
||||
status_header( 400 );
|
||||
}
|
||||
}
|
||||
|
||||
nocache_headers();
|
||||
|
||||
if ( is_object( $wp_object_cache ) ) {
|
||||
$wp_object_cache->cache_enabled = false;
|
||||
}
|
||||
|
||||
// Fix for page title.
|
||||
$wp_query->is_404 = false;
|
||||
|
||||
/**
|
||||
* Fires before the Site Activation page is loaded.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
do_action( 'activate_header' );
|
||||
|
||||
/**
|
||||
* Adds an action hook specific to this page.
|
||||
*
|
||||
* Fires on {@see 'wp_head'}.
|
||||
*
|
||||
* @since MU (3.0.0)
|
||||
*/
|
||||
function do_activate_header() {
|
||||
/**
|
||||
* Fires before the Site Activation page is loaded.
|
||||
*
|
||||
* Fires on the {@see 'wp_head'} action.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
do_action( 'activate_wp_head' );
|
||||
}
|
||||
add_action( 'wp_head', 'do_activate_header' );
|
||||
|
||||
/**
|
||||
* Loads styles specific to this page.
|
||||
*
|
||||
* @since MU (3.0.0)
|
||||
*/
|
||||
function wpmu_activate_stylesheet() {
|
||||
?>
|
||||
<style type="text/css">
|
||||
.wp-activate-container { width: 90%; margin: 0 auto; }
|
||||
.wp-activate-container form { margin-top: 2em; }
|
||||
#submit, #key { width: 100%; font-size: 24px; box-sizing: border-box; }
|
||||
#language { margin-top: 0.5em; }
|
||||
.wp-activate-container .error { background: #f66; color: #333; }
|
||||
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
add_action( 'wp_head', 'wpmu_activate_stylesheet' );
|
||||
add_action( 'wp_head', 'wp_strict_cross_origin_referrer' );
|
||||
add_filter( 'wp_robots', 'wp_robots_sensitive_page' );
|
||||
|
||||
get_header( 'wp-activate' );
|
||||
|
||||
$blog_details = get_blog_details();
|
||||
?>
|
||||
|
||||
<div id="signup-content" class="widecolumn">
|
||||
<div class="wp-activate-container">
|
||||
<?php if ( ! $key ) { ?>
|
||||
|
||||
<h2><?php _e( 'Activation Key Required' ); ?></h2>
|
||||
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( $blog_details->path . 'wp-activate.php' ); ?>">
|
||||
<p>
|
||||
<label for="key"><?php _e( 'Activation Key:' ); ?></label>
|
||||
<br /><input type="text" name="key" id="key" value="" size="50" autofocus="autofocus" />
|
||||
</p>
|
||||
<p class="submit">
|
||||
<input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e( 'Activate' ); ?>" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
if ( is_wp_error( $result ) && in_array( $result->get_error_code(), $valid_error_codes, true ) ) {
|
||||
$signup = $result->get_error_data();
|
||||
?>
|
||||
<h2><?php _e( 'Your account is now active!' ); ?></h2>
|
||||
<?php
|
||||
echo '<p class="lead-in">';
|
||||
if ( '' === $signup->domain . $signup->path ) {
|
||||
printf(
|
||||
/* translators: 1: Login URL, 2: Username, 3: User email address, 4: Lost password URL. */
|
||||
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
|
||||
network_site_url( $blog_details->path . 'wp-login.php', 'login' ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: Site URL, 2: Username, 3: User email address, 4: Lost password URL. */
|
||||
__( 'Your site at %1$s is active. You may now log in to your site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
|
||||
sprintf( '<a href="http://%1$s%2$s">%1$s%2$s</a>', $signup->domain, $blog_details->path ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
}
|
||||
echo '</p>';
|
||||
} elseif ( null === $result || is_wp_error( $result ) ) {
|
||||
?>
|
||||
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
|
||||
<?php if ( is_wp_error( $result ) ) : ?>
|
||||
<p><?php echo $result->get_error_message(); ?></p>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
} else {
|
||||
$url = isset( $result['blog_id'] ) ? get_home_url( (int) $result['blog_id'] ) : '';
|
||||
$user = get_userdata( (int) $result['user_id'] );
|
||||
?>
|
||||
<h2><?php _e( 'Your account is now active!' ); ?></h2>
|
||||
|
||||
<div id="signup-welcome">
|
||||
<p><span class="h3"><?php _e( 'Username:' ); ?></span> <?php echo $user->user_login; ?></p>
|
||||
<p><span class="h3"><?php _e( 'Password:' ); ?></span> <?php echo $result['password']; ?></p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ( $url && network_home_url( '', 'http' ) !== $url ) :
|
||||
switch_to_blog( (int) $result['blog_id'] );
|
||||
$login_url = wp_login_url();
|
||||
restore_current_blog();
|
||||
?>
|
||||
<p class="view">
|
||||
<?php
|
||||
/* translators: 1: Site URL, 2: Login URL. */
|
||||
printf( __( 'Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Log in</a>' ), $url, esc_url( $login_url ) );
|
||||
?>
|
||||
</p>
|
||||
<?php else : ?>
|
||||
<p class="view">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: Login URL, 2: Network home URL. */
|
||||
__( 'Your account is now activated. <a href="%1$s">Log in</a> or go back to the <a href="%2$s">homepage</a>.' ),
|
||||
network_site_url( $blog_details->path . 'wp-login.php', 'login' ),
|
||||
network_home_url( $blog_details->path )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<?php
|
||||
endif;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
get_footer( 'wp-activate' );
|
||||
21
wp-blog-header.php
Normal file
21
wp-blog-header.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Loads the WordPress environment and template.
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
if ( ! isset( $wp_did_header ) ) {
|
||||
|
||||
$wp_did_header = true;
|
||||
|
||||
// Load the WordPress library.
|
||||
require_once __DIR__ . '/wp-load.php';
|
||||
|
||||
// Set up the WordPress query.
|
||||
wp();
|
||||
|
||||
// Load the theme template.
|
||||
require_once ABSPATH . WPINC . '/template-loader.php';
|
||||
|
||||
}
|
||||
81
wp-comments-post.php
Normal file
81
wp-comments-post.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/**
|
||||
* Handles Comment Post to WordPress and prevents duplicate comment posting.
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
if ( 'POST' !== $_SERVER['REQUEST_METHOD'] ) {
|
||||
$protocol = $_SERVER['SERVER_PROTOCOL'];
|
||||
if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0', 'HTTP/3' ), true ) ) {
|
||||
$protocol = 'HTTP/1.0';
|
||||
}
|
||||
|
||||
header( 'Allow: POST' );
|
||||
header( "$protocol 405 Method Not Allowed" );
|
||||
header( 'Content-Type: text/plain' );
|
||||
exit;
|
||||
}
|
||||
|
||||
/** Sets up the WordPress Environment. */
|
||||
require __DIR__ . '/wp-load.php';
|
||||
|
||||
nocache_headers();
|
||||
|
||||
$comment = wp_handle_comment_submission( wp_unslash( $_POST ) );
|
||||
if ( is_wp_error( $comment ) ) {
|
||||
$data = (int) $comment->get_error_data();
|
||||
if ( ! empty( $data ) ) {
|
||||
wp_die(
|
||||
'<p>' . $comment->get_error_message() . '</p>',
|
||||
__( 'Comment Submission Failure' ),
|
||||
array(
|
||||
'response' => $data,
|
||||
'back_link' => true,
|
||||
)
|
||||
);
|
||||
} else {
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
$user = wp_get_current_user();
|
||||
$cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) );
|
||||
|
||||
/**
|
||||
* Perform other actions when comment cookies are set.
|
||||
*
|
||||
* @since 3.4.0
|
||||
* @since 4.9.6 The `$cookies_consent` parameter was added.
|
||||
*
|
||||
* @param WP_Comment $comment Comment object.
|
||||
* @param WP_User $user Comment author's user object. The user may not exist.
|
||||
* @param bool $cookies_consent Comment author's consent to store cookies.
|
||||
*/
|
||||
do_action( 'set_comment_cookies', $comment, $user, $cookies_consent );
|
||||
|
||||
$location = empty( $_POST['redirect_to'] ) ? get_comment_link( $comment ) : $_POST['redirect_to'] . '#comment-' . $comment->comment_ID;
|
||||
|
||||
// If user didn't consent to cookies, add specific query arguments to display the awaiting moderation message.
|
||||
if ( ! $cookies_consent && 'unapproved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_author_email ) ) {
|
||||
$location = add_query_arg(
|
||||
array(
|
||||
'unapproved' => $comment->comment_ID,
|
||||
'moderation-hash' => wp_hash( $comment->comment_date_gmt ),
|
||||
),
|
||||
$location
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the location URI to send the commenter after posting.
|
||||
*
|
||||
* @since 2.0.5
|
||||
*
|
||||
* @param string $location The 'redirect_to' URI sent via $_POST.
|
||||
* @param WP_Comment $comment Comment object.
|
||||
*/
|
||||
$location = apply_filters( 'comment_post_redirect', $location, $comment );
|
||||
|
||||
wp_safe_redirect( $location );
|
||||
exit;
|
||||
96
wp-config-sample.php
Normal file
96
wp-config-sample.php
Normal file
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
/**
|
||||
* The base configuration for WordPress
|
||||
*
|
||||
* The wp-config.php creation script uses this file during the installation.
|
||||
* You don't have to use the web site, you can copy this file to "wp-config.php"
|
||||
* and fill in the values.
|
||||
*
|
||||
* This file contains the following configurations:
|
||||
*
|
||||
* * Database settings
|
||||
* * Secret keys
|
||||
* * Database table prefix
|
||||
* * ABSPATH
|
||||
*
|
||||
* @link https://wordpress.org/support/article/editing-wp-config-php/
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
// ** Database settings - You can get this info from your web host ** //
|
||||
/** The name of the database for WordPress */
|
||||
define( 'DB_NAME', 'database_name_here' );
|
||||
|
||||
/** Database username */
|
||||
define( 'DB_USER', 'username_here' );
|
||||
|
||||
/** Database password */
|
||||
define( 'DB_PASSWORD', 'password_here' );
|
||||
|
||||
/** Database hostname */
|
||||
define( 'DB_HOST', 'localhost' );
|
||||
|
||||
/** Database charset to use in creating database tables. */
|
||||
define( 'DB_CHARSET', 'utf8' );
|
||||
|
||||
/** The database collate type. Don't change this if in doubt. */
|
||||
define( 'DB_COLLATE', '' );
|
||||
|
||||
/**#@+
|
||||
* Authentication unique keys and salts.
|
||||
*
|
||||
* Change these to different unique phrases! You can generate these using
|
||||
* the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
|
||||
*
|
||||
* You can change these at any point in time to invalidate all existing cookies.
|
||||
* This will force all users to have to log in again.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
define( 'AUTH_KEY', 'put your unique phrase here' );
|
||||
define( 'SECURE_AUTH_KEY', 'put your unique phrase here' );
|
||||
define( 'LOGGED_IN_KEY', 'put your unique phrase here' );
|
||||
define( 'NONCE_KEY', 'put your unique phrase here' );
|
||||
define( 'AUTH_SALT', 'put your unique phrase here' );
|
||||
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
|
||||
define( 'LOGGED_IN_SALT', 'put your unique phrase here' );
|
||||
define( 'NONCE_SALT', 'put your unique phrase here' );
|
||||
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* WordPress database table prefix.
|
||||
*
|
||||
* You can have multiple installations in one database if you give each
|
||||
* a unique prefix. Only numbers, letters, and underscores please!
|
||||
*/
|
||||
$table_prefix = 'wp_';
|
||||
|
||||
/**
|
||||
* For developers: WordPress debugging mode.
|
||||
*
|
||||
* Change this to true to enable the display of notices during development.
|
||||
* It is strongly recommended that plugin and theme developers use WP_DEBUG
|
||||
* in their development environments.
|
||||
*
|
||||
* For information on other constants that can be used for debugging,
|
||||
* visit the documentation.
|
||||
*
|
||||
* @link https://wordpress.org/support/article/debugging-in-wordpress/
|
||||
*/
|
||||
define( 'WP_DEBUG', false );
|
||||
|
||||
/* Add any custom values between this line and the "stop editing" line. */
|
||||
|
||||
|
||||
|
||||
/* That's all, stop editing! Happy publishing. */
|
||||
|
||||
/** Absolute path to the WordPress directory. */
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
define( 'ABSPATH', __DIR__ . '/' );
|
||||
}
|
||||
|
||||
/** Sets up WordPress vars and included files. */
|
||||
require_once ABSPATH . 'wp-settings.php';
|
||||
102
wp-config.php
Normal file
102
wp-config.php
Normal file
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* The base configuration for WordPress
|
||||
*
|
||||
* The wp-config.php creation script uses this file during the
|
||||
* installation. You don't have to use the web site, you can
|
||||
* copy this file to "wp-config.php" and fill in the values.
|
||||
*
|
||||
* This file contains the following configurations:
|
||||
*
|
||||
* * MySQL settings
|
||||
* * Secret keys
|
||||
* * Database table prefix
|
||||
* * ABSPATH
|
||||
*
|
||||
* @link https://codex.wordpress.org/Editing_wp-config.php
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
// ** MySQL settings - You can get this info from your web host ** //
|
||||
/** The name of the database for WordPress */
|
||||
/** The name of the database for WordPress */
|
||||
define('DB_NAME', 'host828780_elitexsklep');
|
||||
|
||||
/** MySQL database username */
|
||||
define('DB_USER', 'host828780_elitexsklep');
|
||||
|
||||
/** MySQL database password */
|
||||
define('DB_PASSWORD', 'y3NWEFSp6KgtWWfS');
|
||||
|
||||
/** MySQL hostname */
|
||||
define('DB_HOST', 'localhost');
|
||||
|
||||
/** Database Charset to use in creating database tables. */
|
||||
define('DB_CHARSET', 'utf8');
|
||||
|
||||
/** The Database Collate type. Don't change this if in doubt. */
|
||||
define('DB_COLLATE', '');
|
||||
|
||||
define('DISALLOW_FILE_EDIT', true);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**#@+
|
||||
* Authentication Unique Keys and Salts.
|
||||
*
|
||||
* Change these to different unique phrases!
|
||||
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
|
||||
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
define('AUTH_KEY', 'gcp,FncH76#Ni7-I[udV1x2@a6X>k=m94E?5r6Qcc5J^^l7AEXXr_V4*1N8[cIC8');
|
||||
define('SECURE_AUTH_KEY', '&P)[x@sx{-F`NenF0s$ARL[hve,Dh[n,Lnj?pkGQJL*Q[s1/|M3 9KoPa|,wIgmy');
|
||||
define('LOGGED_IN_KEY', 'Aa+cBeVg?sN86SEd:E${K7^s1#D#cZEbv6z{Hp)0/xCo;j|>|,`AHLD%dRXXK,Gl');
|
||||
define('NONCE_KEY', '?uUT{$vL=wY|@asg=y&v#|q+!hh~-?CF>_.B54r~I|dj8yqv;yb>I&P+)q>Ft;m&');
|
||||
define('AUTH_SALT', 'WY<^]z!X6b#2wZ2<?-*Tyvo|M8i>H-%%,#s!/:9c|kKr?|=%W7M}}d@bKOfP4{?j');
|
||||
define('SECURE_AUTH_SALT', 'Jtt[rfolPV;L$~[*k2Ghp}#]v`^V:Ahs;-9#jZ/jAGSp+|k0)aIyoM?E4nCKQhn<');
|
||||
define('LOGGED_IN_SALT', 'cJB|4]iC+@]w6f:tP2 JyaDV}^C$Q|X3[Xg^ZBHyetkQ|F*OHI!!|q=P*^F9%J-7');
|
||||
define('NONCE_SALT', 'eLizERk-qy1{#Vefa/tB{l~_|{5lq&V[.jCRA;V3CX!BXqLx2 F6uk^[qXyE%2Y*');
|
||||
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* WordPress Database Table prefix.
|
||||
*
|
||||
* You can have multiple installations in one database if you give each
|
||||
* a unique prefix. Only numbers, letters, and underscores please!
|
||||
*/
|
||||
$table_prefix = 'El2x_';
|
||||
|
||||
/**
|
||||
* For developers: WordPress debugging mode.
|
||||
*
|
||||
* Change this to true to enable the display of notices during development.
|
||||
* It is strongly recommended that plugin and theme developers use WP_DEBUG
|
||||
* in their development environments.
|
||||
*
|
||||
* For information on other constants that can be used for debugging,
|
||||
* visit the Codex.
|
||||
*
|
||||
* @link https://codex.wordpress.org/Debugging_in_WordPress
|
||||
*/
|
||||
define( 'WP_DEBUG', true );
|
||||
define( 'WP_DEBUG_LOG', false );
|
||||
define( 'WP_DEBUG_DISPLAY', false );
|
||||
|
||||
/* That's all, stop editing! Happy blogging. */
|
||||
|
||||
/** Absolute path to the WordPress directory. */
|
||||
if ( !defined('ABSPATH') )
|
||||
define('ABSPATH', dirname(__FILE__) . '/');
|
||||
|
||||
/** Sets up WordPress vars and included files. */
|
||||
require_once(ABSPATH . 'wp-settings.php');
|
||||
|
||||
25
wp-content/plugins/woo-product-feed-pro/TODO.txt
Normal file
25
wp-content/plugins/woo-product-feed-pro/TODO.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
So you found my to-do list for this plugin? Well, hope you enjoy the little sneak preview of what's coming.
|
||||
Missing some features you might like? Drop me a line at support@adtribes.io and we might just add it to the list. Thanks!
|
||||
|
||||
Tutorial / Blog posts:
|
||||
- Explain all the different fields/attributes that can be selected from the drop-downs
|
||||
- product highlight / details article
|
||||
|
||||
Priority issues:
|
||||
- Add automotive fields for Facebook feed, see: https://developers.facebook.com/docs/marketing-api/dynamic-ads-auto/auto-catalog/
|
||||
- Autosuggest for category mapping broken
|
||||
- Add AddToCart event on buttons again
|
||||
- Add Pinterest Tag; https://help.pinterest.com/nl/business/article/install-the-pinterest-tag
|
||||
- License key input field needs to be a password field (asterixes)
|
||||
- A seperate FB pixel per WPML website / language
|
||||
- Add a preview option so only 5-10 products are being generated
|
||||
- Own hosted plugin updating: https://rudrastyh.com/wordpress/self-hosted-plugin-update.html
|
||||
- Add support for Wordpress Multisites
|
||||
- Add a filter on review score (and amount of reviews)
|
||||
- Make extra woosea fields available for front-end usage
|
||||
- Add header to extra fields on product edit pages
|
||||
- Add possibility to create OR rules
|
||||
- Add support for Google My Business product feeds
|
||||
- AMAZON integration:
|
||||
- requires a professional seller account, 39 dollar a month, before being able to create a developer account
|
||||
- only then we can use their MWS service needed to connect our plugin
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
/**
|
||||
* Nothing to see here
|
||||
*/
|
||||
?>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
/**
|
||||
* Nothing to see here
|
||||
*/
|
||||
?>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,163 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Beslist feeds
|
||||
*/
|
||||
class WooSEA_beslist {
|
||||
public $beslist;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$beslist = array(
|
||||
"Feed fields" => array(
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Unique code" => array(
|
||||
"name" => "unique_code",
|
||||
"feed_name" => "unique_code",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product URL" => array(
|
||||
"name" => "product_url",
|
||||
"feed_name" => "product_url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Image URL" => array(
|
||||
"name" => "image_url",
|
||||
"feed_name" => "image_url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Extra image 1" => array(
|
||||
"name" => "extra_image_1",
|
||||
"feed_name" => "extra_image_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra image 2" => array(
|
||||
"name" => "extra_image_2",
|
||||
"feed_name" => "extra_image_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra image 3" => array(
|
||||
"name" => "extra_image_3",
|
||||
"feed_name" => "extra_image_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra image 4" => array(
|
||||
"name" => "extra_image_4",
|
||||
"feed_name" => "extra_image_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra image 5" => array(
|
||||
"name" => "extra_image_5",
|
||||
"feed_name" => "extra_image_5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra image 6" => array(
|
||||
"name" => "extra_image_6",
|
||||
"feed_name" => "extra_image_6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra image 7" => array(
|
||||
"name" => "extra_image_7",
|
||||
"feed_name" => "extra_image_7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra image 8" => array(
|
||||
"name" => "extra_image_8",
|
||||
"feed_name" => "extra_image_8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra image 9" => array(
|
||||
"name" => "extra_image_9",
|
||||
"feed_name" => "extra_image_9",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "category",
|
||||
"feed_name" => "category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category_path_short",
|
||||
),
|
||||
"Delivery period" => array(
|
||||
"name" => "delivery_period",
|
||||
"feed_name" => "delivery_period",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "",
|
||||
),
|
||||
"Delivery charges" => array(
|
||||
"name" => "delivery_charges",
|
||||
"feed_name" => "delivery_charges",
|
||||
"format" => "required",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Product description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Display" => array(
|
||||
"name" => "display",
|
||||
"feed_name" => "display",
|
||||
"format" => "optional",
|
||||
),
|
||||
"SKU" => array(
|
||||
"name" => "SKU",
|
||||
"feed_name" => "SKU",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Condition" => array(
|
||||
"name" => "condition",
|
||||
"feed_name" => "condition",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"Variant code" => array(
|
||||
"name" => "variant_code",
|
||||
"feed_name" => "variant_code",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Model code" => array(
|
||||
"name" => "model_code",
|
||||
"feed_name" => "model_code",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Old price" => array(
|
||||
"name" => "old_price",
|
||||
"feed_name" => "old_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $beslist;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,141 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Bestprice feeds
|
||||
*/
|
||||
class WooSEA_bestprice {
|
||||
public $bestprice;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$bestprice = array(
|
||||
"Feed fields" => array(
|
||||
"productId" => array(
|
||||
"name" => "productId",
|
||||
"feed_name" => "productId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"productURL" => array(
|
||||
"name" => "productURL",
|
||||
"feed_name" => "productURL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"imageURL" => array(
|
||||
"name" => "imageURL",
|
||||
"feed_name" => "imageURL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"imagesURL" => array(
|
||||
"name" => "imagesURL",
|
||||
"feed_name" => "imagesURL",
|
||||
"format" => "optional",
|
||||
),
|
||||
"price" => array(
|
||||
"name" => "price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"category_path" => array(
|
||||
"name" => "category_path",
|
||||
"feed_name" => "category_path",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category_path_short",
|
||||
),
|
||||
"category_id" => array(
|
||||
"name" => "category_id",
|
||||
"feed_name" => "category_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"stock" => array(
|
||||
"name" => "stock",
|
||||
"feed_name" => "stock",
|
||||
"format" => "optional",
|
||||
),
|
||||
"brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Barcode" => array(
|
||||
"name" => "Barcode",
|
||||
"feed_name" => "Barcode",
|
||||
"format" => "required",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "MPN",
|
||||
"feed_name" => "MPN",
|
||||
"format" => "required",
|
||||
),
|
||||
"SKU" => array(
|
||||
"name" => "SKU",
|
||||
"feed_name" => "SKU",
|
||||
"format" => "required",
|
||||
),
|
||||
"size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"warranty_provider" => array(
|
||||
"name" => "warranty_provider",
|
||||
"feed_name" => "warranty_provider",
|
||||
"format" => "optional",
|
||||
),
|
||||
"warranty_duration" => array(
|
||||
"name" => "warranty_duration",
|
||||
"feed_name" => "warranty_duration",
|
||||
"format" => "optional",
|
||||
),
|
||||
"isBundle" => array(
|
||||
"name" => "isBundle",
|
||||
"feed_name" => "isBundle",
|
||||
"format" => "optional",
|
||||
),
|
||||
"features" => array(
|
||||
"name" => "features",
|
||||
"feed_name" => "features",
|
||||
"format" => "optional",
|
||||
),
|
||||
"weight" => array(
|
||||
"name" => "weight",
|
||||
"feed_name" => "weight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"shipping" => array(
|
||||
"name" => "shipping",
|
||||
"feed_name" => "shipping",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $bestprice;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,201 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Billiger feeds
|
||||
*/
|
||||
class WooSEA_billiger {
|
||||
public $billiger;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$billiger = array(
|
||||
"Feed fields" => array(
|
||||
"AID" => array(
|
||||
"name" => "aid / sku",
|
||||
"feed_name" => "aid",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Name" => array(
|
||||
"name" => "name",
|
||||
"feed_name" => "name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Link" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Image" => array(
|
||||
"name" => "image",
|
||||
"feed_name" => "image",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Product description" => array(
|
||||
"name" => "desc",
|
||||
"feed_name" => "desc",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Shop category" => array(
|
||||
"name" => "shop_cat",
|
||||
"feed_name" => "shop_cat",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Base price" => array(
|
||||
"name" => "base_price",
|
||||
"feed_name" => "base_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Old price" => array(
|
||||
"name" => "old_price",
|
||||
"feed_name" => "old_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "ean / gtin",
|
||||
"feed_name" => "ean",
|
||||
"format" => "required",
|
||||
),
|
||||
"MPNR" => array(
|
||||
"name" => "mpn(r)",
|
||||
"feed_name" => "mpnr",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery time" => array(
|
||||
"name" => "dlv_time",
|
||||
"feed_name" => "dlv_time",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery cost" => array(
|
||||
"name" => "dlv_cost",
|
||||
"feed_name" => "dlv_cost",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery cost Austria" => array(
|
||||
"name" => "dlv_cost_at",
|
||||
"feed_name" => "dlv_cost_at",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Promotional text" => array(
|
||||
"name" => "promo_text",
|
||||
"feed_name" => "promo_text",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Voucher text" => array(
|
||||
"name" => "voucher_text",
|
||||
"feed_name" => "voucher_text",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Class" => array(
|
||||
"name" => "class",
|
||||
"feed_name" => "class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Features" => array(
|
||||
"name" => "features",
|
||||
"feed_name" => "features",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Style" => array(
|
||||
"name" => "style",
|
||||
"feed_name" => "style",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EEK" => array(
|
||||
"name" => "eek",
|
||||
"feed_name" => "eek",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Light socket" => array(
|
||||
"name" => "light_socket",
|
||||
"feed_name" => "light_socket",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Wet adhesion" => array(
|
||||
"name" => "wet_adhesion",
|
||||
"feed_name" => "wet_adhesion",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Fuel" => array(
|
||||
"name" => "fuel",
|
||||
"feed_name" => "fuel",
|
||||
"format" => "optional",
|
||||
),
|
||||
"External rolling noise" => array(
|
||||
"name" => "rollgeraeusch",
|
||||
"feed_name" => "rollgeraeusch",
|
||||
"format" => "optional",
|
||||
),
|
||||
"HSN and TSN" => array(
|
||||
"name" => "hsn_tsn",
|
||||
"feed_name" => "hsn_tsn",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Slide" => array(
|
||||
"name" => "diameter",
|
||||
"feed_name" => "slide",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Base Curve" => array(
|
||||
"name" => "bc",
|
||||
"feed_name" => "bc",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Diopters" => array(
|
||||
"name" => "sph_pwr",
|
||||
"feed_name" => "sph_pwr",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Cylinder" => array(
|
||||
"name" => "cyl",
|
||||
"feed_name" => "cyl",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Axis" => array(
|
||||
"name" => "axis",
|
||||
"feed_name" => "axis",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $billiger;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,223 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Bing Shopping product feeds
|
||||
*/
|
||||
class WooSEA_bing_shopping {
|
||||
public $bing_attributes;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$bing_attributes = array(
|
||||
"Required fields" => array(
|
||||
"id" => array(
|
||||
"name" => "id",
|
||||
"feed_name" => "id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"link" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"price" => array(
|
||||
"name" => "price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"image_link" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"shipping" => array(
|
||||
"name" => "shipping",
|
||||
"feed_name" => "shipping",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
"Item identification" => array(
|
||||
"mpn" => array(
|
||||
"name" => "mpn",
|
||||
"feed_name" => "mpn",
|
||||
"format" => "optional",
|
||||
),
|
||||
"gtin" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "optional",
|
||||
),
|
||||
"brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Apparal products" => array(
|
||||
"gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"age_group" => array(
|
||||
"name" => "age_group",
|
||||
"feed_name" => "age_group",
|
||||
"format" => "optional",
|
||||
),
|
||||
"color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Product variants" => array(
|
||||
"item_group_id" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"pattern" => array(
|
||||
"name" => "pattern",
|
||||
"feed_name" => "pattern",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Other" => array(
|
||||
"adult" => array(
|
||||
"name" => "adult",
|
||||
"feed_name" => "adult",
|
||||
"format" => "optional",
|
||||
),
|
||||
"availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "optional",
|
||||
),
|
||||
"product_category" => array(
|
||||
"name" => "product_category",
|
||||
"feed_name" => "product_category",
|
||||
"format" => "optional",
|
||||
),
|
||||
"condition" => array(
|
||||
"name" => "condition",
|
||||
"feed_name" => "condition",
|
||||
"format" => "optional",
|
||||
),
|
||||
"expiration_date" => array(
|
||||
"name" => "expiration_date",
|
||||
"feed_name" => "expiration_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"multipack" => array(
|
||||
"name" => "multipack",
|
||||
"feed_name" => "multipack",
|
||||
"format" => "optional",
|
||||
),
|
||||
"product_type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"mobile_link" => array(
|
||||
"name" => "mobile_link",
|
||||
"feed_name" => "mobile_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Bing attributes" => array(
|
||||
"seller_name" => array(
|
||||
"name" => "seller_name",
|
||||
"feed_name" => "seller_name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"bingads_grouping" => array(
|
||||
"name" => "bingads_grouping",
|
||||
"feed_name" => "bingads_grouping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"bingads_label" => array(
|
||||
"name" => "bingads_label",
|
||||
"feed_name" => "bingads_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"bingads_redirect" => array(
|
||||
"name" => "bingads_redirect",
|
||||
"feed_name" => "bingads_redirect",
|
||||
"format" => "optional",
|
||||
),
|
||||
"custom_label_0" => array(
|
||||
"name" => "custom_label_0",
|
||||
"feed_name" => "custom_label_0",
|
||||
"format" => "optional",
|
||||
),
|
||||
"custom_label_1" => array(
|
||||
"name" => "custom_label_1",
|
||||
"feed_name" => "custom_label_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"custom_label_2" => array(
|
||||
"name" => "custom_label_2",
|
||||
"feed_name" => "custom_label_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"custom_label_3" => array(
|
||||
"name" => "custom_label_3",
|
||||
"feed_name" => "custom_label_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"custom_label_4" => array(
|
||||
"name" => "custom_label_4",
|
||||
"feed_name" => "custom_label_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Sales and promotions" => array(
|
||||
"sale_price" => array(
|
||||
"name" => "sale_price",
|
||||
"feed_name" => "sale_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"sale_price_effective_date" => array(
|
||||
"name" => "sale_price_effective_date",
|
||||
"feed_name" => "sale_price_effective_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"promotion_ID" => array(
|
||||
"name" => "promotion_ID",
|
||||
"feed_name" => "promotion_ID",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $bing_attributes;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Bing Shopping Promotions feeds
|
||||
*/
|
||||
class WooSEA_bing_shopping_promotions {
|
||||
public $bing_attributes_promotions;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$bing_attributes_promotions = array(
|
||||
"Feed fields" => array(
|
||||
"promotion_id" => array(
|
||||
"name" => "promotion_id",
|
||||
"feed_name" => "promotion_id",
|
||||
"format" => "required",
|
||||
),
|
||||
"product_applicability" => array(
|
||||
"name" => "product_applicability",
|
||||
"feed_name" => "product_applicability",
|
||||
"format" => "required",
|
||||
),
|
||||
"offer_type" => array(
|
||||
"name" => "offer_type",
|
||||
"feed_name" => "offer_type",
|
||||
"format" => "required",
|
||||
),
|
||||
"long_title" => array(
|
||||
"name" => "long_title",
|
||||
"feed_name" => "long_title",
|
||||
"format" => "required",
|
||||
),
|
||||
"promotion_effective_dates" => array(
|
||||
"name" => "promotion_effective_dates",
|
||||
"feed_name" => "promotion_effective_dates",
|
||||
"format" => "required",
|
||||
),
|
||||
"redemption_channel" => array(
|
||||
"name" => "redemption_channel",
|
||||
"feed_name" => "redemption_channel",
|
||||
"format" => "required",
|
||||
),
|
||||
"promotional_display_dates" => array(
|
||||
"name" => "promotional_display_dates",
|
||||
"feed_name" => "promotional_display_dates",
|
||||
"format" => "optional",
|
||||
),
|
||||
"minimum_purchase_amount" => array(
|
||||
"name" => "minimum_purchase_amount",
|
||||
"feed_name" => "minimum_purchase_amount",
|
||||
"format" => "optional",
|
||||
),
|
||||
"generic_redemption_code" => array(
|
||||
"name" => "generic_redemption_code",
|
||||
"feed_name" => "generic_redemption_code",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Structured data attributes" => array(
|
||||
"percent_off" => array(
|
||||
"name" => "percent_off",
|
||||
"feed_name" => "percent_off",
|
||||
"format" => "optional",
|
||||
),
|
||||
"money_off_amount" => array(
|
||||
"name" => "percent_off_amount",
|
||||
"feed_name" => "percent_off_amount",
|
||||
"format" => "optional",
|
||||
),
|
||||
"buy_this_quantity" => array(
|
||||
"name" => "buy_this_quantity",
|
||||
"feed_name" => "buy_this_quantity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"get_this_quantity_discounted" => array(
|
||||
"name" => "get_this_quantity_discounted",
|
||||
"feed_name" => "get_this_quantity_discounted",
|
||||
"format" => "optional",
|
||||
),
|
||||
"free_shipping" => array(
|
||||
"name" => "free_shipping",
|
||||
"feed_name" => "free_shipping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"free_gift_value" => array(
|
||||
"name" => "free_gift_value",
|
||||
"feed_name" => "free_gift_value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"free_gift_description" => array(
|
||||
"name" => "free_gift_description",
|
||||
"feed_name" => "free_gift_description",
|
||||
"format" => "optional",
|
||||
),
|
||||
"free_gift_item_id" => array(
|
||||
"name" => "free_gift_item_id",
|
||||
"feed_name" => "free_gift_item_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $bing_attributes_promotions;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,133 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Boetiek.nl feeds
|
||||
*/
|
||||
class WooSEA_boetiek {
|
||||
public $boetiek;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$boetiek = array(
|
||||
"Feed fields" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "ProductID",
|
||||
"feed_name" => "ProductID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product Name" => array(
|
||||
"name" => "ProductName",
|
||||
"feed_name" => "ProductName",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Product URL" => array(
|
||||
"name" => "ProductURL",
|
||||
"feed_name" => "ProductURL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Product Image" => array(
|
||||
"name" => "ProductImage",
|
||||
"feed_name" => "ProductImage",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Product Description" => array(
|
||||
"name" => "ProductDescription",
|
||||
"feed_name" => "ProductDescription",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Category Path" => array(
|
||||
"name" => "CategoryPath",
|
||||
"feed_name" => "CategoryPath",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category_path",
|
||||
),
|
||||
"Brand Name" => array(
|
||||
"name" => "BrandName",
|
||||
"feed_name" => "BrandName",
|
||||
"format" => "required",
|
||||
),
|
||||
"Product Price" => array(
|
||||
"name" => "ProductPrice",
|
||||
"feed_name" => "ProductPrice",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Product Sale Price" => array(
|
||||
"name" => "ProductSalePrice",
|
||||
"feed_name" => "ProductSalePrice",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sale_price",
|
||||
),
|
||||
"In Stock" => array(
|
||||
"name" => "InStock",
|
||||
"feed_name" => "InStock",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Colour" => array(
|
||||
"name" => "Colour",
|
||||
"feed_name" => "Colour",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "Material",
|
||||
"feed_name" => "Material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "Gender",
|
||||
"feed_name" => "Gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Sustainable" => array(
|
||||
"name" => "Sustainable",
|
||||
"feed_name" => "Sustainable",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Sizes" => array(
|
||||
"name" => "Sizes",
|
||||
"feed_name" => "Sizes",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Parent/Group ID" => array(
|
||||
"name" => "ParentGroupID",
|
||||
"feed_name" => "ParentGroupID",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Stock Quantity" => array(
|
||||
"name" => "StockQuantity",
|
||||
"feed_name" => "StockQuantity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Alternative Images" => array(
|
||||
"name" => "AlternativeImages",
|
||||
"feed_name" => "AlternativeImages",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Long Description" => array(
|
||||
"name" => "LongDescription",
|
||||
"feed_name" => "LongDescription",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Delivery Time" => array(
|
||||
"name" => "DeliveryTime",
|
||||
"feed_name" => "DeliveryTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Delivery Cost" => array(
|
||||
"name" => "DeliveryCost",
|
||||
"feed_name" => "DeliveryCost",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $boetiek;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Bol.com product feeds
|
||||
*/
|
||||
class WooSEA_bol {
|
||||
public $bol;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$bol = array(
|
||||
"Feed fields" => array(
|
||||
"Reference" => array(
|
||||
"name" => "Reference",
|
||||
"feed_name" => "Reference",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Condition" => array(
|
||||
"name" => "Condition",
|
||||
"feed_name" => "Condition",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"Stock" => array(
|
||||
"name" => "Stock",
|
||||
"feed_name" => "Stock",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "Price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Fullfillment by" => array(
|
||||
"name" => "Fullfillment by",
|
||||
"feed_name" => "Fullfillment by",
|
||||
"format" => "required",
|
||||
),
|
||||
"Offer description" => array(
|
||||
"name" => "Offer description",
|
||||
"feed_name" => "Offer description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"For sale" => array(
|
||||
"name" => "For sale",
|
||||
"feed_name" => "For sale",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "Title",
|
||||
"feed_name" => "Title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $bol;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,179 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Catch.com.au feeds
|
||||
*/
|
||||
class WooSEA_catchcomau {
|
||||
public $catchcomau;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$catchcomau = array(
|
||||
"Feed fields" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "Product ID",
|
||||
"feed_name" => "product-id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product ID Type" => array(
|
||||
"name" => "Product ID Type",
|
||||
"feed_name" => "product-id-type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category",
|
||||
),
|
||||
"Internal SKU" => array(
|
||||
"name" => "Internal SKU",
|
||||
"feed_name" => "internal-sku",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "SKU",
|
||||
),
|
||||
"Product title" => array(
|
||||
"name" => "Product title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Product reference type" => array(
|
||||
"name" => "Product reference type",
|
||||
"feed_name" => "product-reference-type",
|
||||
"format" => "required",
|
||||
),
|
||||
"Product reference value" => array(
|
||||
"name" => "Product reference value",
|
||||
"feed_name" => "product-reference-value",
|
||||
"format" => "required",
|
||||
),
|
||||
"Variant ID" => array(
|
||||
"name" => "Variant ID",
|
||||
"feed_name" => "variant-id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Variant Size Value" => array(
|
||||
"name" => "Variant Size Value",
|
||||
"feed_name" => "variant-size-value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image 1" => array(
|
||||
"name" => "Image 1",
|
||||
"feed_name" => "image-1",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Image 2" => array(
|
||||
"name" => "Image 2",
|
||||
"feed_name" => "image-2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image 3" => array(
|
||||
"name" => "Image 3",
|
||||
"feed_name" => "image-3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image 4" => array(
|
||||
"name" => "Image 4",
|
||||
"feed_name" => "image-4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image 5" => array(
|
||||
"name" => "Image 5",
|
||||
"feed_name" => "image-5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image 6" => array(
|
||||
"name" => "Image 6",
|
||||
"feed_name" => "image-6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image Size Chart" => array(
|
||||
"name" => "Image Size Chart",
|
||||
"feed_name" => "image-size-chart",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "product-description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Adult" => array(
|
||||
"name" => "Adult",
|
||||
"feed_name" => "adult",
|
||||
"format" => "required",
|
||||
),
|
||||
"Keywords" => array(
|
||||
"name" => "Keywords",
|
||||
"feed_name" => "keywords",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Offer SKU" => array(
|
||||
"name" => "Offer SKU",
|
||||
"feed_name" => "sku",
|
||||
"format" => "required",
|
||||
),
|
||||
"Offer Price" => array(
|
||||
"name" => "Offer Price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Offer Quantity" => array(
|
||||
"name" => "Offer Quantity",
|
||||
"feed_name" => "quantity",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "quantity",
|
||||
),
|
||||
"Minimum Quantity Alert" => array(
|
||||
"name" => "Minimum Quantity Alert",
|
||||
"feed_name" => "min-quantity-alert",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Offer State" => array(
|
||||
"name" => "Offer State",
|
||||
"feed_name" => "state",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"Logistic Class" => array(
|
||||
"name" => "Logistic Class",
|
||||
"feed_name" => "logistic-class",
|
||||
"format" => "required",
|
||||
),
|
||||
"Discount Price" => array(
|
||||
"name" => "Discount Price",
|
||||
"feed_name" => "discount-price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price",
|
||||
),
|
||||
"Lead Time to Ship" => array(
|
||||
"name" => "Lead Time to Ship",
|
||||
"feed_name" => "leadtime-to-ship",
|
||||
"format" => "required",
|
||||
),
|
||||
"Club Catch eligible" => array(
|
||||
"name" => "Club Catch eligible",
|
||||
"feed_name" => "club-catch-eligible",
|
||||
"format" => "required",
|
||||
),
|
||||
"GST %" => array(
|
||||
"name" => "GST %",
|
||||
"feed_name" => "tax-au",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $catchcomau;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,117 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Compari Romania feeds
|
||||
*/
|
||||
class WooSEA_compari_ro {
|
||||
public $compari_ro;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$compari_ro = array(
|
||||
"Feed fields" => array(
|
||||
"productid" => array(
|
||||
"name" => "productid",
|
||||
"feed_name" => "productid",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"manufacturer" => array(
|
||||
"name" => "manufacturer",
|
||||
"feed_name" => "manufacturer",
|
||||
"format" => "required",
|
||||
),
|
||||
"name" => array(
|
||||
"name" => "name",
|
||||
"feed_name" => "name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"category" => array(
|
||||
"name" => "category",
|
||||
"feed_name" => "category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"product_url" => array(
|
||||
"name" => "product_url",
|
||||
"feed_name" => "product_url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"price" => array(
|
||||
"name" => "price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"identifier" => array(
|
||||
"name" => "identifier",
|
||||
"feed_name" => "identifier",
|
||||
"format" => "required",
|
||||
),
|
||||
"image_url" => array(
|
||||
"name" => "image_url",
|
||||
"feed_name" => "image_url",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"image_url_2" => array(
|
||||
"name" => "image_url_2",
|
||||
"feed_name" => "image_url_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_url_3" => array(
|
||||
"name" => "image_url_3",
|
||||
"feed_name" => "image_url_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"delivery_time" => array(
|
||||
"name" => "delivery_time",
|
||||
"feed_name" => "delivery_time",
|
||||
"format" => "optional",
|
||||
),
|
||||
"delivery_cost" => array(
|
||||
"name" => "delivery_cost",
|
||||
"feed_name" => "delivery_cost",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EAN_code" => array(
|
||||
"name" => "EAN_code",
|
||||
"feed_name" => "EAN_code",
|
||||
"format" => "optional",
|
||||
),
|
||||
"net_price" => array(
|
||||
"name" => "net_price",
|
||||
"feed_name" => "net_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"GroupId" => array(
|
||||
"name" => "GroupId",
|
||||
"feed_name" => "GroupId",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $compari_ro;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,261 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Custom product feeds
|
||||
*/
|
||||
class WooSEA_customfeed {
|
||||
public $customfeed;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$customfeed = array(
|
||||
"Basic product data" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "id",
|
||||
"feed_name" => "id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Product description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Product URL" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Main image URL" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image URL" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product URL mobile" => array(
|
||||
"name" => "mobile_link",
|
||||
"feed_name" => "mobile_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Price & availability" => array(
|
||||
"Stock status" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Availability date" => array(
|
||||
"name" => "availability_date",
|
||||
"feed_name" => "availability_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Expiration date" => array(
|
||||
"name" => "expiration_date",
|
||||
"feed_name" => "expiration_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Sale price" => array(
|
||||
"name" => "sale_price",
|
||||
"feed_name" => "sale_price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price",
|
||||
),
|
||||
"Sale price effective date" => array(
|
||||
"name" => "sale_price_effective_date",
|
||||
"feed_name" => "sale_price_effective_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Unit pricing measure" => array(
|
||||
"name" => "unit_pricing_measure",
|
||||
"feed_name" => "unit_pricing_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Unit pricing base measure" => array(
|
||||
"name" => "unit_pricing_measure",
|
||||
"feed_name" => "unit_pricing_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Installment" => array(
|
||||
"name" => "installment",
|
||||
"feed_name" => "installment",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Loyalty points" => array(
|
||||
"name" => "loyalty_points",
|
||||
"feed_name" => "loyalty_points",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Product category" => array(
|
||||
"Categories" => array(
|
||||
"name" => "categories",
|
||||
"feed_name" => "categories",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Product type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "product_type",
|
||||
),
|
||||
),
|
||||
"Product identifiers" => array(
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gtin" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "mpn",
|
||||
"feed_name" => "mpn",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "ean",
|
||||
"feed_name" => "ean",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Detailed product description" => array(
|
||||
"Condition" => array(
|
||||
"name" => "condition",
|
||||
"feed_name" => "condition",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"Adult" => array(
|
||||
"name" => "adult",
|
||||
"feed_name" => "adult",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Multipack" => array(
|
||||
"name" => "multipack",
|
||||
"feed_name" => "multipack",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Is bundle" => array(
|
||||
"name" => "is_bundle",
|
||||
"feed_name" => "is_bundle",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Energy efficiency class" => array(
|
||||
"name" => "energy_efficiency_class",
|
||||
"feed_name" => "energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Age group" => array(
|
||||
"name" => "age_group",
|
||||
"feed_name" => "age_group",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pattern" => array(
|
||||
"name" => "pattern",
|
||||
"feed_name" => "pattern",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size type" => array(
|
||||
"name" => "size_type",
|
||||
"feed_name" => "size_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size system" => array(
|
||||
"name" => "size_system",
|
||||
"feed_name" => "size_system",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Shipping" => array(
|
||||
"Shipping" => array(
|
||||
"name" => "shipping",
|
||||
"feed_name" => "shipping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping label" => array(
|
||||
"name" => "shipping_label",
|
||||
"feed_name" => "shipping_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping weight" => array(
|
||||
"name" => "shipping_weight",
|
||||
"feed_name" => "shipping_weight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping length" => array(
|
||||
"name" => "shipping_length",
|
||||
"feed_name" => "shipping_length",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping width" => array(
|
||||
"name" => "shipping_width",
|
||||
"feed_name" => "shipping_width",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping height" => array(
|
||||
"name" => "shipping_height",
|
||||
"feed_name" => "shipping_height",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Tax" => array(
|
||||
"Tax" => array(
|
||||
"name" => "tax",
|
||||
"feed_name" => "tax",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $customfeed;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,248 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Daisycon huis & tuin feeds
|
||||
*/
|
||||
class WooSEA_daisyconhuisentuin {
|
||||
public $daisyconhuisentuin;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$daisyconhuisentuin = array(
|
||||
"Feed fields" => array(
|
||||
"description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"link" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"price" => array(
|
||||
"name" => "price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"sku" => array(
|
||||
"name" => "sku",
|
||||
"feed_name" => "sku",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"additional_costs" => array(
|
||||
"name" => "additional_costs",
|
||||
"feed_name" => "additional_costs",
|
||||
"format" => "optional",
|
||||
),
|
||||
"brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "optional",
|
||||
),
|
||||
"brand_logo" => array(
|
||||
"name" => "brand_logo",
|
||||
"feed_name" => "brand_log",
|
||||
"format" => "optional",
|
||||
),
|
||||
"category" => array(
|
||||
"name" => "category",
|
||||
"feed_name" => "category",
|
||||
"format" => "optional",
|
||||
),
|
||||
"category_path" => array(
|
||||
"name" => "category_path",
|
||||
"feed_name" => "category_path",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "category_path",
|
||||
),
|
||||
"color_primary" => array(
|
||||
"name" => "color_primary",
|
||||
"feed_name" => "color_primary",
|
||||
"format" => "optional",
|
||||
),
|
||||
"condition" => array(
|
||||
"name" => "condition",
|
||||
"feed_name" => "condition",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"delivery_description" => array(
|
||||
"name" => "delivery_description",
|
||||
"feed_name" => "delivery_description",
|
||||
"format" => "optional",
|
||||
),
|
||||
"delivery_time" => array(
|
||||
"name" => "delivery_time",
|
||||
"feed_name" => "delivery_time",
|
||||
"format" => "optional",
|
||||
),
|
||||
"designer" => array(
|
||||
"name" => "designer",
|
||||
"feed_name" => "designer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ean" => array(
|
||||
"name" => "ean",
|
||||
"feed_name" => "ean",
|
||||
"format" => "optional",
|
||||
),
|
||||
"gender_target" => array(
|
||||
"name" => "gender_target",
|
||||
"feed_name" => "gender_target",
|
||||
"format" => "optional",
|
||||
),
|
||||
"google_category_id" => array(
|
||||
"name" => "google_category_id",
|
||||
"feed_name" => "google_category_id",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "category",
|
||||
),
|
||||
"in_stock" => array(
|
||||
"name" => "in_stock",
|
||||
"feed_name" => "in_stock",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "stock",
|
||||
),
|
||||
"in_stock_amount" => array(
|
||||
"name" => "in_stock_amount",
|
||||
"feed_name" => "in_stock_amount",
|
||||
"format" => "optional",
|
||||
),
|
||||
"keywords" => array(
|
||||
"name" => "keywords",
|
||||
"feed_name" => "keywords",
|
||||
"format" => "optional",
|
||||
),
|
||||
"made_in_country" => array(
|
||||
"name" => "made_in_country",
|
||||
"feed_name" => "made_in_country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"material_1" => array(
|
||||
"name" => "material_1",
|
||||
"feed_name" => "material_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"material_2" => array(
|
||||
"name" => "material_2",
|
||||
"feed_name" => "material_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"material_3" => array(
|
||||
"name" => "material_3",
|
||||
"feed_name" => "material_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"model" => array(
|
||||
"name" => "model",
|
||||
"feed_name" => "model",
|
||||
"format" => "optional",
|
||||
),
|
||||
"price_old" => array(
|
||||
"name" => "price_old",
|
||||
"feed_name" => "price_old",
|
||||
"format" => "optional",
|
||||
),
|
||||
"price_shipping" => array(
|
||||
"name" => "price_shipping",
|
||||
"feed_name" => "price_shipping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"priority" => array(
|
||||
"name" => "priority",
|
||||
"feed_name" => "priority",
|
||||
"format" => "optional",
|
||||
),
|
||||
"size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"size_description" => array(
|
||||
"name" => "size_description",
|
||||
"feed_name" => "size_description",
|
||||
"format" => "optional",
|
||||
),
|
||||
"size_length" => array(
|
||||
"name" => "size_length",
|
||||
"feed_name" => "size_length",
|
||||
"format" => "optional",
|
||||
),
|
||||
"size_width" => array(
|
||||
"name" => "size_width",
|
||||
"feed_name" => "size_width",
|
||||
"format" => "optional",
|
||||
),
|
||||
"terms_condition" => array(
|
||||
"name" => "terms_condition",
|
||||
"feed_name" => "terms_condition",
|
||||
"format" => "optional",
|
||||
),
|
||||
"weight" => array(
|
||||
"name" => "weight",
|
||||
"feed_name" => "weight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_link_1" => array(
|
||||
"name" => "image_link_1",
|
||||
"feed_name" => "image_link_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_link_2" => array(
|
||||
"name" => "image_link_2",
|
||||
"feed_name" => "image_link_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_link_3" => array(
|
||||
"name" => "image_link_3",
|
||||
"feed_name" => "image_link_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_link_4" => array(
|
||||
"name" => "image_link_4",
|
||||
"feed_name" => "image_link_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_link_5" => array(
|
||||
"name" => "image_link_5",
|
||||
"feed_name" => "image_link_5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_link_6" => array(
|
||||
"name" => "image_link_6",
|
||||
"feed_name" => "image_link_6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_link_7" => array(
|
||||
"name" => "image_link_7",
|
||||
"feed_name" => "image_link_7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_link_8" => array(
|
||||
"name" => "image_link_8",
|
||||
"feed_name" => "image_link_8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"image_link_9" => array(
|
||||
"name" => "image_link_9",
|
||||
"feed_name" => "image_link_9",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $daisyconhuisentuin;
|
||||
}
|
||||
}
|
||||
?>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,123 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Fashionchick feeds
|
||||
*/
|
||||
class WooSEA_fashionchick {
|
||||
public $fashionchick;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$fashionchick = array(
|
||||
"Feed fields" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "Product ID",
|
||||
"feed_name" => "Product ID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Url" => array(
|
||||
"name" => "Url",
|
||||
"feed_name" => "Url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Titel" => array(
|
||||
"name" => "Titel",
|
||||
"feed_name" => "Titel",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Image" => array(
|
||||
"name" => "Image",
|
||||
"feed_name" => "Image",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Omschrijving" => array(
|
||||
"name" => "Omschrijving",
|
||||
"feed_name" => "Omschrijving",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Category (pad)" => array(
|
||||
"name" => "Category (pad)",
|
||||
"feed_name" => "Category (pad)",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category_path",
|
||||
),
|
||||
"SubCategory" => array(
|
||||
"name" => "SubCategory",
|
||||
"feed_name" => "SubCategory",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "one_category",
|
||||
),
|
||||
"Prijs" => array(
|
||||
"name" => "Prijs",
|
||||
"feed_name" => "Prijs",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Merk" => array(
|
||||
"name" => "Merk",
|
||||
"feed_name" => "Merk",
|
||||
"format" => "required",
|
||||
),
|
||||
"Kleur" => array(
|
||||
"name" => "Kleur",
|
||||
"feed_name" => "Kleur",
|
||||
"format" => "required",
|
||||
),
|
||||
"Cluster ID" => array(
|
||||
"name" => "Cluster ID",
|
||||
"feed_name" => "Cluster ID",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Levertijd" => array(
|
||||
"name" => "Levertijd",
|
||||
"feed_name" => "Levertijd",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Verzendkosten" => array(
|
||||
"name" => "Verzendkosten",
|
||||
"feed_name" => "Verzendkosten",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Oude prijs" => array(
|
||||
"name" => "Oude prijs",
|
||||
"feed_name" => "Oude prijs",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product maten" => array(
|
||||
"name" => "Product maten",
|
||||
"feed_name" => "Product maten",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Voorraad" => array(
|
||||
"name" => "Voorraad",
|
||||
"feed_name" => "Voorraad",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Voorrraad aantal" => array(
|
||||
"name" => "Voorraad aantal",
|
||||
"feed_name" => "Voorraad aantal",
|
||||
"format" => "required",
|
||||
),
|
||||
"Materiaal" => array(
|
||||
"name" => "Materiaal",
|
||||
"feed_name" => "Materiaal",
|
||||
"format" => "required",
|
||||
),
|
||||
"Geslacht" => array(
|
||||
"name" => "Geslacht",
|
||||
"feed_name" => "Geslacht",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $fashionchick;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,232 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Fruugoaustralia.com feeds
|
||||
*/
|
||||
class WooSEA_fruugoaus {
|
||||
public $fruugoaus;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$fruugoaus = array(
|
||||
"Feed fields" => array(
|
||||
"Product Id" => array(
|
||||
"name" => "ProductId",
|
||||
"feed_name" => "ProductId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Sku Id" => array(
|
||||
"name" => "SkuId",
|
||||
"feed_name" => "SkuId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"GTINs" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "Brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category",
|
||||
),
|
||||
"Image URL 1" => array(
|
||||
"name" => "Imageurl1",
|
||||
"feed_name" => "Imageurl1",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Stock Status" => array(
|
||||
"name" => "StockStatus",
|
||||
"feed_name" => "StockStatus",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Quantity in Stock" => array(
|
||||
"name" => "StockQuantity",
|
||||
"feed_name" => "StockQuantity",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "Title",
|
||||
"feed_name" => "Title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Normal Price With VAT" => array(
|
||||
"name" => "NormalPriceWithVat",
|
||||
"feed_name" => "NormalPriceWithVat",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Normal Price Without VAT" => array(
|
||||
"name" => "NormalPriceWithoutVat",
|
||||
"feed_name" => "NormalPriceWithoutVat",
|
||||
"format" => "optional",
|
||||
),
|
||||
"VAT Rate" => array(
|
||||
"name" => "VatRate",
|
||||
"feed_name" => "VatRate",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
"feed_name" => "Imageurl2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 3" => array(
|
||||
"name" => "Imageurl3",
|
||||
"feed_name" => "Imageurl3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 4" => array(
|
||||
"name" => "Imageurl4",
|
||||
"feed_name" => "Imageurl4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 5" => array(
|
||||
"name" => "Imageurl5",
|
||||
"feed_name" => "Imageurl5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Language" => array(
|
||||
"name" => "Language",
|
||||
"feed_name" => "Language",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Size" => array(
|
||||
"name" => "AttributeSize",
|
||||
"feed_name" => "AttributeSize",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Color" => array(
|
||||
"name" => "AttributeColor",
|
||||
"feed_name" => "AttributeColor",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Currency" => array(
|
||||
"name" => "Currency",
|
||||
"feed_name" => "Currency",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Without VAT" => array(
|
||||
"name" => "DiscountPriceWithoutVAT",
|
||||
"feed_name" => "DiscountPriceWithoutVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price With VAT" => array(
|
||||
"name" => "DiscountPriceWithVAT",
|
||||
"feed_name" => "DiscountPriceWithVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ISBN" => array(
|
||||
"name" => "ISBN",
|
||||
"feed_name" => "ISBN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "Manufacturer",
|
||||
"feed_name" => "Manufacturer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Restock Date" => array(
|
||||
"name" => "RestockDate",
|
||||
"feed_name" => "RestockDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Lead Time" => array(
|
||||
"name" => "LeadTime",
|
||||
"feed_name" => "LeadTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Package Weight" => array(
|
||||
"name" => "PackageWeight",
|
||||
"feed_name" => "PackageWeight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 1" => array(
|
||||
"name" => "Attribute1",
|
||||
"feed_name" => "Attribute1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 2" => array(
|
||||
"name" => "Attribute2",
|
||||
"feed_name" => "Attribute2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 3" => array(
|
||||
"name" => "Attribute3",
|
||||
"feed_name" => "Attribute3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 4" => array(
|
||||
"name" => "Attribute4",
|
||||
"feed_name" => "Attribute4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 5" => array(
|
||||
"name" => "Attribute5",
|
||||
"feed_name" => "Attribute5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 6" => array(
|
||||
"name" => "Attribute6",
|
||||
"feed_name" => "Attribute6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 7" => array(
|
||||
"name" => "Attribute7",
|
||||
"feed_name" => "Attribute7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 8" => array(
|
||||
"name" => "Attribute8",
|
||||
"feed_name" => "Attribute8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 9" => array(
|
||||
"name" => "Attribute9",
|
||||
"feed_name" => "Attribute9",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 10" => array(
|
||||
"name" => "Attribute10",
|
||||
"feed_name" => "Attribute10",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Country" => array(
|
||||
"name" => "Country",
|
||||
"feed_name" => "Country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Start Date" => array(
|
||||
"name" => "DiscountPriceStartDate",
|
||||
"feed_name" => "DiscountPriceStartDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price End Date" => array(
|
||||
"name" => "DiscountPriceEndDate",
|
||||
"feed_name" => "DiscountPriceEndDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $fruugoaus;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,232 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Fruugo.es feeds
|
||||
*/
|
||||
class WooSEA_fruugoes {
|
||||
public $fruugoes;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$fruugoes = array(
|
||||
"Feed fields" => array(
|
||||
"Product Id" => array(
|
||||
"name" => "ProductId",
|
||||
"feed_name" => "ProductId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Sku Id" => array(
|
||||
"name" => "SkuId",
|
||||
"feed_name" => "SkuId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"GTINs" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "Brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category",
|
||||
),
|
||||
"Image URL 1" => array(
|
||||
"name" => "Imageurl1",
|
||||
"feed_name" => "Imageurl1",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Stock Status" => array(
|
||||
"name" => "StockStatus",
|
||||
"feed_name" => "StockStatus",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Quantity in Stock" => array(
|
||||
"name" => "StockQuantity",
|
||||
"feed_name" => "StockQuantity",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "Title",
|
||||
"feed_name" => "Title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Normal Price With VAT" => array(
|
||||
"name" => "NormalPriceWithVat",
|
||||
"feed_name" => "NormalPriceWithVat",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Normal Price Without VAT" => array(
|
||||
"name" => "NormalPriceWithoutVat",
|
||||
"feed_name" => "NormalPriceWithoutVat",
|
||||
"format" => "optional",
|
||||
),
|
||||
"VAT Rate" => array(
|
||||
"name" => "VatRate",
|
||||
"feed_name" => "VatRate",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
"feed_name" => "Imageurl2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 3" => array(
|
||||
"name" => "Imageurl3",
|
||||
"feed_name" => "Imageurl3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 4" => array(
|
||||
"name" => "Imageurl4",
|
||||
"feed_name" => "Imageurl4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 5" => array(
|
||||
"name" => "Imageurl5",
|
||||
"feed_name" => "Imageurl5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Language" => array(
|
||||
"name" => "Language",
|
||||
"feed_name" => "Language",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Size" => array(
|
||||
"name" => "AttributeSize",
|
||||
"feed_name" => "AttributeSize",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Color" => array(
|
||||
"name" => "AttributeColor",
|
||||
"feed_name" => "AttributeColor",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Currency" => array(
|
||||
"name" => "Currency",
|
||||
"feed_name" => "Currency",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Without VAT" => array(
|
||||
"name" => "DiscountPriceWithoutVAT",
|
||||
"feed_name" => "DiscountPriceWithoutVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price With VAT" => array(
|
||||
"name" => "DiscountPriceWithVAT",
|
||||
"feed_name" => "DiscountPriceWithVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ISBN" => array(
|
||||
"name" => "ISBN",
|
||||
"feed_name" => "ISBN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "Manufacturer",
|
||||
"feed_name" => "Manufacturer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Restock Date" => array(
|
||||
"name" => "RestockDate",
|
||||
"feed_name" => "RestockDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Lead Time" => array(
|
||||
"name" => "LeadTime",
|
||||
"feed_name" => "LeadTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Package Weight" => array(
|
||||
"name" => "PackageWeight",
|
||||
"feed_name" => "PackageWeight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 1" => array(
|
||||
"name" => "Attribute1",
|
||||
"feed_name" => "Attribute1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 2" => array(
|
||||
"name" => "Attribute2",
|
||||
"feed_name" => "Attribute2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 3" => array(
|
||||
"name" => "Attribute3",
|
||||
"feed_name" => "Attribute3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 4" => array(
|
||||
"name" => "Attribute4",
|
||||
"feed_name" => "Attribute4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 5" => array(
|
||||
"name" => "Attribute5",
|
||||
"feed_name" => "Attribute5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 6" => array(
|
||||
"name" => "Attribute6",
|
||||
"feed_name" => "Attribute6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 7" => array(
|
||||
"name" => "Attribute7",
|
||||
"feed_name" => "Attribute7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 8" => array(
|
||||
"name" => "Attribute8",
|
||||
"feed_name" => "Attribute8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 9" => array(
|
||||
"name" => "Attribute9",
|
||||
"feed_name" => "Attribute9",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 10" => array(
|
||||
"name" => "Attribute10",
|
||||
"feed_name" => "Attribute10",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Country" => array(
|
||||
"name" => "Country",
|
||||
"feed_name" => "Country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Start Date" => array(
|
||||
"name" => "DiscountPriceStartDate",
|
||||
"feed_name" => "DiscountPriceStartDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price End Date" => array(
|
||||
"name" => "DiscountPriceEndDate",
|
||||
"feed_name" => "DiscountPriceEndDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $fruugoes;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,232 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Fruugo.nl feeds
|
||||
*/
|
||||
class WooSEA_fruugonl {
|
||||
public $fruugonl;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$fruugonl = array(
|
||||
"Feed fields" => array(
|
||||
"Product Id" => array(
|
||||
"name" => "ProductId",
|
||||
"feed_name" => "ProductId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Sku Id" => array(
|
||||
"name" => "SkuId",
|
||||
"feed_name" => "SkuId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"GTINs" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "Brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category",
|
||||
),
|
||||
"Image URL 1" => array(
|
||||
"name" => "Imageurl1",
|
||||
"feed_name" => "Imageurl1",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Stock Status" => array(
|
||||
"name" => "StockStatus",
|
||||
"feed_name" => "StockStatus",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Quantity in Stock" => array(
|
||||
"name" => "StockQuantity",
|
||||
"feed_name" => "StockQuantity",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "Title",
|
||||
"feed_name" => "Title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Normal Price With VAT" => array(
|
||||
"name" => "NormalPriceWithVAT",
|
||||
"feed_name" => "NormalPriceWithVAT",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Normal Price Without VAT" => array(
|
||||
"name" => "NormalPriceWithoutVAT",
|
||||
"feed_name" => "NormalPriceWithoutVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"VAT Rate" => array(
|
||||
"name" => "VATRate",
|
||||
"feed_name" => "VATRate",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
"feed_name" => "Imageurl2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 3" => array(
|
||||
"name" => "Imageurl3",
|
||||
"feed_name" => "Imageurl3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 4" => array(
|
||||
"name" => "Imageurl4",
|
||||
"feed_name" => "Imageurl4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 5" => array(
|
||||
"name" => "Imageurl5",
|
||||
"feed_name" => "Imageurl5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Language" => array(
|
||||
"name" => "Language",
|
||||
"feed_name" => "Language",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Size" => array(
|
||||
"name" => "AttributeSize",
|
||||
"feed_name" => "AttributeSize",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Color" => array(
|
||||
"name" => "AttributeColor",
|
||||
"feed_name" => "AttributeColor",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Currency" => array(
|
||||
"name" => "Currency",
|
||||
"feed_name" => "Currency",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Without VAT" => array(
|
||||
"name" => "DiscountPriceWithoutVAT",
|
||||
"feed_name" => "DiscountPriceWithoutVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price With VAT" => array(
|
||||
"name" => "DiscountPriceWithVAT",
|
||||
"feed_name" => "DiscountPriceWithVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ISBN" => array(
|
||||
"name" => "ISBN",
|
||||
"feed_name" => "ISBN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "Manufacturer",
|
||||
"feed_name" => "Manufacturer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Restock Date" => array(
|
||||
"name" => "RestockDate",
|
||||
"feed_name" => "RestockDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Lead Time" => array(
|
||||
"name" => "LeadTime",
|
||||
"feed_name" => "LeadTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Package Weight" => array(
|
||||
"name" => "PackageWeight",
|
||||
"feed_name" => "PackageWeight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 1" => array(
|
||||
"name" => "Attribute1",
|
||||
"feed_name" => "Attribute1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 2" => array(
|
||||
"name" => "Attribute2",
|
||||
"feed_name" => "Attribute2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 3" => array(
|
||||
"name" => "Attribute3",
|
||||
"feed_name" => "Attribute3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 4" => array(
|
||||
"name" => "Attribute4",
|
||||
"feed_name" => "Attribute4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 5" => array(
|
||||
"name" => "Attribute5",
|
||||
"feed_name" => "Attribute5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 6" => array(
|
||||
"name" => "Attribute6",
|
||||
"feed_name" => "Attribute6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 7" => array(
|
||||
"name" => "Attribute7",
|
||||
"feed_name" => "Attribute7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 8" => array(
|
||||
"name" => "Attribute8",
|
||||
"feed_name" => "Attribute8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 9" => array(
|
||||
"name" => "Attribute9",
|
||||
"feed_name" => "Attribute9",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 10" => array(
|
||||
"name" => "Attribute10",
|
||||
"feed_name" => "Attribute10",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Country" => array(
|
||||
"name" => "Country",
|
||||
"feed_name" => "Country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Start Date" => array(
|
||||
"name" => "DiscountPriceStartDate",
|
||||
"feed_name" => "DiscountPriceStartDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price End Date" => array(
|
||||
"name" => "DiscountPriceEndDate",
|
||||
"feed_name" => "DiscountPriceEndDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $fruugonl;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,233 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Fruugo.co.uk feeds
|
||||
*/
|
||||
class WooSEA_fruugouk {
|
||||
public $fruugouk;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$fruugouk = array(
|
||||
"Feed fields" => array(
|
||||
"Product Id" => array(
|
||||
"name" => "ProductId",
|
||||
"feed_name" => "ProductId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Sku Id" => array(
|
||||
"name" => "SkuId",
|
||||
"feed_name" => "SkuId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"GTINs" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "Brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category",
|
||||
),
|
||||
"Image URL 1" => array(
|
||||
"name" => "Imageurl1",
|
||||
"feed_name" => "Imageurl1",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Stock Status" => array(
|
||||
"name" => "StockStatus",
|
||||
"feed_name" => "StockStatus",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Quantity in Stock" => array(
|
||||
"name" => "StockQuantity",
|
||||
"feed_name" => "StockQuantity",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "Title",
|
||||
"feed_name" => "Title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Normal Price Without VAT" => array(
|
||||
"name" => "NormalPriceWithoutVat",
|
||||
"feed_name" => "NormalPriceWithoutVat",
|
||||
"format" => "optional",
|
||||
),
|
||||
|
||||
"Normal Price With VAT" => array(
|
||||
"name" => "NormalPriceWithVat",
|
||||
"feed_name" => "NormalPriceWithVat",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"VAT Rate" => array(
|
||||
"name" => "VatRate",
|
||||
"feed_name" => "VatRate",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
"feed_name" => "Imageurl2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 3" => array(
|
||||
"name" => "Imageurl3",
|
||||
"feed_name" => "Imageurl3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 4" => array(
|
||||
"name" => "Imageurl4",
|
||||
"feed_name" => "Imageurl4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 5" => array(
|
||||
"name" => "Imageurl5",
|
||||
"feed_name" => "Imageurl5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Language" => array(
|
||||
"name" => "Language",
|
||||
"feed_name" => "Language",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Size" => array(
|
||||
"name" => "AttributeSize",
|
||||
"feed_name" => "AttributeSize",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Color" => array(
|
||||
"name" => "AttributeColor",
|
||||
"feed_name" => "AttributeColor",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Currency" => array(
|
||||
"name" => "Currency",
|
||||
"feed_name" => "Currency",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Without VAT" => array(
|
||||
"name" => "DiscountPriceWithoutVAT",
|
||||
"feed_name" => "DiscountPriceWithoutVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price With VAT" => array(
|
||||
"name" => "DiscountPriceWithVAT",
|
||||
"feed_name" => "DiscountPriceWithVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ISBN" => array(
|
||||
"name" => "ISBN",
|
||||
"feed_name" => "ISBN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "Manufacturer",
|
||||
"feed_name" => "Manufacturer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Restock Date" => array(
|
||||
"name" => "RestockDate",
|
||||
"feed_name" => "RestockDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Lead Time" => array(
|
||||
"name" => "LeadTime",
|
||||
"feed_name" => "LeadTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Package Weight" => array(
|
||||
"name" => "PackageWeight",
|
||||
"feed_name" => "PackageWeight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 1" => array(
|
||||
"name" => "Attribute1",
|
||||
"feed_name" => "Attribute1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 2" => array(
|
||||
"name" => "Attribute2",
|
||||
"feed_name" => "Attribute2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 3" => array(
|
||||
"name" => "Attribute3",
|
||||
"feed_name" => "Attribute3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 4" => array(
|
||||
"name" => "Attribute4",
|
||||
"feed_name" => "Attribute4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 5" => array(
|
||||
"name" => "Attribute5",
|
||||
"feed_name" => "Attribute5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 6" => array(
|
||||
"name" => "Attribute6",
|
||||
"feed_name" => "Attribute6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 7" => array(
|
||||
"name" => "Attribute7",
|
||||
"feed_name" => "Attribute7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 8" => array(
|
||||
"name" => "Attribute8",
|
||||
"feed_name" => "Attribute8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 9" => array(
|
||||
"name" => "Attribute9",
|
||||
"feed_name" => "Attribute9",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 10" => array(
|
||||
"name" => "Attribute10",
|
||||
"feed_name" => "Attribute10",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Country" => array(
|
||||
"name" => "Country",
|
||||
"feed_name" => "Country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Start Date" => array(
|
||||
"name" => "DiscountPriceStartDate",
|
||||
"feed_name" => "DiscountPriceStartDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price End Date" => array(
|
||||
"name" => "DiscountPriceEndDate",
|
||||
"feed_name" => "DiscountPriceEndDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $fruugouk;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,232 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Fruugo.us feeds
|
||||
*/
|
||||
class WooSEA_fruugous {
|
||||
public $fruugous;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$fruugous = array(
|
||||
"Feed fields" => array(
|
||||
"Product Id" => array(
|
||||
"name" => "ProductId",
|
||||
"feed_name" => "ProductId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Sku Id" => array(
|
||||
"name" => "SkuId",
|
||||
"feed_name" => "SkuId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"GTINs" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "Brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category",
|
||||
),
|
||||
"Image URL 1" => array(
|
||||
"name" => "Imageurl1",
|
||||
"feed_name" => "Imageurl1",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Stock Status" => array(
|
||||
"name" => "StockStatus",
|
||||
"feed_name" => "StockStatus",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Quantity in Stock" => array(
|
||||
"name" => "StockQuantity",
|
||||
"feed_name" => "StockQuantity",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "Title",
|
||||
"feed_name" => "Title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Normal Price With VAT" => array(
|
||||
"name" => "NormalPriceWithVat",
|
||||
"feed_name" => "NormalPriceWithVat",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Normal Price Without VAT" => array(
|
||||
"name" => "NormalPriceWithoutVat",
|
||||
"feed_name" => "NormalPriceWithoutVat",
|
||||
"format" => "optional",
|
||||
),
|
||||
"VAT Rate" => array(
|
||||
"name" => "VatRate",
|
||||
"feed_name" => "VatRate",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
"feed_name" => "Imageurl2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 3" => array(
|
||||
"name" => "Imageurl3",
|
||||
"feed_name" => "Imageurl3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 4" => array(
|
||||
"name" => "Imageurl4",
|
||||
"feed_name" => "Imageurl4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image URL 5" => array(
|
||||
"name" => "Imageurl5",
|
||||
"feed_name" => "Imageurl5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Language" => array(
|
||||
"name" => "Language",
|
||||
"feed_name" => "Language",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Size" => array(
|
||||
"name" => "AttributeSize",
|
||||
"feed_name" => "AttributeSize",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute Color" => array(
|
||||
"name" => "AttributeColor",
|
||||
"feed_name" => "AttributeColor",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Currency" => array(
|
||||
"name" => "Currency",
|
||||
"feed_name" => "Currency",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Without VAT" => array(
|
||||
"name" => "DiscountPriceWithoutVAT",
|
||||
"feed_name" => "DiscountPriceWithoutVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price With VAT" => array(
|
||||
"name" => "DiscountPriceWithVAT",
|
||||
"feed_name" => "DiscountPriceWithVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ISBN" => array(
|
||||
"name" => "ISBN",
|
||||
"feed_name" => "ISBN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "Manufacturer",
|
||||
"feed_name" => "Manufacturer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Restock Date" => array(
|
||||
"name" => "RestockDate",
|
||||
"feed_name" => "RestockDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Lead Time" => array(
|
||||
"name" => "LeadTime",
|
||||
"feed_name" => "LeadTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Package Weight" => array(
|
||||
"name" => "PackageWeight",
|
||||
"feed_name" => "PackageWeight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 1" => array(
|
||||
"name" => "Attribute1",
|
||||
"feed_name" => "Attribute1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 2" => array(
|
||||
"name" => "Attribute2",
|
||||
"feed_name" => "Attribute2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 3" => array(
|
||||
"name" => "Attribute3",
|
||||
"feed_name" => "Attribute3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 4" => array(
|
||||
"name" => "Attribute4",
|
||||
"feed_name" => "Attribute4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 5" => array(
|
||||
"name" => "Attribute5",
|
||||
"feed_name" => "Attribute5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 6" => array(
|
||||
"name" => "Attribute6",
|
||||
"feed_name" => "Attribute6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 7" => array(
|
||||
"name" => "Attribute7",
|
||||
"feed_name" => "Attribute7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 8" => array(
|
||||
"name" => "Attribute8",
|
||||
"feed_name" => "Attribute8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 9" => array(
|
||||
"name" => "Attribute9",
|
||||
"feed_name" => "Attribute9",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Attribute 10" => array(
|
||||
"name" => "Attribute10",
|
||||
"feed_name" => "Attribute10",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Country" => array(
|
||||
"name" => "Country",
|
||||
"feed_name" => "Country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price Start Date" => array(
|
||||
"name" => "DiscountPriceStartDate",
|
||||
"feed_name" => "DiscountPriceStartDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount Price End Date" => array(
|
||||
"name" => "DiscountPriceEndDate",
|
||||
"feed_name" => "DiscountPriceEndDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $fruugous;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,107 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Glami feeds
|
||||
*/
|
||||
class WooSEA_glami {
|
||||
public $glami;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$glami = array(
|
||||
"Feed fields" => array(
|
||||
"ITEM_ID" => array(
|
||||
"name" => "ITEM_ID",
|
||||
"feed_name" => "ITEM_ID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"ITEMGROUP_ID" => array(
|
||||
"name" => "ITEMGROUP_ID",
|
||||
"feed_name" => "ITEMGROUP_ID",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"PRODUCTNAME" => array(
|
||||
"name" => "PRODUCTNAME",
|
||||
"feed_name" => "PRODUCTNAME",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"DESCRIPTION" => array(
|
||||
"name" => "DESCRIPTION",
|
||||
"feed_name" => "DESCRIPTION",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"URL" => array(
|
||||
"name" => "URL",
|
||||
"feed_name" => "URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"URL_SIZE" => array(
|
||||
"name" => "URL_SIZE",
|
||||
"feed_name" => "URL_SIZE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"IMGURL" => array(
|
||||
"name" => "IMGURL",
|
||||
"feed_name" => "IMGURL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"IMGURL_ALTERNATIVE" => array(
|
||||
"name" => "IMGURL_ALTERNATIVE",
|
||||
"feed_name" => "IMGURL_ALTERNATIVE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PRICE_VAT" => array(
|
||||
"name" => "PRICE_VAT",
|
||||
"feed_name" => "PRICE_VAT",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"MANUFACTURER" => array(
|
||||
"name" => "MANUFACTURER",
|
||||
"feed_name" => "MANUFACTURER",
|
||||
"format" => "required",
|
||||
),
|
||||
"CATEGORYTEXT" => array(
|
||||
"name" => "CATEGORYTEXT",
|
||||
"feed_name" => "CATEGORYTEXT",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"CATEGORY_ID" => array(
|
||||
"name" => "CATEGORY_ID",
|
||||
"feed_name" => "CATEGORY_ID",
|
||||
"format" => "optional",
|
||||
),
|
||||
"GLAMI_CPC" => array(
|
||||
"name" => "GLAMI_CPC",
|
||||
"feed_name" => "GLAMI_CPC",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PROMOTION_ID" => array(
|
||||
"name" => "PROMOTION_ID",
|
||||
"feed_name" => "PROMOTION_ID",
|
||||
"format" => "optional",
|
||||
),
|
||||
"DELIVERY_DATE" => array(
|
||||
"name" => "DELIVERY_DATE",
|
||||
"feed_name" => "DELIVERY_DATE",
|
||||
"format" => "required",
|
||||
),
|
||||
"DELIVERY" => array(
|
||||
"name" => "DELIVERY",
|
||||
"feed_name" => "DELIVERY",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $glami;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Google DRM product feeds
|
||||
*/
|
||||
class WooSEA_google_drm {
|
||||
public $google_drm;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$google_drm = array(
|
||||
"Remarketing fields" => array(
|
||||
"ID" => array(
|
||||
"name" => "ID",
|
||||
"feed_name" => "ID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"ID2" => array(
|
||||
"name" => "ID2",
|
||||
"feed_name" => "ID2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item title" => array(
|
||||
"name" => "Item title",
|
||||
"feed_name" => "Item title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Item subtitle" => array(
|
||||
"name" => "Item subtitle",
|
||||
"feed_name" => "Item subtitle",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Final URL" => array(
|
||||
"name" => "Final URL",
|
||||
"feed_name" => "Final URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Image URL" => array(
|
||||
"name" => "Image URL",
|
||||
"feed_name" => "Image URL",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "image_link",
|
||||
),
|
||||
"Item description" => array(
|
||||
"name" => "Item description",
|
||||
"feed_name" => "Item description",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Item category" => array(
|
||||
"name" => "Item category",
|
||||
"feed_name" => "Item category",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "Price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Sale price" => array(
|
||||
"name" => "Sale price",
|
||||
"feed_name" => "Sale price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price",
|
||||
),
|
||||
"Sale price effective date" => array(
|
||||
"name" => "Sale price effective date",
|
||||
"feed_name" => "Sale price effective date",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price_effective_date",
|
||||
),
|
||||
"Contextual keywords" => array(
|
||||
"name" => "Contextual keywords",
|
||||
"feed_name" => "Contextual keywords",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item address" => array(
|
||||
"name" => "Item address",
|
||||
"feed_name" => "Item address",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Tracking template" => array(
|
||||
"name" => "Tracking template",
|
||||
"feed_name" => "Tracking template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom parameter" => array(
|
||||
"name" => "Custom parameter",
|
||||
"feed_name" => "Custom parameter",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "g:item_group_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $google_drm;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Google DSA product feeds
|
||||
*/
|
||||
class WooSEA_google_dsa {
|
||||
public $google_dsa;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$google_dsa = array(
|
||||
"DSA fields" => array(
|
||||
"Page URL" => array(
|
||||
"name" => "Page URL",
|
||||
"feed_name" => "Page URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Custom label" => array(
|
||||
"name" => "Custom label",
|
||||
"feed_name" => "Custom label",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $google_dsa;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Google Local Product Inventory feeds
|
||||
*/
|
||||
class WooSEA_google_local {
|
||||
public $google_local;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$google_local = array(
|
||||
"Local product inventory fields" => array(
|
||||
"Itemid" => array(
|
||||
"name" => "id",
|
||||
"feed_name" => "g:id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Store code" => array(
|
||||
"name" => "Store code",
|
||||
"feed_name" => "g:store_code",
|
||||
"format" => "required",
|
||||
),
|
||||
"Quantity" => array(
|
||||
"name" => "Quantity",
|
||||
"feed_name" => "g:quantity",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "quantity",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "g:price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Sale price" => array(
|
||||
"name" => "Sale price",
|
||||
"feed_name" => "g:sale_price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price",
|
||||
),
|
||||
"Sale price effective date" => array(
|
||||
"name" => "Sale price effective date",
|
||||
"feed_name" => "g:sale_price_effective_date",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price_effective_date",
|
||||
),
|
||||
"Availability" => array(
|
||||
"name" => "Availability",
|
||||
"feed_name" => "g:availability",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Weeks of supply" => array(
|
||||
"name" => "Weeks of supply",
|
||||
"feed_name" => "g:weeks_of_supply",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup method" => array(
|
||||
"name" => "Pickup method",
|
||||
"feed_name" => "g:pickup_method",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup sla" => array(
|
||||
"name" => "Pickup sla",
|
||||
"feed_name" => "g:pickup_sla",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Webitemid" => array(
|
||||
"name" => "Webitemid",
|
||||
"feed_name" => "g:webitemid",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $google_local;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,178 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Google Local Products feeds
|
||||
*/
|
||||
class WooSEA_google_local_products {
|
||||
public $google_local_products;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$google_local_products = array(
|
||||
"Local products fields" => array(
|
||||
"Itemid" => array(
|
||||
"name" => "Id",
|
||||
"feed_name" => "g:id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "Title",
|
||||
"feed_name" => "g:title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "g:description",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Image link" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "g:image_link",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Condition" => array(
|
||||
"name" => "condition",
|
||||
"feed_name" => "g:condition",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"Gtin" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "g:gtin",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "MPN",
|
||||
"feed_name" => "g:mpn",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "g:brand",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Google product category" => array(
|
||||
"name" => "google_product_category",
|
||||
"feed_name" => "g:google_product_category",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Energy efficiency class" => array(
|
||||
"name" => "energy_efficiency_class",
|
||||
"feed_name" => "g:energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Energy efficiency class min" => array(
|
||||
"name" => "energy_efficiency_class_min",
|
||||
"feed_name" => "g:energy_efficiency_class_min",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Energy efficiency class max" => array(
|
||||
"name" => "energy_efficiency_class_max",
|
||||
"feed_name" => "g:energy_efficiency_class_max",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Webitemid" => array(
|
||||
"name" => "webitemid",
|
||||
"feed_name" => "g:webitemid",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "g:price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Sale price" => array(
|
||||
"name" => "Sale price",
|
||||
"feed_name" => "g:sale_price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price",
|
||||
),
|
||||
"Sale price effective date" => array(
|
||||
"name" => "Sale price effective date",
|
||||
"feed_name" => "g:sale_price_effective_date",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price_effective_date",
|
||||
),
|
||||
"Unit pricing measure" => array(
|
||||
"name" => "unit_pricing_measure",
|
||||
"feed_name" => "g:unit_pricing_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Unit pricing base measure" => array(
|
||||
"name" => "unit_pricing_base_measure",
|
||||
"feed_name" => "g:unit_pricing_base_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup method" => array(
|
||||
"name" => "Pickup method",
|
||||
"feed_name" => "g:pickup_method",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup SLA" => array(
|
||||
"name" => "Pickup SLA",
|
||||
"feed_name" => "g:pickup_sla",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup link template" => array(
|
||||
"name" => "Pickup link template",
|
||||
"feed_name" => "g:pickup_link_template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Mobile pickup link template" => array(
|
||||
"name" => "Mobile pickup link template",
|
||||
"feed_name" => "g:mobile_pickup_link_template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Link template" => array(
|
||||
"name" => "Link template",
|
||||
"feed_name" => "g:link_template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Mobile link template" => array(
|
||||
"name" => "Mobile link template",
|
||||
"feed_name" => "g:mobile_link_template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ads redirect" => array(
|
||||
"name" => "Ads redirect",
|
||||
"feed_name" => "g:ads_redirect",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Age group" => array(
|
||||
"name" => "age_group",
|
||||
"feed_name" => "g:age_group",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "g:color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "g:gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "g:size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "g:item_group_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $google_local_products;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Google Product Review feeds
|
||||
*/
|
||||
class WooSEA_google_product_review {
|
||||
public $google_product_review;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$google_product_review = array(
|
||||
"Product review fields" => array(
|
||||
"product_name" => array(
|
||||
"name" => "product_name",
|
||||
"feed_name" => "product_name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"product_url" => array(
|
||||
"name" => "product_url",
|
||||
"feed_name" => "product_url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"gtin" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"mpn" => array(
|
||||
"name" => "mpn",
|
||||
"feed_name" => "mpn",
|
||||
"format" => "required",
|
||||
),
|
||||
"sku" => array(
|
||||
"name" => "sku",
|
||||
"feed_name" => "sku",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"reviews" => array(
|
||||
"name" => "reviews",
|
||||
"feed_name" => "reviews",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "reviews",
|
||||
),
|
||||
"review_url" => array(
|
||||
"name" => "review_url",
|
||||
"feed_name" => "review_url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $google_product_review;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,624 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Google Shopping product feeds
|
||||
*/
|
||||
class WooSEA_google_shopping {
|
||||
public $google_attributes;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$google_attributes = array(
|
||||
"Basic product data" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "id",
|
||||
"feed_name" => "g:id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "g:title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Short title" => array(
|
||||
"name" => "short_title",
|
||||
"feed_name" => "g:short_title",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Product description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "g:description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Product URL" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "g:link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Main image URL" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "g:image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image URL" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "g:additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Canonical product URL" => array(
|
||||
"name" => "canonical_link",
|
||||
"feed_name" => "g:canonical_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product URL mobile" => array(
|
||||
"name" => "mobile_link",
|
||||
"feed_name" => "g:mobile_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Price & availability" => array(
|
||||
"Stock status" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "g:availability",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Availability date" => array(
|
||||
"name" => "availability_date",
|
||||
"feed_name" => "g:availability_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Expiration date" => array(
|
||||
"name" => "expiration_date",
|
||||
"feed_name" => "g:expiration_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "g:price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Sale price" => array(
|
||||
"name" => "sale_price",
|
||||
"feed_name" => "g:sale_price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price",
|
||||
),
|
||||
"Sale price effective date" => array(
|
||||
"name" => "sale_price_effective_date",
|
||||
"feed_name" => "g:sale_price_effective_date",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price_effective_date",
|
||||
),
|
||||
"Unit pricing measure" => array(
|
||||
"name" => "unit_pricing_measure",
|
||||
"feed_name" => "g:unit_pricing_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Unit pricing base measure" => array(
|
||||
"name" => "unit_pricing_base_measure",
|
||||
"feed_name" => "g:unit_pricing_base_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Cost of goods sold" => array(
|
||||
"name" => "cost_of_goods_sold",
|
||||
"feed_name" => "g:cost_of_goods_sold",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Installment" => array(
|
||||
"name" => "installment",
|
||||
"feed_name" => "g:installment",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Subscription cost" => array(
|
||||
"name" => "subscription_cost",
|
||||
"feed_name" => "g:subscription_cost",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Loyalty points" => array(
|
||||
"name" => "loyalty_points",
|
||||
"feed_name" => "g:loyalty_points",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Product category" => array(
|
||||
"Google product category" => array(
|
||||
"name" => "google_product_category",
|
||||
"feed_name" => "g:google_product_category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Product type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "g:product_type",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "raw_categories",
|
||||
),
|
||||
),
|
||||
"Product identifiers" => array(
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "g:brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gtin" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "g:gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "mpn",
|
||||
"feed_name" => "g:mpn",
|
||||
"format" => "required",
|
||||
),
|
||||
"Identifier exists" => array(
|
||||
"name" => "identifier_exists",
|
||||
"feed_name" => "g:identifier_exists",
|
||||
"woo_suggest" => "calculated",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
"Detailed product description" => array(
|
||||
"Condition" => array(
|
||||
"name" => "condition",
|
||||
"feed_name" => "g:condition",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"Adult" => array(
|
||||
"name" => "adult",
|
||||
"feed_name" => "g:adult",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Multipack" => array(
|
||||
"name" => "multipack",
|
||||
"feed_name" => "g:multipack",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Is bundle" => array(
|
||||
"name" => "is_bundle",
|
||||
"feed_name" => "g:is_bundle",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Energy efficiency class" => array(
|
||||
"name" => "energy_efficiency_class",
|
||||
"feed_name" => "g:energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Minimum energy efficiency class" => array(
|
||||
"name" => "min_energy_efficiency_class",
|
||||
"feed_name" => "g:min_energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Maximum energy efficiency class" => array(
|
||||
"name" => "max_energy_efficiency_class",
|
||||
"feed_name" => "g:max_energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Age group" => array(
|
||||
"name" => "age_group",
|
||||
"feed_name" => "g:age_group",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "g:color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "g:gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "g:material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pattern" => array(
|
||||
"name" => "pattern",
|
||||
"feed_name" => "g:pattern",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "g:size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size type" => array(
|
||||
"name" => "size_type",
|
||||
"feed_name" => "g:size_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size system" => array(
|
||||
"name" => "size_system",
|
||||
"feed_name" => "g:size_system",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "g:item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
),
|
||||
"Shopping campaigns" => array(
|
||||
"Ads redirect (new)" => array(
|
||||
"name" => "ads_redirect",
|
||||
"feed_name" => "g:ads_redirect",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Excluded destination" => array(
|
||||
"name" => "excluded_destination",
|
||||
"feed_name" => "g:excluded_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 0" => array(
|
||||
"name" => "custom_label_0",
|
||||
"feed_name" => "g:custom_label_0",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 1" => array(
|
||||
"name" => "custom_label_1",
|
||||
"feed_name" => "g:custom_label_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 2" => array(
|
||||
"name" => "custom_label_2",
|
||||
"feed_name" => "g:custom_label_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 3" => array(
|
||||
"name" => "custom_label_3",
|
||||
"feed_name" => "g:custom_label_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 4" => array(
|
||||
"name" => "custom_label_4",
|
||||
"feed_name" => "g:custom_label_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Promotion ID" => array(
|
||||
"name" => "promotion_id",
|
||||
"feed_name" => "g:promotion_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Included destination" => array(
|
||||
"name" => "included_destination",
|
||||
"feed_name" => "included_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ads grouping" => array(
|
||||
"name" => "ads_grouping",
|
||||
"feed_name" => "g:ads_grouping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ads labels" => array(
|
||||
"name" => "ads_labels",
|
||||
"feed_name" => "g:ads_labels",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Adwords grouping (BING)" => array(
|
||||
"name" => "adwords_grouping",
|
||||
"feed_name" => "g:adwords_grouping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Adwords labels (BING)" => array(
|
||||
"name" => "adwords_labels",
|
||||
"feed_name" => "g:adwords_labels",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Adwords redirect (BING)" => array(
|
||||
"name" => "adwords_redirect",
|
||||
"feed_name" => "g:adwords_redirect",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Shipping" => array(
|
||||
"Shipping" => array(
|
||||
"name" => "shipping",
|
||||
"feed_name" => "g:shipping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping label" => array(
|
||||
"name" => "shipping_label",
|
||||
"feed_name" => "g:shipping_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping weight" => array(
|
||||
"name" => "shipping_weight",
|
||||
"feed_name" => "g:shipping_weight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping length" => array(
|
||||
"name" => "shipping_length",
|
||||
"feed_name" => "g:shipping_length",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping width" => array(
|
||||
"name" => "shipping_width",
|
||||
"feed_name" => "g:shipping_width",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping height" => array(
|
||||
"name" => "shipping_height",
|
||||
"feed_name" => "g:shipping_height",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Transit time label" => array(
|
||||
"name" => "transit_time_label",
|
||||
"feed_name" => "g:transit_time_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Minimum handling time" => array(
|
||||
"name" => "min_handling_time",
|
||||
"feed_name" => "g:min_handling_time",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Maximum handling time" => array(
|
||||
"name" => "max_handling_time",
|
||||
"feed_name" => "g:max_handling_time",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ships from country" => array(
|
||||
"name" => "ships_from_country",
|
||||
"feed_name" => "g:ships_from_country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Region Id" => array(
|
||||
"name" => "region_id",
|
||||
"feed_name" => "g:region_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Tax" => array(
|
||||
"Tax" => array(
|
||||
"name" => "tax",
|
||||
"feed_name" => "g:tax",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Tax category" => array(
|
||||
"name" => "tax_category",
|
||||
"feed_name" => "g:tax_category",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Shopping Actions" => array(
|
||||
"Product fee" => array(
|
||||
"name" => "product_fee",
|
||||
"feed_name" => "g:product_fee",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Purchase quantity limit" => array(
|
||||
"name" => "purchase_quantity_limit",
|
||||
"feed_name" => "g:purchase_quantity_limit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Sell on google quantity" => array(
|
||||
"name" => "sell_on_google_quantity",
|
||||
"feed_name" => "g:sell_on_google_quantity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Consumer datasheet" => array(
|
||||
"name" => "consumer_datasheet",
|
||||
"feed_name" => "g:consumer_datasheet",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Consumer notice" => array(
|
||||
"name" => "consumer_notice",
|
||||
"feed_name" => "g:consumer_notice",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Energy label image link" => array(
|
||||
"name" => "energy_label_image_link",
|
||||
"feed_name" => "g:energy_label_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Excluding countries for Shopping ads" => array(
|
||||
"name" => "shopping_ads_excluded_country",
|
||||
"feed_name" => "g:shopping_ads_excluded_country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail" => array(
|
||||
"name" => "product_detail",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product highlight" => array(
|
||||
"name" => "product_highlight",
|
||||
"feed_name" => "g:product_highlight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Return address label" => array(
|
||||
"name" => "return_address_label",
|
||||
"feed_name" => "g:return_address_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Return policy label" => array(
|
||||
"name" => "return_policy_label",
|
||||
"feed_name" => "g:return_policy_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Google funded promotion eligibility" => array(
|
||||
"name" => "google_funded_promotion_eligibility",
|
||||
"feed_name" => "g:google_funded_promotion_eligibility",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup method" => array(
|
||||
"name" => "pickup_method",
|
||||
"feed_name" => "g:pickup_method",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup SLA" => array(
|
||||
"name" => "pickup_SLA",
|
||||
"feed_name" => "g:pickup_SLA",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup link template" => array(
|
||||
"name" => "pickup_link_template",
|
||||
"feed_name" => "g:pickup_link_template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Store code" => array(
|
||||
"name" => "store_code",
|
||||
"feed_name" => "g:store_code",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Mobile pickup link template" => array(
|
||||
"name" => "mobile_pickup_link_template",
|
||||
"feed_name" => "g:mobile_pickup_link_template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Link template" => array(
|
||||
"name" => "link_template",
|
||||
"feed_name" => "g:link_template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Seller name" => array(
|
||||
"name" => "seller_name",
|
||||
"feed_name" => "g:seller_name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Count" => array(
|
||||
"name" => "count",
|
||||
"feed_name" => "g:count",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Disclosure date" => array(
|
||||
"name" => "disclosure_date",
|
||||
"feed_name" => "g:disclosure_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Feature description" => array(
|
||||
"name" => "feature_description",
|
||||
"feed_name" => "g:feature_description",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Flavor" => array(
|
||||
"name" => "flavor",
|
||||
"feed_name" => "g:flavor",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Scent" => array(
|
||||
"name" => "scent",
|
||||
"feed_name" => "g:scent",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Format" => array(
|
||||
"name" => "format",
|
||||
"feed_name" => "g:format",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Release date" => array(
|
||||
"name" => "release_date",
|
||||
"feed_name" => "g:release_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Rich product content" => array(
|
||||
"name" => "rich_product_content",
|
||||
"feed_name" => "g:rich_product_content",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product line" => array(
|
||||
"name" => "product_line",
|
||||
"feed_name" => "g:product_line",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product name" => array(
|
||||
"name" => "product_name",
|
||||
"feed_name" => "g:product_name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product page url" => array(
|
||||
"name" => "product_page_url",
|
||||
"feed_name" => "g:product_page_url",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product length" => array(
|
||||
"name" => "product_length",
|
||||
"feed_name" => "g:product_length",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product width" => array(
|
||||
"name" => "product_width",
|
||||
"feed_name" => "g:product_width",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product height" => array(
|
||||
"name" => "product_height",
|
||||
"feed_name" => "g:product_height",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product weight" => array(
|
||||
"name" => "product_weight",
|
||||
"feed_name" => "g:product_weight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size system" => array(
|
||||
"name" => "size_system",
|
||||
"feed_name" => "g:size_system",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size type" => array(
|
||||
"name" => "size_type",
|
||||
"feed_name" => "g:size_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Capacity" => array(
|
||||
"name" => "capacity",
|
||||
"feed_name" => "g:capacity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Suggested retail price" => array(
|
||||
"name" => "suggested_retail_price",
|
||||
"feed_name" => "g:suggested_retail_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Theme" => array(
|
||||
"name" => "theme",
|
||||
"feed_name" => "g:theme",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Video link" => array(
|
||||
"name" => "video_link",
|
||||
"feed_name" => "g:video_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads ID" => array(
|
||||
"name" => "display_ads_id",
|
||||
"feed_name" => "g:display_ads_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads Similar ID" => array(
|
||||
"name" => "display_ads_similar_id",
|
||||
"feed_name" => "g:display_ads_similar_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads Title" => array(
|
||||
"name" => "display_ads_title",
|
||||
"feed_name" => "g:display_ads_title",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads Link" => array(
|
||||
"name" => "display_ads_link",
|
||||
"feed_name" => "g:display_ads_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads Value" => array(
|
||||
"name" => "display_ads_value",
|
||||
"feed_name" => "g:display_ads_value",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $google_attributes;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Google Shopping Promotions feeds
|
||||
*/
|
||||
class WooSEA_google_shopping_promotions {
|
||||
public $google_attributes_promotions;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$google_attributes_promotions = array(
|
||||
"Feed fields" => array(
|
||||
"promotion_id" => array(
|
||||
"name" => "promotion_id",
|
||||
"feed_name" => "promotion_id",
|
||||
"format" => "required",
|
||||
),
|
||||
"product_applicability" => array(
|
||||
"name" => "product_applicability",
|
||||
"feed_name" => "product_applicability",
|
||||
"format" => "required",
|
||||
),
|
||||
"offer_type" => array(
|
||||
"name" => "offer_type",
|
||||
"feed_name" => "offer_type",
|
||||
"format" => "required",
|
||||
),
|
||||
"long_title" => array(
|
||||
"name" => "long_title",
|
||||
"feed_name" => "long_title",
|
||||
"format" => "required",
|
||||
),
|
||||
"promotion_effective_dates" => array(
|
||||
"name" => "promotion_effective_dates",
|
||||
"feed_name" => "promotion_effective_dates",
|
||||
"format" => "required",
|
||||
),
|
||||
"redemption_channel" => array(
|
||||
"name" => "redemption_channel",
|
||||
"feed_name" => "redemption_channel",
|
||||
"format" => "required",
|
||||
),
|
||||
"promotional_display_dates" => array(
|
||||
"name" => "promotional_display_dates",
|
||||
"feed_name" => "promotional_display_dates",
|
||||
"format" => "optional",
|
||||
),
|
||||
"minimum_purchase_amount" => array(
|
||||
"name" => "minimum_purchase_amount",
|
||||
"feed_name" => "minimum_purchase_amount",
|
||||
"format" => "optional",
|
||||
),
|
||||
"generic_redemption_code" => array(
|
||||
"name" => "generic_redemption_code",
|
||||
"feed_name" => "generic_redemption_code",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Structured data attributes" => array(
|
||||
"percent_off" => array(
|
||||
"name" => "percent_off",
|
||||
"feed_name" => "percent_off",
|
||||
"format" => "optional",
|
||||
),
|
||||
"money_off_amount" => array(
|
||||
"name" => "percent_off_amount",
|
||||
"feed_name" => "percent_off_amount",
|
||||
"format" => "optional",
|
||||
),
|
||||
"buy_this_quantity" => array(
|
||||
"name" => "buy_this_quantity",
|
||||
"feed_name" => "buy_this_quantity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"get_this_quantity_discounted" => array(
|
||||
"name" => "get_this_quantity_discounted",
|
||||
"feed_name" => "get_this_quantity_discounted",
|
||||
"format" => "optional",
|
||||
),
|
||||
"free_shipping" => array(
|
||||
"name" => "free_shipping",
|
||||
"feed_name" => "free_shipping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"free_gift_value" => array(
|
||||
"name" => "free_gift_value",
|
||||
"feed_name" => "free_gift_value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"free_gift_description" => array(
|
||||
"name" => "free_gift_description",
|
||||
"feed_name" => "free_gift_description",
|
||||
"format" => "optional",
|
||||
),
|
||||
"free_gift_item_id" => array(
|
||||
"name" => "free_gift_item_id",
|
||||
"feed_name" => "free_gift_item_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $google_attributes_promotions;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Guenstiger feeds
|
||||
*/
|
||||
class WooSEA_guenstiger {
|
||||
public $guenstiger;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$guenstiger = array(
|
||||
"Feed fields" => array(
|
||||
"Bestellnummer" => array(
|
||||
"name" => "bestellnummer",
|
||||
"feed_name" => "bestellnummer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"HerstellerArtNr" => array(
|
||||
"name" => "HerstellerArtNr",
|
||||
"feed_name" => "HerstellerArtNr",
|
||||
"format" => "required",
|
||||
),
|
||||
"Hersteller" => array(
|
||||
"name" => "Hersteller",
|
||||
"feed_name" => "Hersteller",
|
||||
"format" => "required",
|
||||
),
|
||||
"ProductLink" => array(
|
||||
"name" => "ProductLink",
|
||||
"feed_name" => "ProductLink",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"FotoLink" => array(
|
||||
"name" => "FotoLink",
|
||||
"feed_name" => "FotoLink",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"ProducktBeschreibung" => array(
|
||||
"name" => "ProduktBeschreibung",
|
||||
"feed_name" => "ProduktBeschreibung",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"ProduktBezeichnung" => array(
|
||||
"name" => "ProduktBezeichnung",
|
||||
"feed_name" => "ProduktBezeichnung",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Preis" => array(
|
||||
"name" => "Preis",
|
||||
"feed_name" => "Preis",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Lieferzeit" => array(
|
||||
"name" => "Lieferzeit",
|
||||
"feed_name" => "Lieferzeit",
|
||||
"format" => "required",
|
||||
),
|
||||
"EANCode" => array(
|
||||
"name" => "EANCode",
|
||||
"feed_name" => "EANCode",
|
||||
"format" => "required",
|
||||
),
|
||||
"Kategorie" => array(
|
||||
"name" => "Kategorie",
|
||||
"feed_name" => "Kategorie",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category",
|
||||
),
|
||||
"VersandVorkasse" => array(
|
||||
"name" => "VersandVorkasse",
|
||||
"feed_name" => "VersandVorkasse",
|
||||
"format" => "required",
|
||||
),
|
||||
"VersandPayPal" => array(
|
||||
"name" => "VersandPayPal",
|
||||
"feed_name" => "VersandPaypal",
|
||||
"format" => "required",
|
||||
),
|
||||
"VersandKreditkarte" => array(
|
||||
"name" => "VersandKreditkarte",
|
||||
"feed_name" => "VersandKreditkarte",
|
||||
"format" => "required",
|
||||
),
|
||||
"VersandLastschrift" => array(
|
||||
"name" => "VersandLastschrift",
|
||||
"feed_name" => "VersandLandschrift",
|
||||
"format" => "required",
|
||||
),
|
||||
"VersandRechnung" => array(
|
||||
"name" => "VersandRechnung",
|
||||
"feed_name" => "VersandRechnung",
|
||||
"format" => "required",
|
||||
),
|
||||
"VersandNachnahme" => array(
|
||||
"name" => "VersandNachnahme",
|
||||
"feed_name" => "VersandNachnahme",
|
||||
"format" => "required",
|
||||
),
|
||||
"Grundpreis komplett" => array(
|
||||
"name" => "Grundpreis komplett",
|
||||
"feed_name" => "Grundpres komplett",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Energieeffizienzklasse" => array(
|
||||
"name" => "Energieeffizienzklasse",
|
||||
"feed_name" => "Energieeffizienzklasse",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Keyword" => array(
|
||||
"name" => "Keyword",
|
||||
"feed_name" => "Keyword",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gewicht" => array(
|
||||
"name" => "Gewicht",
|
||||
"feed_name" => "Gewicht",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Groesse" => array(
|
||||
"name" => "Groesse",
|
||||
"feed_name" => "Groesse",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Farbe" => array(
|
||||
"name" => "Farbe",
|
||||
"feed_name" => "Farbe",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Geschlecht" => array(
|
||||
"name" => "Geschlecht",
|
||||
"feed_name" => "Geschlecht",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Erwachsene / Kind" => array(
|
||||
"name" => "Erwachsene / Kind",
|
||||
"feed_name" => "Erwachsene / Kind",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PZN" => array(
|
||||
"name" => "PZN",
|
||||
"feed_name" => "PZN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Reifentyp" => array(
|
||||
"name" => "Reifentyp",
|
||||
"feed_name" => "Reifentyp",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Reifensaison" => array(
|
||||
"name" => "Reifensaison",
|
||||
"feed_name" => "Reifensaison",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Reifenmass" => array(
|
||||
"name" => "Reifenmass",
|
||||
"feed_name" => "Reifenmass",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $guenstiger;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,196 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Heureka feeds
|
||||
*/
|
||||
class WooSEA_heureka {
|
||||
public $heureka;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$heureka = array(
|
||||
"Feed fields" => array(
|
||||
"ITEM_ID" => array(
|
||||
"name" => "ITEM_ID",
|
||||
"feed_name" => "ITEM_ID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"PRODUCTNAME" => array(
|
||||
"name" => "PRODUCTNAME",
|
||||
"feed_name" => "PRODUCTNAME",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"DESCRIPTION" => array(
|
||||
"name" => "DESCRIPTION",
|
||||
"feed_name" => "DESCRIPTION",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"URL" => array(
|
||||
"name" => "URL",
|
||||
"feed_name" => "URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"PRICE_VAT" => array(
|
||||
"name" => "PRICE_VAT",
|
||||
"feed_name" => "PRICE_VAT",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"DELIVERY_DATE" => array(
|
||||
"name" => "DELIVERY_DATE",
|
||||
"feed_name" => "DELIVERY_DATE",
|
||||
"format" => "required",
|
||||
),
|
||||
"DELIVERY" => array(
|
||||
"name" => "DELIVERY",
|
||||
"feed_name" => "DELIVERY",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "shipping",
|
||||
),
|
||||
"CATEGORYTEXT" => array(
|
||||
"name" => "CATEGORYTEXT",
|
||||
"feed_name" => "CATEGORYTEXT",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"IMGURL" => array(
|
||||
"name" => "IMGURL",
|
||||
"feed_name" => "IMGURL",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ISBN" => array(
|
||||
"name" => "ISBN",
|
||||
"feed_name" => "ISBN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PRODUCTNO" => array(
|
||||
"name" => "PRODUCTNO",
|
||||
"feed_name" => "PRODUCTNO",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ITEMGROUP_ID" => array(
|
||||
"name" => "ITEMGROUP_ID",
|
||||
"feed_name" => "ITEMGROUP_ID",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MANUFACTURER" => array(
|
||||
"name" => "MANUFACTURER",
|
||||
"feed_name" => "MANUFACTURER",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EROTIC" => array(
|
||||
"name" => "EROTIC",
|
||||
"feed_name" => "EROTIC",
|
||||
"format" => "optional",
|
||||
),
|
||||
"BRAND" => array(
|
||||
"name" => "BRAND",
|
||||
"feed_name" => "BRAND",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PRODUCT" => array(
|
||||
"name" => "PRODUCT",
|
||||
"feed_name" => "PRODUCT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ITEM_TYPE" => array(
|
||||
"name" => "ITEM_TYPE",
|
||||
"feed_name" => "ITEM_TYPE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EXTRA_MESSAGE" => array(
|
||||
"name" => "EXTRA_MESSAGE",
|
||||
"feed_name" => "EXTRA_MESSAGE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"SHOP_DEPOTS" => array(
|
||||
"name" => "SHOP_DEPOTS",
|
||||
"feed_name" => "SHOP_DEPOTS",
|
||||
"format" => "optional",
|
||||
),
|
||||
"VISIBILITY" => array(
|
||||
"name" => "VISIBILITY",
|
||||
"feed_name" => "VISIBILITY",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_0" => array(
|
||||
"name" => "CUSTOM_LABEL_0",
|
||||
"feed_name" => "CUSTOM_LABEL_0",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_1" => array(
|
||||
"name" => "CUSTOM_LABEL_1",
|
||||
"feed_name" => "CUSTOM_LABEL_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_2" => array(
|
||||
"name" => "CUSTOM_LABEL_2",
|
||||
"feed_name" => "CUSTOM_LABEL_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_3" => array(
|
||||
"name" => "CUSTOM_LABEL_3",
|
||||
"feed_name" => "CUSTOM_LABEL_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_4" => array(
|
||||
"name" => "CUSTOM_LABEL_4",
|
||||
"feed_name" => "CUSTOM_LABEL_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_5" => array(
|
||||
"name" => "CUSTOM_LABEL_5",
|
||||
"feed_name" => "CUSTOM_LABEL_5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MAX_CPC" => array(
|
||||
"name" => "MAX_CPC",
|
||||
"feed_name" => "MAX_CPC",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MAX_CPC_SEARCH" => array(
|
||||
"name" => "MAX_CPC_SEARCH",
|
||||
"feed_name" => "MAX_CPC_SEARCH",
|
||||
"format" => "optional",
|
||||
),
|
||||
"LENGTH" => array(
|
||||
"name" => "LENGTH",
|
||||
"feed_name" => "LENGTH",
|
||||
"format" => "optional",
|
||||
),
|
||||
"VOLUME" => array(
|
||||
"name" => "VOLUME",
|
||||
"feed_name" => "VOLUME",
|
||||
"format" => "optional",
|
||||
),
|
||||
"SIZE" => array(
|
||||
"name" => "SIZE",
|
||||
"feed_name" => "SIZE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"COLOR" => array(
|
||||
"name" => "COLOR",
|
||||
"feed_name" => "COLOR",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PURPOSE" => array(
|
||||
"name" => "PURPOSE",
|
||||
"feed_name" => "PURPOSE",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $heureka;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,446 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Idealo feeds
|
||||
*/
|
||||
class WooSEA_idealo {
|
||||
public $idealo;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$idealo = array(
|
||||
"Feed fields" => array(
|
||||
"SKU" => array(
|
||||
"name" => "SKU",
|
||||
"feed_name" => "sku",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"CategoryPath" => array(
|
||||
"name" => "categoryPath",
|
||||
"feed_name" => "categoryPath",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category_path",
|
||||
),
|
||||
"url" => array(
|
||||
"name" => "url",
|
||||
"feed_name" => "url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"hans" => array(
|
||||
"name" => "hans",
|
||||
"feed_name" => "hans",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"ImageUrls" => array(
|
||||
"name" => "imageUrls",
|
||||
"feed_name" => "imageUrls",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"eec" => array(
|
||||
"name" => "eec",
|
||||
"feed_name" => "eec",
|
||||
"format" => "optional",
|
||||
),
|
||||
"merchantName" => array(
|
||||
"name" => "merchantName",
|
||||
"feed_name" => "merchantName",
|
||||
"format" => "optional",
|
||||
),
|
||||
"merchantId" => array(
|
||||
"name" => "merchantId",
|
||||
"feed_name" => "merchanId",
|
||||
"format" => "optional",
|
||||
),
|
||||
"price" => array(
|
||||
"name" => "price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"basePrice" => array(
|
||||
"name" => "basePrice",
|
||||
"feed_name" => "basePrice",
|
||||
"format" => "optional",
|
||||
),
|
||||
"formerPrice" => array(
|
||||
"name" => "formerPrice",
|
||||
"feed_name" => "formerPrice",
|
||||
"format" => "optional",
|
||||
),
|
||||
"voucherCode" => array(
|
||||
"name" => "voucherCode",
|
||||
"feed_name" => "voucherCode",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deposit" => array(
|
||||
"name" => "deposit",
|
||||
"feed_name" => "deposit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryTime" => array(
|
||||
"name" => "deliveryTime",
|
||||
"feed_name" => "deliveryTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryComment" => array(
|
||||
"name" => "deliveryComment",
|
||||
"feed_name" => "deliveryComment",
|
||||
"format" => "optional",
|
||||
),
|
||||
"maxOrderProcessingTime" => array(
|
||||
"name" => "maxOrderProcessingTime",
|
||||
"feed_name" => "maxOrderProcessingTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"freeReturnDays" => array(
|
||||
"name" => "freeReturnDays",
|
||||
"feed_name" => "freeReturnDays",
|
||||
"format" => "optional",
|
||||
),
|
||||
"checkout" => array(
|
||||
"name" => "checkout",
|
||||
"feed_name" => "checkout",
|
||||
"format" => "required",
|
||||
),
|
||||
"minimumPrice" => array(
|
||||
"name" => "minimumPrice",
|
||||
"feed_name" => "minimumPrice",
|
||||
"format" => "required",
|
||||
),
|
||||
"fullfillmentType" => array(
|
||||
"name" => "fulfillmentType",
|
||||
"feed_name" => "fulfillmentType",
|
||||
"format" => "required",
|
||||
),
|
||||
"checkoutLimitPerPeriod" => array(
|
||||
"name" => "checkoutLimitPerPeriod",
|
||||
"feed_name" => "checkoutLimitPerPeriod",
|
||||
"format" => "required",
|
||||
),
|
||||
"quantityPerOrder" => array(
|
||||
"name" => "quantityPerOrder",
|
||||
"feed_name" => "quantityPerOrder",
|
||||
"format" => "optional",
|
||||
),
|
||||
"twoManHandlingFee" => array(
|
||||
"name" => "twoManHandlingFee",
|
||||
"feed_name" => "twoManHandlingFee",
|
||||
"format" => "optional",
|
||||
),
|
||||
"disposalFee" => array(
|
||||
"name" => "disposalFee",
|
||||
"feed_name" => "disposalFee",
|
||||
"format" => "optional",
|
||||
),
|
||||
"eans" => array(
|
||||
"name" => "eans",
|
||||
"feed_name" => "eans",
|
||||
"format" => "required",
|
||||
),
|
||||
"packagingUnit" => array(
|
||||
"name" => "packagingUnit",
|
||||
"feed_name" => "packagingUnit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_ups" => array(
|
||||
"name" => "deliveryCost_ups",
|
||||
"feed_name" => "deliveryCost_ups",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_fedex" => array(
|
||||
"name" => "deliveryCost_fedex",
|
||||
"feed_name" => "deliveryCost_fedex",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_deutsche_post" => array(
|
||||
"name" => "deliveryCost_deutsche_post",
|
||||
"feed_name" => "deliveryCost_deutsche_post",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_dhl" => array(
|
||||
"name" => "deliveryCost_dhl",
|
||||
"feed_name" => "deliveryCost_dhl",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_dhl_go_green" => array(
|
||||
"name" => "deliveryCost_dhl_go_green",
|
||||
"feed_name" => "deliveryCost_dhl_go_green",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_download" => array(
|
||||
"name" => "deliveryCost_download",
|
||||
"feed_name" => "deliveryCost_download",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_dpd" => array(
|
||||
"name" => "deliveryCost_dpd",
|
||||
"feed_name" => "deliveryCost_dpd",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_german_express_logistics" => array(
|
||||
"name" => "deliveryCost_german_express_logistics",
|
||||
"feed_name" => "deliveryCost_german_express_logistics",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_gls" => array(
|
||||
"name" => "deliveryCost_gls",
|
||||
"feed_name" => "deliveryCost_gls",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_gls_think_green" => array(
|
||||
"name" => "deliveryCost_gls_think_green",
|
||||
"feed_name" => "deliveryCost_gls_think_green",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_hermes" => array(
|
||||
"name" => "deliveryCost_hermes",
|
||||
"feed_name" => "deliveryCost_hermes",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_pick_point" => array(
|
||||
"name" => "deliveryCost_pick_points",
|
||||
"feed_name" => "deliveryCost_pick_point",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_spedition" => array(
|
||||
"name" => "deliveryCost_spedition",
|
||||
"feed_name" => "deliveryCost_spedition",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_tnt" => array(
|
||||
"name" => "deliveryCost_tnt",
|
||||
"feed_name" => "deliveryCost_tnt",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryCost_trans_o_flex" => array(
|
||||
"name" => "deliveryCost_trans_o_flex",
|
||||
"feed_name" => "deliveryCost_trand_o_flex",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_credit_card" => array(
|
||||
"name" => "paymentCosts_credit_card",
|
||||
"feed_name" => "paymentCosts_credit_card",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_cash_in_advance" => array(
|
||||
"name" => "paymentCosts_cash_in_advance",
|
||||
"feed_name" => "paymentCosts_cash_in_advance",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_cash_on_delivery" => array(
|
||||
"name" => "paymentCosts_cash_on_delivery",
|
||||
"feed_name" => "paymentCosts_cash_on_delivery",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_paypal" => array(
|
||||
"name" => "paymentCosts_paypal",
|
||||
"feed_name" => "paymentCosts_paypal",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_giropay" => array(
|
||||
"name" => "paymentCosts_giropay",
|
||||
"feed_name" => "paymentCosts_giropay",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_direct_debit" => array(
|
||||
"name" => "paymentCosts_direct_debit",
|
||||
"feed_name" => "paymentCosts_direct_debit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_google_checkout" => array(
|
||||
"name" => "paymentCosts_google_checkout",
|
||||
"feed_name" => "paymentCosts_google_checkout",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_invoice" => array(
|
||||
"name" => "paymentCosts_invoice",
|
||||
"feed_name" => "paymentCosts_invoice",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_postal_order" => array(
|
||||
"name" => "paymentCosts_postal_order",
|
||||
"feed_name" => "paymentCosts_postal_order",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_paysafecard" => array(
|
||||
"name" => "paymentCosts_paysafecard",
|
||||
"feed_name" => "paymentCosts_paysafecard",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_sofortueberweisung" => array(
|
||||
"name" => "paymentCosts_sofortueberweisung",
|
||||
"feed_name" => "paymentCosts_sofortueberweisung",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_amazon_payment" => array(
|
||||
"name" => "paymentCosts_amazon_payment",
|
||||
"feed_name" => "paymentCosts_amazon_payment",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_electronical_payment_standard" => array(
|
||||
"name" => "paymentCosts_electronical_payment_standard",
|
||||
"feed_name" => "paymentCosts_electronical_payment_standard",
|
||||
"format" => "optional",
|
||||
),
|
||||
"paymentCosts_ecotax" => array(
|
||||
"name" => "paymentCosts_ecotax",
|
||||
"feed_name" => "paymentCosts_ecotax",
|
||||
"format" => "optional",
|
||||
),
|
||||
"used" => array(
|
||||
"name" => "used",
|
||||
"feed_name" => "used",
|
||||
"format" => "optional",
|
||||
),
|
||||
"download" => array(
|
||||
"name" => "download",
|
||||
"feed_name" => "download",
|
||||
"format" => "optional",
|
||||
),
|
||||
"replica" => array(
|
||||
"name" => "replica",
|
||||
"feed_name" => "replica",
|
||||
"format" => "optional",
|
||||
),
|
||||
"size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"colour" => array(
|
||||
"name" => "colour",
|
||||
"feed_name" => "colour",
|
||||
"format" => "optional",
|
||||
),
|
||||
"gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"oens" => array(
|
||||
"name" => "oens",
|
||||
"feed_name" => "oens",
|
||||
"format" => "optional",
|
||||
),
|
||||
"kbas" => array(
|
||||
"name" => "kbas",
|
||||
"feed_name" => "kbas",
|
||||
"format" => "optional",
|
||||
),
|
||||
"diopter" => array(
|
||||
"name" => "diopter",
|
||||
"feed_name" => "diopter",
|
||||
"format" => "optional",
|
||||
),
|
||||
"baseCurve" => array(
|
||||
"name" => "baseCurve",
|
||||
"feed_name" => "baseCurve",
|
||||
"format" => "optional",
|
||||
),
|
||||
"diameter" => array(
|
||||
"name" => "diameter",
|
||||
"feed_name" => "diameter",
|
||||
"format" => "optional",
|
||||
),
|
||||
"cylinder" => array(
|
||||
"name" => "cylinder",
|
||||
"feed_name" => "cylinder",
|
||||
"format" => "optional",
|
||||
),
|
||||
"axis" => array(
|
||||
"name" => "axis",
|
||||
"feed_name" => "axis",
|
||||
"format" => "optional",
|
||||
),
|
||||
"addition" => array(
|
||||
"name" => "addition",
|
||||
"feed_name" => "addition",
|
||||
"format" => "optional",
|
||||
),
|
||||
"pzns" => array(
|
||||
"name" => "pzns",
|
||||
"feed_name" => "pzns",
|
||||
"format" => "optional",
|
||||
),
|
||||
"quantity" => array(
|
||||
"name" => "quantity",
|
||||
"feed_name" => "quantity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"fuelEfficiency" => array(
|
||||
"name" => "fuelEfficiency",
|
||||
"feed_name" => "fuelEfficiency",
|
||||
"format" => "optional",
|
||||
),
|
||||
"wetGrip" => array(
|
||||
"name" => "wetGrip",
|
||||
"feed_name" => "wetGrip",
|
||||
"format" => "optional",
|
||||
),
|
||||
"externalRollingNoise" => array(
|
||||
"name" => "externalRollingNoise",
|
||||
"feed_name" => "externalRollingNoise",
|
||||
"format" => "optional",
|
||||
),
|
||||
"rollingNoiseClass" => array(
|
||||
"name" => "rollingNoiseClass",
|
||||
"feed_name" => "rollingNoiseClass",
|
||||
"format" => "optional",
|
||||
),
|
||||
"alcoholicContent" => array(
|
||||
"name" => "alcoholicContent",
|
||||
"feed_name" => "alcoholicConent",
|
||||
"format" => "optional",
|
||||
),
|
||||
"allergenInformation" => array(
|
||||
"name" => "allergenInformation",
|
||||
"feed_name" => "allergenInformation",
|
||||
"format" => "optional",
|
||||
),
|
||||
"countryOfOrigin" => array(
|
||||
"name" => "countryOfOrigin",
|
||||
"feed_name" => "countryOfOrigin",
|
||||
"format" => "optional",
|
||||
),
|
||||
"bottler" => array(
|
||||
"name" => "bottler",
|
||||
"feed_name" => "bottler",
|
||||
"format" => "optional",
|
||||
),
|
||||
"importer" => array(
|
||||
"name" => "importer",
|
||||
"feed_name" => "importer",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $idealo;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Katoni feeds
|
||||
*/
|
||||
class WooSEA_katoni {
|
||||
public $katoni;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$katoni = array(
|
||||
"Feed fields" => array(
|
||||
"GTIN" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"Item Group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"Product ID" => array(
|
||||
"name" => "id",
|
||||
"feed_name" => "g:id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Product Type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "required",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image link" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image link" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Stock level" => array(
|
||||
"name" => "stock_level",
|
||||
"feed_name" => "stock_level",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Season" => array(
|
||||
"name" => "season",
|
||||
"feed_name" => "season",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Washing" => array(
|
||||
"name" => "washing",
|
||||
"feed_name" => "washing",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Discount retail price" => array(
|
||||
"name" => "discount_retail_price",
|
||||
"feed_name" => "discount_retail_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Retail price" => array(
|
||||
"name" => "retail_price",
|
||||
"feed_name" => "retail_price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Wholsesale price" => array(
|
||||
"name" => "wholesale_price",
|
||||
"feed_name" => "wholesale_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $katoni;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Kijiji Italy feeds
|
||||
*/
|
||||
class WooSEA_kijiji {
|
||||
public $kijiji;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$kijiji = array(
|
||||
"Feed fields" => array(
|
||||
"PartnerId" => array(
|
||||
"name" => "PartnerId",
|
||||
"feed_name" => "PartnerId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Action" => array(
|
||||
"name" => "Action",
|
||||
"feed_name" => "Action",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "Title",
|
||||
"feed_name" => "Title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"E-mail" => array(
|
||||
"name" => "E-mail",
|
||||
"feed_name" => "Email",
|
||||
"format" => "required",
|
||||
),
|
||||
"URL" => array(
|
||||
"name" => "URL",
|
||||
"feed_name" => "URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "Price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Tipo Prezzo" => array(
|
||||
"name" => "Tipo Prezzo",
|
||||
"feed_name" => "Tipo Prezzo",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Municipality code" => array(
|
||||
"name" => "Municipality code",
|
||||
"feed_name" => "Municipality code",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Seller type" => array(
|
||||
"name" => "Seller type",
|
||||
"feed_name" => "Seller type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Publication date" => array(
|
||||
"name" => "Publication date",
|
||||
"feed_name" => "Publication date",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "publication_date",
|
||||
),
|
||||
"Pic 1" => array(
|
||||
"name" => "Pic 1",
|
||||
"feed_name" => "Pic 1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pic 2" => array(
|
||||
"name" => "Pic 2",
|
||||
"feed_name" => "Pic 2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pic 3" => array(
|
||||
"name" => "Pic 3",
|
||||
"feed_name" => "Pic 3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pic 4" => array(
|
||||
"name" => "Pic 4",
|
||||
"feed_name" => "Pic 4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pic 5" => array(
|
||||
"name" => "Pic 5",
|
||||
"feed_name" => "Pic 5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pic 6" => array(
|
||||
"name" => "Pic 6",
|
||||
"feed_name" => "Pic 6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pic 7" => array(
|
||||
"name" => "Pic 7",
|
||||
"feed_name" => "Pic 7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pic 8" => array(
|
||||
"name" => "Pic 8",
|
||||
"feed_name" => "Pic 8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pic 9" => array(
|
||||
"name" => "Pic 9",
|
||||
"feed_name" => "Pic 9",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $kijiji;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Kogan.com.au feeds
|
||||
*/
|
||||
class WooSEA_kogan {
|
||||
public $kogan;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$kogan = array(
|
||||
"Feed fields" => array(
|
||||
"PRODUCT_SKU" => array(
|
||||
"name" => "PRODUCT_SKU",
|
||||
"feed_name" => "PRODUCT_SKU",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"PRODUCT_TITLE" => array(
|
||||
"name" => "PRODUCT_TITLE",
|
||||
"feed_name" => "PRODUCT_TITLE",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"PRODUCT_DESCRIPTION" => array(
|
||||
"name" => "PRODUCT_DESCRIPTION",
|
||||
"feed_name" => "PRODUCT_DESCRIPTION",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"BRAND" => array(
|
||||
"name" => "BRAND",
|
||||
"feed_name" => "BRAND",
|
||||
"format" => "required",
|
||||
),
|
||||
"CATEGORY" => array(
|
||||
"name" => "CATEGORY",
|
||||
"feed_name" => "CATEGORY",
|
||||
"format" => "required",
|
||||
),
|
||||
"DEPARTMENT" => array(
|
||||
"name" => "DEPARTMENT",
|
||||
"feed_name" => "DEPARTMENT",
|
||||
"format" => "required",
|
||||
),
|
||||
"STOCK" => array(
|
||||
"name" => "STOCK",
|
||||
"feed_name" => "STOCK",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "quantity",
|
||||
),
|
||||
"PRICE" => array(
|
||||
"name" => "PRICE",
|
||||
"feed_name" => "PRICE",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"SHIPPING" => array(
|
||||
"name" => "SHIPPING",
|
||||
"feed_name" => "SHIPPING",
|
||||
"format" => "required",
|
||||
),
|
||||
"IMAGES" => array(
|
||||
"name" => "IMAGES",
|
||||
"feed_name" => "IMAGES",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "all_images_kogan",
|
||||
),
|
||||
"product_subtitle" => array(
|
||||
"name" => "product_subtitle",
|
||||
"feed_name" => "product_subtitle",
|
||||
"format" => "optional",
|
||||
),
|
||||
"product_inbox" => array(
|
||||
"name" => "product_inbox",
|
||||
"feed_name" => "product_inbox",
|
||||
"format" => "optional",
|
||||
),
|
||||
"product_gtin" => array(
|
||||
"name" => "product_gtin",
|
||||
"feed_name" => "product_gtin",
|
||||
"format" => "optional",
|
||||
),
|
||||
"rrp" => array(
|
||||
"name" => "rrp",
|
||||
"feed_name" => "rrp",
|
||||
"format" => "optional",
|
||||
),
|
||||
"handling_days" => array(
|
||||
"name" => "handling_days",
|
||||
"feed_name" => "handling_days",
|
||||
"format" => "optional",
|
||||
),
|
||||
"product_location" => array(
|
||||
"name" => "product_location",
|
||||
"feed_name" => "product_location",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $kogan;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,120 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Mall feeds
|
||||
*/
|
||||
class WooSEA_mall {
|
||||
public $mall;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$mall = array(
|
||||
"Feed fields" => array(
|
||||
"ID" => array(
|
||||
"name" => "ID",
|
||||
"feed_name" => "ID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"STAGE" => array(
|
||||
"name" => "STAGE",
|
||||
"feed_name" => "STAGE",
|
||||
"format" => "required",
|
||||
),
|
||||
"ITEMGROUP_ID" => array(
|
||||
"name" => "ITEMGROUP_ID",
|
||||
"feed_name" => "ITEMGROUP_ID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"ITEMGROUP_TITLE" => array(
|
||||
"name" => "ITEMGROUP_TITLE",
|
||||
"feed_name" => "ITEMGROUP_TITLE",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "mother_title",
|
||||
),
|
||||
"CATEGORY_ID" => array(
|
||||
"name" => "CATEGORY_ID",
|
||||
"feed_name" => "CATEGORY_ID",
|
||||
"format" => "required",
|
||||
),
|
||||
"BRAND_ID" => array(
|
||||
"name" => "BRAND_ID",
|
||||
"feed_name" => "BRAND_ID",
|
||||
"format" => "required",
|
||||
),
|
||||
"TITLE" => array(
|
||||
"name" => "TITLE",
|
||||
"feed_name" => "TITLE",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"SHORTDESC" => array(
|
||||
"name" => "SHORTDESC",
|
||||
"feed_name" => "SHORTDESC",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "short_description",
|
||||
),
|
||||
"LONGDESC" => array(
|
||||
"name" => "LONGDESC",
|
||||
"feed_name" => "LONGDESC",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"PRIORITY" => array(
|
||||
"name" => "PRIORITY",
|
||||
"feed_name" => "PRIORITY",
|
||||
"format" => "required",
|
||||
),
|
||||
"PACKAGE_SIZE" => array(
|
||||
"name" => "PACKAGE_SIZE",
|
||||
"feed_name" => "PACKAGE_SIZE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"BARCODE" => array(
|
||||
"name" => "BARCODE",
|
||||
"feed_name" => "BARCODE",
|
||||
"format" => "required",
|
||||
),
|
||||
"PRICE" => array(
|
||||
"name" => "PRICE",
|
||||
"feed_name" => "PRICE",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"VAT" => array(
|
||||
"name" => "VAT",
|
||||
"feed_name" => "VAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"RRP" => array(
|
||||
"name" => "RRP",
|
||||
"feed_name" => "RRP",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PARAM" => array(
|
||||
"name" => "PARAM",
|
||||
"feed_name" => "PARAM",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MEDIA" => array(
|
||||
"name" => "MEDIA",
|
||||
"feed_name" => "MEDIA",
|
||||
"format" => "optional",
|
||||
),
|
||||
"DELIVERY_DELAY" => array(
|
||||
"name" => "DELIVERY_DELAY",
|
||||
"feed_name" => "DELIVERY_DELAY",
|
||||
"format" => "optional",
|
||||
),
|
||||
"FREE_DELIVERY" => array(
|
||||
"name" => "FREE_DELIVERY",
|
||||
"feed_name" => "FREE_DELIVERY",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $mall;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Mall availability feeds
|
||||
*/
|
||||
class WooSEA_mall_availability {
|
||||
public $mall_availability;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$mall_availability = array(
|
||||
"Feed fields" => array(
|
||||
"ID" => array(
|
||||
"name" => "ID",
|
||||
"feed_name" => "ID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"IN_STOCK" => array(
|
||||
"name" => "IN_STOCK",
|
||||
"feed_name" => "IN_STOCK",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "quantity",
|
||||
),
|
||||
"ACTIVE" => array(
|
||||
"name" => "ACTIVE",
|
||||
"feed_name" => "ACTIVE",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $mall_availability;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,270 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for ManoMano.co.uk feeds
|
||||
*/
|
||||
class WooSEA_manomano {
|
||||
public $manomano;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$manomano = array(
|
||||
"Feed fields" => array(
|
||||
"SKU" => array(
|
||||
"name" => "sku",
|
||||
"feed_name" => "sku",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"SKU Manufacturer" => array(
|
||||
"name" => "sku manufacturer",
|
||||
"feed_name" => "sku_manufacturer",
|
||||
"format" => "required",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "ean",
|
||||
"feed_name" => "ean",
|
||||
"format" => "required",
|
||||
),
|
||||
"title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "mother_title",
|
||||
),
|
||||
"description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Product price vat inc" => array(
|
||||
"name" => "product price vat inc",
|
||||
"feed_name" => "product_price_vat_inc",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Shipping price vat inc" => array(
|
||||
"name" => "shipping price vat inc",
|
||||
"feed_name" => "shipping_price_vat_inc",
|
||||
"format" => "required",
|
||||
),
|
||||
"Quantity" => array(
|
||||
"name" => "quantity",
|
||||
"feed_name" => "quantity",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Merchant category" => array(
|
||||
"name" => "merchant category",
|
||||
"feed_name" => "merchant_category",
|
||||
"format" => "required",
|
||||
),
|
||||
"Product URL" => array(
|
||||
"name" => "product url",
|
||||
"feed_name" => "product_url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Image 1" => array(
|
||||
"name" => "image 1",
|
||||
"feed_name" => "image_1",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Image 2" => array(
|
||||
"name" => "image 2",
|
||||
"feed_name" => "image_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image 3" => array(
|
||||
"name" => "image 3",
|
||||
"feed_name" => "image_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image 4" => array(
|
||||
"name" => "image 4",
|
||||
"feed_name" => "image_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image 5" => array(
|
||||
"name" => "image 5",
|
||||
"feed_name" => "image_5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Retail price vat inc" => array(
|
||||
"name" => "retail price vat inc",
|
||||
"feed_name" => "retail_price_vat_inc",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product vat rate" => array(
|
||||
"name" => "product vat rate",
|
||||
"feed_name" => "product_vat_rate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping vat rate" => array(
|
||||
"name" => "shipping vat rate",
|
||||
"feed_name" => "shipping_vat_rate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Manufacturer PDF" => array(
|
||||
"name" => "manufacturer pdf",
|
||||
"feed_name" => "manufacturer_pdf",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ParentSKU" => array(
|
||||
"name" => "parentSKU",
|
||||
"feed_name" => "ParentSKU",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Cross Sell SKU" => array(
|
||||
"name" => "Cross Sell SKU",
|
||||
"feed_name" => "Cross_Sell_SKU",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ManufacturerWarrantyTime" => array(
|
||||
"name" => "ManufacturerWarrantyTime",
|
||||
"feed_name" => "ManufacturerWarrantyTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Carrier" => array(
|
||||
"name" => "Carrier",
|
||||
"feed_name" => "carrier",
|
||||
"format" => "required",
|
||||
),
|
||||
"Shipping Time" => array(
|
||||
"name" => "Shipping Time",
|
||||
"feed_name" => "shipping_time",
|
||||
"format" => "required",
|
||||
),
|
||||
"Use Grid" => array(
|
||||
"name" => "Use Grid",
|
||||
"feed_name" => "use_grid",
|
||||
"format" => "required",
|
||||
),
|
||||
"Carrier Grid 1" => array(
|
||||
"name" => "Carrier Grid 1",
|
||||
"feed_name" => "carrier_grid_1",
|
||||
"format" => "required",
|
||||
),
|
||||
"Shipping time carrier grid 1" => array(
|
||||
"name" => "Shipping time carrier grid 1",
|
||||
"feed_name" => "shipping_time_carrier_grid_1",
|
||||
"format" => "required",
|
||||
),
|
||||
"DisplayWeight" => array(
|
||||
"name" => "DisplayWeight",
|
||||
"feed_name" => "DisplayWeight",
|
||||
"format" => "required",
|
||||
),
|
||||
"Carrier Grid 2" => array(
|
||||
"name" => "Carrier Grid 2",
|
||||
"feed_name" => "carrier_grid_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping time carrier grid 2" => array(
|
||||
"name" => "Shipping time carrier grid 2",
|
||||
"feed_name" => "shipping_time_carrier_grid_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Carrier Grid 3" => array(
|
||||
"name" => "Carrier Grid 3",
|
||||
"feed_name" => "carrier_grid_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping time carrier grid 3" => array(
|
||||
"name" => "Shipping time carrier grid 3",
|
||||
"feed_name" => "shipping_time_carrier_grid_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Carrier Grid 4" => array(
|
||||
"name" => "Carrier Grid 4",
|
||||
"feed_name" => "carrier_grid_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping time carrier grid 4" => array(
|
||||
"name" => "Shipping time carrier grid 4",
|
||||
"feed_name" => "shipping_time_carrier_grid_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Free Return" => array(
|
||||
"name" => "Free Return",
|
||||
"feed_name" => "free_return",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Min quantity" => array(
|
||||
"name" => "Min quantity",
|
||||
"feed_name" => "min_quantity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Increment" => array(
|
||||
"name" => "Increment",
|
||||
"feed_name" => "increment",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Sales" => array(
|
||||
"name" => "Sales",
|
||||
"feed_name" => "sales",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Eco participation" => array(
|
||||
"name" => "Eco participation",
|
||||
"feed_name" => "eco_participation",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price per m2 vat inc" => array(
|
||||
"name" => "Price per m2 vat inc",
|
||||
"feed_name" => "Price_per_m2_vat_inc",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping price supplement vat inc" => array(
|
||||
"name" => "Shipping price supplement vat inc",
|
||||
"feed_name" => "shipping_price_supplement_vat_inc",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Feature1" => array(
|
||||
"name" => "Feature1",
|
||||
"feed_name" => "feature1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "Color",
|
||||
"feed_name" => "Color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Special price type" => array(
|
||||
"name" => "Special price type",
|
||||
"feed_name" => "special_price_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Sample SKU" => array(
|
||||
"name" => "Sample SKU",
|
||||
"feed_name" => "Sample_SKU",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Style" => array(
|
||||
"name" => "Style",
|
||||
"feed_name" => "Style",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Unit count" => array(
|
||||
"name" => "Unit count",
|
||||
"feed_name" => "unit_count",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Unit count type" => array(
|
||||
"name" => "Unit count type",
|
||||
"feed_name" => "unit_count_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $manomano;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,187 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Miinto Germany feeds
|
||||
*/
|
||||
class WooSEA_miinto_de {
|
||||
public $miinto_de;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$miinto_de = array(
|
||||
"Feed fields" => array(
|
||||
"GTIN" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"Item Group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"C:style_id:string" => array(
|
||||
"name" => "c:style_id:string",
|
||||
"feed_name" => "c:style_id:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"C:title_PL:string" => array(
|
||||
"name" => "c:title_PL:string",
|
||||
"feed_name" => "c:title_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_DK:string" => array(
|
||||
"name" => "c:title_DK:string",
|
||||
"feed_name" => "c:title_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_NL:string" => array(
|
||||
"name" => "c:title_NL:string",
|
||||
"feed_name" => "c:title_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product Type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "required",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "required",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image link" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image link" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"C:stock_level:integer" => array(
|
||||
"name" => "c:stock_level:integer",
|
||||
"feed_name" => "c:stock_level:integer",
|
||||
"format" => "required",
|
||||
),
|
||||
"C:season_tag:string" => array(
|
||||
"name" => "c:season_tag:string",
|
||||
"feed_name" => "c:season_tag:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"C:description_PL:string" => array(
|
||||
"name" => "c:description_PL:string",
|
||||
"feed_name" => "c:description_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_NL:string" => array(
|
||||
"name" => "c:description_NL:string",
|
||||
"feed_name" => "c:description_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_DK:string" => array(
|
||||
"name" => "c:description_DK:string",
|
||||
"feed_name" => "c:description_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Washing" => array(
|
||||
"name" => "washing",
|
||||
"feed_name" => "washing",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_PLN:integer" => array(
|
||||
"name" => "c:discount_retail_price_PLN:integer",
|
||||
"feed_name" => "c:discount_retail_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_DKK:integer" => array(
|
||||
"name" => "c:discount_retail_price_DKK:integer",
|
||||
"feed_name" => "c:discount_retail_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_EUR:integer" => array(
|
||||
"name" => "c:discount_retail_price_EUR:integer",
|
||||
"feed_name" => "c:discount_retail_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:retail_price_PLN:integer" => array(
|
||||
"name" => "c:retail_price_PLN:integer",
|
||||
"feed_name" => "c:retail_price_PLN:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_DKK:integer" => array(
|
||||
"name" => "c:retail_price_DKK:integer",
|
||||
"feed_name" => "c:retail_price_DKK:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_EUR:integer" => array(
|
||||
"name" => "c:retail_price_EUR:integer",
|
||||
"feed_name" => "c:retail_price_EUR:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:wholsesale_price_PLN:integer" => array(
|
||||
"name" => "c:wholesale_price_PLN:integer",
|
||||
"feed_name" => "c:wholesale_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_DKK:integer" => array(
|
||||
"name" => "c:wholesale_price_DKK:integer",
|
||||
"feed_name" => "c:wholesale_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_EUR:integer" => array(
|
||||
"name" => "c:wholesale_price_EUR:integer",
|
||||
"feed_name" => "c:wholesale_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $miinto_de;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,187 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Miinto Denmark feeds
|
||||
*/
|
||||
class WooSEA_miinto_dk {
|
||||
public $miinto_dk;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$miinto_dk = array(
|
||||
"Feed fields" => array(
|
||||
"GTIN" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"Item Group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"C:style_id:string" => array(
|
||||
"name" => "c:style_id:string",
|
||||
"feed_name" => "c:style_id:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"C:title_PL:string" => array(
|
||||
"name" => "c:title_PL:string",
|
||||
"feed_name" => "c:title_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_DK:string" => array(
|
||||
"name" => "c:title_DK:string",
|
||||
"feed_name" => "c:title_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_NL:string" => array(
|
||||
"name" => "c:title_NL:string",
|
||||
"feed_name" => "c:title_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product Type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "required",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "required",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image link" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image link" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"C:stock_level:integer" => array(
|
||||
"name" => "c:stock_level:integer",
|
||||
"feed_name" => "c:stock_level:integer",
|
||||
"format" => "required",
|
||||
),
|
||||
"C:season_tag:string" => array(
|
||||
"name" => "c:season_tag:string",
|
||||
"feed_name" => "c:season_tag:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"C:description_PL:string" => array(
|
||||
"name" => "c:description_PL:string",
|
||||
"feed_name" => "c:description_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_NL:string" => array(
|
||||
"name" => "c:description_NL:string",
|
||||
"feed_name" => "c:description_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_DK:string" => array(
|
||||
"name" => "c:description_DK:string",
|
||||
"feed_name" => "c:description_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Washing" => array(
|
||||
"name" => "washing",
|
||||
"feed_name" => "washing",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_PLN:integer" => array(
|
||||
"name" => "c:discount_retail_price_PLN:integer",
|
||||
"feed_name" => "c:discount_retail_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_DKK:integer" => array(
|
||||
"name" => "c:discount_retail_price_DKK:integer",
|
||||
"feed_name" => "c:discount_retail_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_EUR:integer" => array(
|
||||
"name" => "c:discount_retail_price_EUR:integer",
|
||||
"feed_name" => "c:discount_retail_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:retail_price_PLN:integer" => array(
|
||||
"name" => "c:retail_price_PLN:integer",
|
||||
"feed_name" => "c:retail_price_PLN:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_DKK:integer" => array(
|
||||
"name" => "c:retail_price_DKK:integer",
|
||||
"feed_name" => "c:retail_price_DKK:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_EUR:integer" => array(
|
||||
"name" => "c:retail_price_EUR:integer",
|
||||
"feed_name" => "c:retail_price_EUR:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:wholsesale_price_PLN:integer" => array(
|
||||
"name" => "c:wholesale_price_PLN:integer",
|
||||
"feed_name" => "c:wholesale_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_DKK:integer" => array(
|
||||
"name" => "c:wholesale_price_DKK:integer",
|
||||
"feed_name" => "c:wholesale_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_EUR:integer" => array(
|
||||
"name" => "c:wholesale_price_EUR:integer",
|
||||
"feed_name" => "c:wholesale_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $miinto_dk;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,187 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Miinto France feeds
|
||||
*/
|
||||
class WooSEA_miinto_fr {
|
||||
public $miinto_fr;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$miinto_fr = array(
|
||||
"Feed fields" => array(
|
||||
"GTIN" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"Item Group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"C:style_id:string" => array(
|
||||
"name" => "c:style_id:string",
|
||||
"feed_name" => "c:style_id:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"C:title_PL:string" => array(
|
||||
"name" => "c:title_PL:string",
|
||||
"feed_name" => "c:title_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_DK:string" => array(
|
||||
"name" => "c:title_DK:string",
|
||||
"feed_name" => "c:title_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_NL:string" => array(
|
||||
"name" => "c:title_NL:string",
|
||||
"feed_name" => "c:title_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product Type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "required",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "required",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image link" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image link" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"C:stock_level:integer" => array(
|
||||
"name" => "c:stock_level:integer",
|
||||
"feed_name" => "c:stock_level:integer",
|
||||
"format" => "required",
|
||||
),
|
||||
"C:season_tag:string" => array(
|
||||
"name" => "c:season_tag:string",
|
||||
"feed_name" => "c:season_tag:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"C:description_PL:string" => array(
|
||||
"name" => "c:description_PL:string",
|
||||
"feed_name" => "c:description_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_NL:string" => array(
|
||||
"name" => "c:description_NL:string",
|
||||
"feed_name" => "c:description_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_DK:string" => array(
|
||||
"name" => "c:description_DK:string",
|
||||
"feed_name" => "c:description_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Washing" => array(
|
||||
"name" => "washing",
|
||||
"feed_name" => "washing",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_PLN:integer" => array(
|
||||
"name" => "c:discount_retail_price_PLN:integer",
|
||||
"feed_name" => "c:discount_retail_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_DKK:integer" => array(
|
||||
"name" => "c:discount_retail_price_DKK:integer",
|
||||
"feed_name" => "c:discount_retail_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_EUR:integer" => array(
|
||||
"name" => "c:discount_retail_price_EUR:integer",
|
||||
"feed_name" => "c:discount_retail_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:retail_price_PLN:integer" => array(
|
||||
"name" => "c:retail_price_PLN:integer",
|
||||
"feed_name" => "c:retail_price_PLN:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_DKK:integer" => array(
|
||||
"name" => "c:retail_price_DKK:integer",
|
||||
"feed_name" => "c:retail_price_DKK:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_EUR:integer" => array(
|
||||
"name" => "c:retail_price_EUR:integer",
|
||||
"feed_name" => "c:retail_price_EUR:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:wholsesale_price_PLN:integer" => array(
|
||||
"name" => "c:wholesale_price_PLN:integer",
|
||||
"feed_name" => "c:wholesale_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_DKK:integer" => array(
|
||||
"name" => "c:wholesale_price_DKK:integer",
|
||||
"feed_name" => "c:wholesale_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_EUR:integer" => array(
|
||||
"name" => "c:wholesale_price_EUR:integer",
|
||||
"feed_name" => "c:wholesale_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $miinto_fr;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,187 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Miinto Netherlands feeds
|
||||
*/
|
||||
class WooSEA_miinto_nl {
|
||||
public $miinto_nl;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$miinto_nl = array(
|
||||
"Feed fields" => array(
|
||||
"GTIN" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"Item Group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"C:style_id:string" => array(
|
||||
"name" => "c:style_id:string",
|
||||
"feed_name" => "c:style_id:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"C:title_PL:string" => array(
|
||||
"name" => "c:title_PL:string",
|
||||
"feed_name" => "c:title_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_DK:string" => array(
|
||||
"name" => "c:title_DK:string",
|
||||
"feed_name" => "c:title_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_NL:string" => array(
|
||||
"name" => "c:title_NL:string",
|
||||
"feed_name" => "c:title_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product Type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "required",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "required",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image link" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image link" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"C:stock_level:integer" => array(
|
||||
"name" => "c:stock_level:integer",
|
||||
"feed_name" => "c:stock_level:integer",
|
||||
"format" => "required",
|
||||
),
|
||||
"C:season_tag:string" => array(
|
||||
"name" => "c:season_tag:string",
|
||||
"feed_name" => "c:season_tag:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"C:description_PL:string" => array(
|
||||
"name" => "c:description_PL:string",
|
||||
"feed_name" => "c:description_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_NL:string" => array(
|
||||
"name" => "c:description_NL:string",
|
||||
"feed_name" => "c:description_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_DK:string" => array(
|
||||
"name" => "c:description_DK:string",
|
||||
"feed_name" => "c:description_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Washing" => array(
|
||||
"name" => "washing",
|
||||
"feed_name" => "washing",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_PLN:integer" => array(
|
||||
"name" => "c:discount_retail_price_PLN:integer",
|
||||
"feed_name" => "c:discount_retail_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_DKK:integer" => array(
|
||||
"name" => "c:discount_retail_price_DKK:integer",
|
||||
"feed_name" => "c:discount_retail_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_EUR:integer" => array(
|
||||
"name" => "c:discount_retail_price_EUR:integer",
|
||||
"feed_name" => "c:discount_retail_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:retail_price_PLN:integer" => array(
|
||||
"name" => "c:retail_price_PLN:integer",
|
||||
"feed_name" => "c:retail_price_PLN:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_DKK:integer" => array(
|
||||
"name" => "c:retail_price_DKK:integer",
|
||||
"feed_name" => "c:retail_price_DKK:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_EUR:integer" => array(
|
||||
"name" => "c:retail_price_EUR:integer",
|
||||
"feed_name" => "c:retail_price_EUR:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:wholsesale_price_PLN:integer" => array(
|
||||
"name" => "c:wholesale_price_PLN:integer",
|
||||
"feed_name" => "c:wholesale_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_DKK:integer" => array(
|
||||
"name" => "c:wholesale_price_DKK:integer",
|
||||
"feed_name" => "c:wholesale_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_EUR:integer" => array(
|
||||
"name" => "c:wholesale_price_EUR:integer",
|
||||
"feed_name" => "c:wholesale_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $miinto_nl;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,187 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Miinto Poland feeds
|
||||
*/
|
||||
class WooSEA_miinto_pl {
|
||||
public $miinto_pl;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$miinto_pl = array(
|
||||
"Feed fields" => array(
|
||||
"GTIN" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"Item Group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"C:style_id:string" => array(
|
||||
"name" => "c:style_id:string",
|
||||
"feed_name" => "c:style_id:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"C:title_PL:string" => array(
|
||||
"name" => "c:title_PL:string",
|
||||
"feed_name" => "c:title_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_DK:string" => array(
|
||||
"name" => "c:title_DK:string",
|
||||
"feed_name" => "c:title_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_NL:string" => array(
|
||||
"name" => "c:title_NL:string",
|
||||
"feed_name" => "c:title_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product Type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "required",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "required",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image link" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image link" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"C:stock_level:integer" => array(
|
||||
"name" => "c:stock_level:integer",
|
||||
"feed_name" => "c:stock_level:integer",
|
||||
"format" => "required",
|
||||
),
|
||||
"C:season_tag:string" => array(
|
||||
"name" => "c:season_tag:string",
|
||||
"feed_name" => "c:season_tag:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"C:description_PL:string" => array(
|
||||
"name" => "c:description_PL:string",
|
||||
"feed_name" => "c:description_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_NL:string" => array(
|
||||
"name" => "c:description_NL:string",
|
||||
"feed_name" => "c:description_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_DK:string" => array(
|
||||
"name" => "c:description_DK:string",
|
||||
"feed_name" => "c:description_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Washing" => array(
|
||||
"name" => "washing",
|
||||
"feed_name" => "washing",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_PLN:integer" => array(
|
||||
"name" => "c:discount_retail_price_PLN:integer",
|
||||
"feed_name" => "c:discount_retail_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_DKK:integer" => array(
|
||||
"name" => "c:discount_retail_price_DKK:integer",
|
||||
"feed_name" => "c:discount_retail_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_EUR:integer" => array(
|
||||
"name" => "c:discount_retail_price_EUR:integer",
|
||||
"feed_name" => "c:discount_retail_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:retail_price_PLN:integer" => array(
|
||||
"name" => "c:retail_price_PLN:integer",
|
||||
"feed_name" => "c:retail_price_PLN:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_DKK:integer" => array(
|
||||
"name" => "c:retail_price_DKK:integer",
|
||||
"feed_name" => "c:retail_price_DKK:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_EUR:integer" => array(
|
||||
"name" => "c:retail_price_EUR:integer",
|
||||
"feed_name" => "c:retail_price_EUR:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:wholsesale_price_PLN:integer" => array(
|
||||
"name" => "c:wholesale_price_PLN:integer",
|
||||
"feed_name" => "c:wholesale_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_DKK:integer" => array(
|
||||
"name" => "c:wholesale_price_DKK:integer",
|
||||
"feed_name" => "c:wholesale_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_EUR:integer" => array(
|
||||
"name" => "c:wholesale_price_EUR:integer",
|
||||
"feed_name" => "c:wholesale_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $miinto_pl;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Miinto Sweden feeds
|
||||
*/
|
||||
class WooSEA_miinto_se {
|
||||
public $miinto_se;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$miinto_se = array(
|
||||
"Feed fields" => array(
|
||||
"GTIN" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"Item Group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"C:style_id:string" => array(
|
||||
"name" => "c:style_id:string",
|
||||
"feed_name" => "c:style_id:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"C:title_PL:string" => array(
|
||||
"name" => "c:title_PL:string",
|
||||
"feed_name" => "c:title_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_SV:string" => array(
|
||||
"name" => "c:title_SV:string",
|
||||
"feed_name" => "c:title_SV:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_DK:string" => array(
|
||||
"name" => "c:title_DK:string",
|
||||
"feed_name" => "c:title_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:title_NL:string" => array(
|
||||
"name" => "c:title_NL:string",
|
||||
"feed_name" => "c:title_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product Type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "required",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "required",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "required",
|
||||
),
|
||||
"Image link" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image link" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"C:stock_level:integer" => array(
|
||||
"name" => "c:stock_level:integer",
|
||||
"feed_name" => "c:stock_level:integer",
|
||||
"format" => "required",
|
||||
),
|
||||
"C:season_tag:string" => array(
|
||||
"name" => "c:season_tag:string",
|
||||
"feed_name" => "c:season_tag:string",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"C:description_PL:string" => array(
|
||||
"name" => "c:description_PL:string",
|
||||
"feed_name" => "c:description_PL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_NL:string" => array(
|
||||
"name" => "c:description_NL:string",
|
||||
"feed_name" => "c:description_NL:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_DK:string" => array(
|
||||
"name" => "c:description_DK:string",
|
||||
"feed_name" => "c:description_DK:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:description_SV:string" => array(
|
||||
"name" => "c:description_SV:string",
|
||||
"feed_name" => "c:description_SV:string",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Washing" => array(
|
||||
"name" => "washing",
|
||||
"feed_name" => "washing",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_PLN:integer" => array(
|
||||
"name" => "c:discount_retail_price_PLN:integer",
|
||||
"feed_name" => "c:discount_retail_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_DKK:integer" => array(
|
||||
"name" => "c:discount_retail_price_DKK:integer",
|
||||
"feed_name" => "c:discount_retail_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_SEK:integer" => array(
|
||||
"name" => "c:discount_retail_price_SEK:integer",
|
||||
"feed_name" => "c:discount_retail_price_SEK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:discount_retail_price_EUR:integer" => array(
|
||||
"name" => "c:discount_retail_price_EUR:integer",
|
||||
"feed_name" => "c:discount_retail_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:retail_price_PLN:integer" => array(
|
||||
"name" => "c:retail_price_PLN:integer",
|
||||
"feed_name" => "c:retail_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_DKK:integer" => array(
|
||||
"name" => "c:retail_price_DKK:integer",
|
||||
"feed_name" => "c:retail_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_SEK:integer" => array(
|
||||
"name" => "c:retail_price_SEK:integer",
|
||||
"feed_name" => "c:retail_price_SEK:integer",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:retail_price_EUR:integer" => array(
|
||||
"name" => "c:retail_price_EUR:integer",
|
||||
"feed_name" => "c:retail_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"C:wholsesale_price_PLN:integer" => array(
|
||||
"name" => "c:wholesale_price_PLN:integer",
|
||||
"feed_name" => "c:wholesale_price_PLN:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_DKK:integer" => array(
|
||||
"name" => "c:wholesale_price_DKK:integer",
|
||||
"feed_name" => "c:wholesale_price_DKK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_SEK:integer" => array(
|
||||
"name" => "c:wholesale_price_SEK:integer",
|
||||
"feed_name" => "c:wholesale_price_SEK:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"C:wholsesale_price_EUR:integer" => array(
|
||||
"name" => "c:wholesale_price_EUR:integer",
|
||||
"feed_name" => "c:wholesale_price_EUR:integer",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $miinto_se;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,595 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Moebel feeds
|
||||
*/
|
||||
class WooSEA_moebel {
|
||||
public $moebel;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$moebel = array(
|
||||
"Feed fields" => array(
|
||||
"Art nr" => array(
|
||||
"name" => "art_nr",
|
||||
"feed_name" => "art_nr",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Art name" => array(
|
||||
"name" => "art_name",
|
||||
"feed_name" => "art_name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Art beschreibung" => array(
|
||||
"name" => "art_beschreibung",
|
||||
"feed_name" => "art_beschreibung",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Art URL" => array(
|
||||
"name" => "art_url",
|
||||
"feed_name" => "art_url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Art img URL" => array(
|
||||
"name" => "art_img_url",
|
||||
"feed_name" => "art_img_url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Art waehrung" => array(
|
||||
"name" => "art_waehrung",
|
||||
"feed_name" => "art_waehrung",
|
||||
"format" => "required",
|
||||
),
|
||||
"Art preis" => array(
|
||||
"name" => "art_price",
|
||||
"feed_name" => "art_price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Art lieferkosten" => array(
|
||||
"name" => "art_lieferkosten",
|
||||
"feed_name" => "art_lieferkosten",
|
||||
"format" => "required",
|
||||
),
|
||||
"Art stamm" => array(
|
||||
"name" => "art_stamm",
|
||||
"feed_name" => "art_stamm",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art ean" => array(
|
||||
"name" => "art_ean",
|
||||
"feed_name" => "art_ean",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art plz" => array(
|
||||
"name" => "art_plz",
|
||||
"feed_name" => "art_plz",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art bidding bidDesktop" => array(
|
||||
"name" => "art_bidding.bidDesktop",
|
||||
"feed_name" => "art_bidding.biedDesktop",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art bidding factorMobile" => array(
|
||||
"name" => "art_bidding.factorMobile",
|
||||
"feed_name" => "art_bidding.factorMobile",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art Google Shopping Target URL" => array(
|
||||
"name" => "art_Google_Shopping_Target_URL",
|
||||
"feed_name" => "art_Google_Shopping_Target_URL",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art Clear Product URL" => array(
|
||||
"name" => "art_Clear_Product_URL",
|
||||
"feed_name" => "art_Clear_Product_URL",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Top Mid Low" => array(
|
||||
"name" => "top-mid-low",
|
||||
"feed_name" => "top-mid-low",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art streichpreis" => array(
|
||||
"name" => "art_streichpreis",
|
||||
"feed_name" => "art_streichpreis",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art lieferoptionen" => array(
|
||||
"name" => "art_lieferoptionen",
|
||||
"feed_name" => "art_lieferoptionen",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Partner Payment Methods" => array(
|
||||
"name" => "partner.paymentMethods",
|
||||
"feed_name" => "partner.paymentMethods",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art services" => array(
|
||||
"name" => "art_services",
|
||||
"feed_name" => "art_services",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art grundpreis" => array(
|
||||
"name" => "art_grundpreis",
|
||||
"feed_name" => "art_grundpreis",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art grundpreis einheit" => array(
|
||||
"name" => "art_grundpreis_einheit",
|
||||
"feed_name" => "art_grundpreis_einheit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art finanzierung" => array(
|
||||
"name" => "art_finanzierung",
|
||||
"feed_name" => "art_finanzierung",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art lieferzeit" => array(
|
||||
"name" => "art_lieferzeit",
|
||||
"feed_name" => "art_lieferzeit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art lieferzeit wert" => array(
|
||||
"name" => "art_lieferzeit_wert",
|
||||
"feed_name" => "art_lieferzeit_wert",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art lieferkosten text" => array(
|
||||
"name" => "art_lieferkosten_text",
|
||||
"feed_name" => "art_lieferkosten_text",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art versand at" => array(
|
||||
"name" => "art_versand_at",
|
||||
"feed_name" => "art_versand_at",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art versand at preis" => array(
|
||||
"name" => "art_versand_at_preis",
|
||||
"feed_name" => "art_versand_at_preis",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art versand ch" => array(
|
||||
"name" => "art_versand_ch",
|
||||
"feed_name" => "art_versand_ch",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art versand ch preis" => array(
|
||||
"name" => "art_versand_ch_preis",
|
||||
"feed_name" => "art_versand_ch_preis",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art versand sonstlaender" => array(
|
||||
"name" => "art_versand_sonstlaender",
|
||||
"feed_name" => "art_versand_sonstlaender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art montage" => array(
|
||||
"name" => "art_montage",
|
||||
"feed_name" => "art_montage",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art montagepreis" => array(
|
||||
"name" => "art_montagepreis",
|
||||
"feed_name" => "art_montagepreis",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art express" => array(
|
||||
"name" => "art_express",
|
||||
"feed_name" => "art_express",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art verfuegbarkeit" => array(
|
||||
"name" => "art_verfuegbarkeit",
|
||||
"feed_name" => "art_verfuegbarkeit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art verfuegbarkeit" => array(
|
||||
"name" => "art_verfuegbarkeit",
|
||||
"feed_name" => "art_verfuegbarkeit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art farbe" => array(
|
||||
"name" => "art_farbe",
|
||||
"feed_name" => "art_farbe",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art hauptfarbe" => array(
|
||||
"name" => "art_hauptfarbe",
|
||||
"feed_name" => "art_hauptfarbe",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art material" => array(
|
||||
"name" => "art_material",
|
||||
"feed_name" => "art_material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art hauptmaterial" => array(
|
||||
"name" => "art_hauptmaterial",
|
||||
"feed_name" => "art_hauptmaterial",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art holzart" => array(
|
||||
"name" => "art_holzart",
|
||||
"feed_name" => "art_holzart",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art stil" => array(
|
||||
"name" => "art_stil",
|
||||
"feed_name" => "art_stil",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art marke" => array(
|
||||
"name" => "art_marke",
|
||||
"feed_name" => "art_marke",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art kategorie" => array(
|
||||
"name" => "art_kategorie",
|
||||
"feed_name" => "art_kategorie",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art bewertung" => array(
|
||||
"name" => "art_bewertung",
|
||||
"feed_name" => "art_bewertung",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art bewertungsanzahl" => array(
|
||||
"name" => "art_bewertungsanzahl",
|
||||
"feed_name" => "art_bewertungsanzahl",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art extras" => array(
|
||||
"name" => "art_extras",
|
||||
"feed_name" => "art_extras",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art geschlecht" => array(
|
||||
"name" => "art_geschlecht",
|
||||
"feed_name" => "art_geschlecht",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art oberflaeche" => array(
|
||||
"name" => "art_oberflaeche",
|
||||
"feed_name" => "art_oberflaeche",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art sets" => array(
|
||||
"name" => "art_sets",
|
||||
"feed_name" => "art_sets",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art ausrichting" => array(
|
||||
"name" => "art_ausrichtung",
|
||||
"feed_name" => "art_ausrichting",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art verwendungsort" => array(
|
||||
"name" => "art_verwendungsort",
|
||||
"feed_name" => "art_verwendungsort",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art sitzplatze" => array(
|
||||
"name" => "art_sitzplatze",
|
||||
"feed_name" => "art_sitzplatze",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art muster" => array(
|
||||
"name" => "art_muster",
|
||||
"feed_name" => "art_muster",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art energiequelle" => array(
|
||||
"name" => "art_energiequelle",
|
||||
"feed_name" => "art_energiequelle",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art siegel" => array(
|
||||
"name" => "art_siegel",
|
||||
"feed_name" => "art_siegel",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art hersteller" => array(
|
||||
"name" => "art_hersteller",
|
||||
"feed_name" => "art_hersteller",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art img url2" => array(
|
||||
"name" => "art_img_url2",
|
||||
"feed_name" => "art_img_url2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art img url3" => array(
|
||||
"name" => "art_img_url3",
|
||||
"feed_name" => "art_img_url3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art img url4" => array(
|
||||
"name" => "art_img_url4",
|
||||
"feed_name" => "art_img_url4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art img url5" => array(
|
||||
"name" => "art_img_url5",
|
||||
"feed_name" => "art_img_url5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art img url6" => array(
|
||||
"name" => "art_img_url6",
|
||||
"feed_name" => "art_img_url6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art img url7" => array(
|
||||
"name" => "art_img_url7",
|
||||
"feed_name" => "art_img_url7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art img url8" => array(
|
||||
"name" => "art_img_url8",
|
||||
"feed_name" => "art_img_url8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art img url9" => array(
|
||||
"name" => "art_img_url9",
|
||||
"feed_name" => "art_img_url9",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art masse" => array(
|
||||
"name" => "art_masse",
|
||||
"feed_name" => "art_masse",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art breite" => array(
|
||||
"name" => "art_breite",
|
||||
"feed_name" => "art_breite",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art breite einheit" => array(
|
||||
"name" => "art_breite_einheit",
|
||||
"feed_name" => "art_breite_einheit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art tiefe" => array(
|
||||
"name" => "art_tiefe",
|
||||
"feed_name" => "art_tiefe",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art tiefe einheit" => array(
|
||||
"name" => "art_tiefe_einheit",
|
||||
"feed_name" => "art_tiefe_einheit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art hoehe" => array(
|
||||
"name" => "art_hoehe",
|
||||
"feed_name" => "art_hoehe",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art hoehe einheit" => array(
|
||||
"name" => "art_hoehe_einheit",
|
||||
"feed_name" => "art_hoehe_einheit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art form" => array(
|
||||
"name" => "art_form",
|
||||
"feed_name" => "art_form",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art sitztiefe" => array(
|
||||
"name" => "art_sitztiefe",
|
||||
"feed_name" => "art_sitztiefe",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art sitzhoehe" => array(
|
||||
"name" => "art_sitzhoehe",
|
||||
"feed_name" => "art_sitzhoehe",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art sitzhoehe einheit" => array(
|
||||
"name" => "art_sitzhoehe_einheit",
|
||||
"feed_name" => "art_sitzhoehe_einheit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art sitztiefe einheit" => array(
|
||||
"name" => "art_sitztiefe_einheit",
|
||||
"feed_name" => "art_sitztiefe_einheit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art schenkelmass" => array(
|
||||
"name" => "art_schenkelmass",
|
||||
"feed_name" => "art_schenkelmass",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art schenkelmass einheit" => array(
|
||||
"name" => "art_schenkelmass_einheit",
|
||||
"feed_name" => "art_schenkelmass_einheit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art durchmesser" => array(
|
||||
"name" => "art_durchmesser",
|
||||
"feed_name" => "art_durchmesser",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art durchmesser einheit" => array(
|
||||
"name" => "art_durchmesser_einheit",
|
||||
"feed_name" => "art_durchmesser_einheit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art aufhaengung" => array(
|
||||
"name" => "art_aufhaengung",
|
||||
"feed_name" => "art_aufhaengung",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art fuellmaterial" => array(
|
||||
"name" => "art_fuellmaterial",
|
||||
"feed_name" => "art_fuellmaterial",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art funktion heimtex" => array(
|
||||
"name" => "art_funktion_heimtext",
|
||||
"feed_name" => "art_funtion_heimtext",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art effizienzklasse" => array(
|
||||
"name" => "art_effizienzklasse",
|
||||
"feed_name" => "art_effizienzklasse",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art lautstaerke" => array(
|
||||
"name" => "art_lautstaerke",
|
||||
"feed_name" => "art_lautstaerke",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art helligkeit" => array(
|
||||
"name" => "art_helligkeit",
|
||||
"feed_name" => "art_helligkeit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art lichtfarbe" => array(
|
||||
"name" => "art_lichtfarbe",
|
||||
"feed_name" => "art_lichtfarbe",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art kuechenelektro" => array(
|
||||
"name" => "art_kuechenelektro",
|
||||
"feed_name" => "art_kuechenelektro",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art herdeigenschaften" => array(
|
||||
"name" => "art_herdeigenschaften",
|
||||
"feed_name" => "art_herdeigenschaften",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art kochfeld" => array(
|
||||
"name" => "art_kochfeld",
|
||||
"feed_name" => "art_kochfeld",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art material arbeitsplatte" => array(
|
||||
"name" => "art_material_arbeitsplatte",
|
||||
"feed_name" => "art_material_arbeitsplatte",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art extras sessel" => array(
|
||||
"name" => "art_extras_sessel",
|
||||
"feed_name" => "art_extras_sessel",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art schlaffunktion" => array(
|
||||
"name" => "art_schlaffunktion",
|
||||
"feed_name" => "art_schlaffunktion",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art form sofa" => array(
|
||||
"name" => "art_form_sofa",
|
||||
"feed_name" => "art_form_sofa",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art extras sofa" => array(
|
||||
"name" => "art_extras_sofa",
|
||||
"feed_name" => "art_extras_sofa",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art material fuesse" => array(
|
||||
"name" => "art_material_fuesse",
|
||||
"feed_name" => "art_material_fuesse",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art haertegrad matratze" => array(
|
||||
"name" => "art_haertegrad_matratze",
|
||||
"feed_name" => "art_haertegrad_matratze",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art liegezonen" => array(
|
||||
"name" => "art_liegezonen",
|
||||
"feed_name" => "art_liegezonen",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art allergiker matratze" => array(
|
||||
"name" => "art_allergiker_matratze",
|
||||
"feed_name" => "art_allergiker_matratze",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art stauraum bett" => array(
|
||||
"name" => "art_stauraum_bett",
|
||||
"feed_name" => "art_stauraum_bett",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art beleuchtung bett" => array(
|
||||
"name" => "art_beleuchtung_bett",
|
||||
"feed_name" => "art_beleuchtung_bett",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art matratzenmasse" => array(
|
||||
"name" => "art_matratzenmasse",
|
||||
"feed_name" => "art_matratzenmasse",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art matratzenart" => array(
|
||||
"name" => "art_matratzenart",
|
||||
"feed_name" => "art_matratzenart",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art bezugwaschbar" => array(
|
||||
"name" => "art_bezugwaschbar",
|
||||
"feed_name" => "art_bezugwaschbar",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art vitrine" => array(
|
||||
"name" => "art_vitrine",
|
||||
"feed_name" => "art_vitrine",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art abschliessbar" => array(
|
||||
"name" => "art_abschliessbar",
|
||||
"feed_name" => "art_abschliessbar",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art variable faecher" => array(
|
||||
"name" => "art_variable_faecher",
|
||||
"feed_name" => "art_variable_faecher",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art tuerenzahl" => array(
|
||||
"name" => "art_tuerenzahl",
|
||||
"feed_name" => "art_tuerenzahl",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art schubladenzahl" => array(
|
||||
"name" => "art_schubladenzahl",
|
||||
"feed_name" => "art_schubladenzahl",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art faecherzahl" => array(
|
||||
"name" => "art_faecherzahl",
|
||||
"feed_name" => "art_faecherzahl",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art tischform" => array(
|
||||
"name" => "art_tischform",
|
||||
"feed_name" => "art_tischform",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art tischfunktion" => array(
|
||||
"name" => "art_tischfunktion",
|
||||
"feed_name" => "art_tischfunktion",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Art gestell material" => array(
|
||||
"name" => "art_gestell_material",
|
||||
"feed_name" => "art_gestell_material",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $moebel;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,403 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Pinterest product feeds
|
||||
*/
|
||||
class WooSEA_pinterest {
|
||||
public $pinterest;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$pinterest = array(
|
||||
"Basic product data" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "id",
|
||||
"feed_name" => "g:id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "g:title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Product description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "g:description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Product URL" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "g:link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Main image URL" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "g:image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image URL" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "g:additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product URL mobile" => array(
|
||||
"name" => "mobile_link",
|
||||
"feed_name" => "g:mobile_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Price & availability" => array(
|
||||
"Stock status" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "g:availability",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Availability date" => array(
|
||||
"name" => "availability_date",
|
||||
"feed_name" => "g:availability_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Expiration date" => array(
|
||||
"name" => "expiration_date",
|
||||
"feed_name" => "g:expiration_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "g:price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "vivino_price",
|
||||
),
|
||||
"Sale price" => array(
|
||||
"name" => "sale_price",
|
||||
"feed_name" => "g:sale_price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "vivino_sale_price",
|
||||
),
|
||||
"Sale price effective date" => array(
|
||||
"name" => "sale_price_effective_date",
|
||||
"feed_name" => "g:sale_price_effective_date",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price_effective_date",
|
||||
),
|
||||
"Unit pricing measure" => array(
|
||||
"name" => "unit_pricing_measure",
|
||||
"feed_name" => "g:unit_pricing_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Unit pricing base measure" => array(
|
||||
"name" => "unit_pricing_base_measure",
|
||||
"feed_name" => "g:unit_pricing_base_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Cost of goods sold" => array(
|
||||
"name" => "cost_of_goods_sold",
|
||||
"feed_name" => "g:cost_of_goods_sold",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Installment" => array(
|
||||
"name" => "installment",
|
||||
"feed_name" => "g:installment",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Loyalty points" => array(
|
||||
"name" => "loyalty_points",
|
||||
"feed_name" => "g:loyalty_points",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Product category" => array(
|
||||
"Google product category" => array(
|
||||
"name" => "google_product_category",
|
||||
"feed_name" => "g:google_product_category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Product type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "g:product_type",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "product_type",
|
||||
),
|
||||
),
|
||||
"Product identifiers" => array(
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "g:brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gtin" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "g:gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "mpn",
|
||||
"feed_name" => "g:mpn",
|
||||
"format" => "required",
|
||||
),
|
||||
"Identifier exists" => array(
|
||||
"name" => "identifier_exists",
|
||||
"feed_name" => "g:identifier_exists",
|
||||
"woo_suggest" => "calculated",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
"Detailed product description" => array(
|
||||
"Condition" => array(
|
||||
"name" => "condition",
|
||||
"feed_name" => "g:condition",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"Adult" => array(
|
||||
"name" => "adult",
|
||||
"feed_name" => "g:adult",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Multipack" => array(
|
||||
"name" => "multipack",
|
||||
"feed_name" => "g:multipack",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Is bundle" => array(
|
||||
"name" => "is_bundle",
|
||||
"feed_name" => "g:is_bundle",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Energy efficiency class" => array(
|
||||
"name" => "energy_efficiency_class",
|
||||
"feed_name" => "g:energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Minimum energy efficiency class" => array(
|
||||
"name" => "min_energy_efficiency_class",
|
||||
"feed_name" => "g:min_energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Maximum energy efficiency class" => array(
|
||||
"name" => "max_energy_efficiency_class",
|
||||
"feed_name" => "g:max_energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Age group" => array(
|
||||
"name" => "age_group",
|
||||
"feed_name" => "g:age_group",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Alt text" => array(
|
||||
"name" => "alt_text",
|
||||
"feed_name" => "g:alt_text",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "g:color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "g:gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "g:material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pattern" => array(
|
||||
"name" => "pattern",
|
||||
"feed_name" => "g:pattern",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "g:size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size type" => array(
|
||||
"name" => "size_type",
|
||||
"feed_name" => "g:size_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size system" => array(
|
||||
"name" => "size_system",
|
||||
"feed_name" => "g:size_system",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "g:item_group_id",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
"Shopping campaigns" => array(
|
||||
"Adwords redirect (old)" => array(
|
||||
"name" => "adwords_redirect",
|
||||
"feed_name" => "g:adwords_redirect",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ads redirect (new)" => array(
|
||||
"name" => "ads_redirect",
|
||||
"feed_name" => "g:ads_redirect",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Excluded destination" => array(
|
||||
"name" => "excluded_destination",
|
||||
"feed_name" => "g:excluded_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 0" => array(
|
||||
"name" => "custom_label_0",
|
||||
"feed_name" => "g:custom_label_0",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 1" => array(
|
||||
"name" => "custom_label_1",
|
||||
"feed_name" => "g:custom_label_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 2" => array(
|
||||
"name" => "custom_label_2",
|
||||
"feed_name" => "g:custom_label_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 3" => array(
|
||||
"name" => "custom_label_3",
|
||||
"feed_name" => "g:custom_label_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 4" => array(
|
||||
"name" => "custom_label_4",
|
||||
"feed_name" => "g:custom_label_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Promotion ID" => array(
|
||||
"name" => "promotion_id",
|
||||
"feed_name" => "g:promotion_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Included destination" => array(
|
||||
"name" => "included_destination",
|
||||
"feed_name" => "included_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Excluded destination" => array(
|
||||
"name" => "excluded_destination",
|
||||
"feed_name" => "g:excluded_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Checkout enabled" => array(
|
||||
"name" => "checkout_enabled",
|
||||
"feed_name" => "g:checkout_enabled",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ad link" => array(
|
||||
"name" => "ad_link",
|
||||
"feed_name" => "g:ad_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Shipping" => array(
|
||||
"Shipping" => array(
|
||||
"name" => "shipping",
|
||||
"feed_name" => "g:shipping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping label" => array(
|
||||
"name" => "shipping_label",
|
||||
"feed_name" => "g:shipping_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping weight" => array(
|
||||
"name" => "shipping_weight",
|
||||
"feed_name" => "g:shipping_weight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping length" => array(
|
||||
"name" => "shipping_length",
|
||||
"feed_name" => "g:shipping_length",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping width" => array(
|
||||
"name" => "shipping_width",
|
||||
"feed_name" => "g:shipping_width",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping height" => array(
|
||||
"name" => "shipping_height",
|
||||
"feed_name" => "g:shipping_height",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Minimum handling time" => array(
|
||||
"name" => "min_handling_time",
|
||||
"feed_name" => "g:min_handling_time",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Maximum handling time" => array(
|
||||
"name" => "max_handling_time",
|
||||
"feed_name" => "g:max_handling_time",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Free shipping label" => array(
|
||||
"name" => "free_shipping_label",
|
||||
"feed_name" => "g:free_shipping_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Free shipping limit" => array(
|
||||
"name" => "free_shipping_limit",
|
||||
"feed_name" => "g:free_shipping_limit",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Tax" => array(
|
||||
"Tax" => array(
|
||||
"name" => "tax",
|
||||
"feed_name" => "g:tax",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Tax category" => array(
|
||||
"name" => "tax_category",
|
||||
"feed_name" => "g:tax_category",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Optional product characteristics" => array(
|
||||
"Alt text" => array(
|
||||
"name" => "alt_text",
|
||||
"feed_name" => "g:alt_text",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size system" => array(
|
||||
"name" => "size_system",
|
||||
"feed_name" => "g:size_system",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size type" => array(
|
||||
"name" => "size_type",
|
||||
"feed_name" => "g:size_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Variant names" => array(
|
||||
"name" => "variant_names",
|
||||
"feed_name" => "g:variant_names",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Variant values" => array(
|
||||
"name" => "variant_values",
|
||||
"feed_name" => "g:variant_values",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
|
||||
);
|
||||
return $pinterest;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Pinterest RSS Boards feeds
|
||||
*/
|
||||
class WooSEA_pinterest_rss {
|
||||
public $pinterest_rss;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$pinterest_rss = array(
|
||||
"Pinterest RSS fields" => array(
|
||||
"Title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Link" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Image" => array(
|
||||
"name" => "image",
|
||||
"feed_name" => "image",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $pinterest_rss;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,267 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Pricecheck South Africa feeds
|
||||
*/
|
||||
class WooSEA_pricecheck {
|
||||
public $pricecheck;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$pricecheck = array(
|
||||
"Feed fields" => array(
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"ProductName" => array(
|
||||
"name" => "ProductName",
|
||||
"feed_name" => "ProductName",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "Manufacturer",
|
||||
"feed_name" => "Manufacturer",
|
||||
"format" => "required",
|
||||
),
|
||||
"ShopSKU" => array(
|
||||
"name" => "ShopSKU",
|
||||
"feed_name" => "ShopSKU",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "SKU",
|
||||
),
|
||||
"ModelNumber" => array(
|
||||
"name" => "ModelNumber",
|
||||
"feed_name" => "ModelNumber",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"SKU" => array(
|
||||
"name" => "SKU",
|
||||
"feed_name" => "SKU",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "SKU",
|
||||
),
|
||||
"UPC" => array(
|
||||
"name" => "UPC",
|
||||
"feed_name" => "UPC",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "Price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"SalePrice" => array(
|
||||
"name" => "SalePrice",
|
||||
"feed_name" => "SalePrice",
|
||||
"format" => "optional",
|
||||
),
|
||||
"DeliveryCost" => array(
|
||||
"name" => "DeliveryCost",
|
||||
"feed_name" => "DeliveryCost",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ProductURL" => array(
|
||||
"name" => "ProductURL",
|
||||
"feed_name" => "ProductURL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"ImageURL" => array(
|
||||
"name" => "ImageURL",
|
||||
"feed_name" => "ImageURL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Notes" => array(
|
||||
"name" => "Notes",
|
||||
"feed_name" => "Notes",
|
||||
"format" => "optional",
|
||||
),
|
||||
"StockAvailability" => array(
|
||||
"name" => "StockAvailability",
|
||||
"feed_name" => "StockAvailability",
|
||||
"format" => "optional",
|
||||
),
|
||||
"StockLevel" => array(
|
||||
"name" => "StockLevel",
|
||||
"feed_name" => "StockLevel",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Is MP" => array(
|
||||
"name" => "is_mp",
|
||||
"feed_name" => "is_mp",
|
||||
"format" => "optional",
|
||||
),
|
||||
"IsBundle" => array(
|
||||
"name" => "IsBundle",
|
||||
"feed_name" => "IsBundle",
|
||||
"format" => "optional",
|
||||
),
|
||||
"GroupID" => array(
|
||||
"name" => "GroupID",
|
||||
"feed_name" => "GroupID",
|
||||
"format" => "optional",
|
||||
),
|
||||
"NoOfUnits" => array(
|
||||
"name" => "NoOfUnits",
|
||||
"feed_name" => "NoOfUnits",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Format" => array(
|
||||
"name" => "Format",
|
||||
"feed_name" => "Format",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Actor" => array(
|
||||
"name" => "Actor",
|
||||
"feed_name" => "Actor",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Director" => array(
|
||||
"name" => "Director",
|
||||
"feed_name" => "Director",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ReleaseDate" => array(
|
||||
"name" => "ReleaseDate",
|
||||
"feed_name" => "ReleaseDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"RunningTime" => array(
|
||||
"name" => "RunningTime",
|
||||
"feed_name" => "RunningTime",
|
||||
"format" => "optional",
|
||||
),
|
||||
"AgeGroup" => array(
|
||||
"name" => "AgeGroup",
|
||||
"feed_name" => "AgeGroup",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Colour" => array(
|
||||
"name" => "Colour",
|
||||
"feed_name" => "Colour",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "Gender",
|
||||
"feed_name" => "Gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "Size",
|
||||
"feed_name" => "Size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "Material",
|
||||
"feed_name" => "Material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pattern" => array(
|
||||
"name" => "Pattern",
|
||||
"feed_name" => "Pattern",
|
||||
"format" => "optional",
|
||||
),
|
||||
"SizeType" => array(
|
||||
"name" => "SizeType",
|
||||
"feed_name" => "SizeType",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Style" => array(
|
||||
"name" => "Style",
|
||||
"feed_name" => "Style",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Region" => array(
|
||||
"name" => "Region",
|
||||
"feed_name" => "Region",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Varietal" => array(
|
||||
"name" => "Varietal",
|
||||
"feed_name" => "Varietal",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Vintage" => array(
|
||||
"name" => "Vintage",
|
||||
"feed_name" => "Vintage",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Volume" => array(
|
||||
"name" => "Volume",
|
||||
"feed_name" => "Volume",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Winery" => array(
|
||||
"name" => "Winery",
|
||||
"feed_name" => "Winery",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Artist" => array(
|
||||
"name" => "Artist",
|
||||
"feed_name" => "Artist",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Label" => array(
|
||||
"name" => "Label",
|
||||
"feed_name" => "Label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ReleaseDate" => array(
|
||||
"name" => "ReleaseDate",
|
||||
"feed_name" => "ReleaseDate",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Make" => array(
|
||||
"name" => "Make",
|
||||
"feed_name" => "Make",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Model" => array(
|
||||
"name" => "Model",
|
||||
"feed_name" => "Model",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Year" => array(
|
||||
"name" => "Year",
|
||||
"feed_name" => "Year",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Mileage" => array(
|
||||
"name" => "Mileage",
|
||||
"feed_name" => "Mileage",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Transmission" => array(
|
||||
"name" => "Transmission",
|
||||
"feed_name" => "Transmission",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Colour" => array(
|
||||
"name" => "Colour",
|
||||
"feed_name" => "Colour",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $pricecheck;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,275 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Ricardo feeds
|
||||
*/
|
||||
class WooSEA_ricardo {
|
||||
public $ricardo;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$ricardo = array(
|
||||
"Feed fields" => array(
|
||||
"StartPrice" => array(
|
||||
"name" => "StartPrice",
|
||||
"feed_name" => "StartPrice",
|
||||
"format" => "required",
|
||||
),
|
||||
"BuyNowPrice" => array(
|
||||
"name" => "BuyNowPrice",
|
||||
"feed_name" => "BuyNowPrice",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price"
|
||||
),
|
||||
"AvailibilityId" => array(
|
||||
"name" => "AvailabilityId",
|
||||
"feed_name" => "AvailabilityId",
|
||||
"format" => "required",
|
||||
),
|
||||
"Duration" => array(
|
||||
"name" => "Duration",
|
||||
"feed_name" => "Duration",
|
||||
"format" => "required",
|
||||
),
|
||||
"FeaturedHomePage" => array(
|
||||
"name" => "FeaturedHomepage",
|
||||
"feed_name" => "FeaturedHomepage",
|
||||
"format" => "required",
|
||||
),
|
||||
"Shipping" => array(
|
||||
"name" => "Shipping",
|
||||
"feed_name" => "Shipping",
|
||||
"format" => "required",
|
||||
),
|
||||
"Warranty" => array(
|
||||
"name" => "Warranty",
|
||||
"feed_name" => "Warranty",
|
||||
"format" => "required",
|
||||
),
|
||||
"Quantity" => array(
|
||||
"name" => "Quantity",
|
||||
"feed_name" => "Quantity",
|
||||
"format" => "required",
|
||||
),
|
||||
"Increment" => array(
|
||||
"name" => "Increment",
|
||||
"feed_name" => "Increment",
|
||||
"format" => "required",
|
||||
),
|
||||
"CategoryNr" => array(
|
||||
"name" => "CategoryNr",
|
||||
"feed_name" => "CategoryNr",
|
||||
"format" => "required",
|
||||
),
|
||||
"Condition" => array(
|
||||
"name" => "Condition",
|
||||
"feed_name" => "Condition",
|
||||
"format" => "required",
|
||||
),
|
||||
"ShippingCost" => array(
|
||||
"name" => "ShippingCost",
|
||||
"feed_name" => "ShippingCost",
|
||||
"format" => "required",
|
||||
),
|
||||
"ResellCount" => array(
|
||||
"name" => "ResellCount",
|
||||
"feed_name" => "ResellCount",
|
||||
"format" => "required",
|
||||
),
|
||||
"BuyNow" => array(
|
||||
"name" => "BuyNow",
|
||||
"feed_name" => "BuyNow",
|
||||
"format" => "required",
|
||||
),
|
||||
"BuyNowCost" => array(
|
||||
"name" => "BuyNowCost",
|
||||
"feed_name" => "BuyNowCost",
|
||||
"format" => "required",
|
||||
),
|
||||
"TemplateName" => array(
|
||||
"name" => "TemplateName",
|
||||
"feed_name" => "TemplateName",
|
||||
"format" => "required",
|
||||
),
|
||||
"StartDate" => array(
|
||||
"name" => "StartDate",
|
||||
"feed_name" => "StartDate",
|
||||
"format" => "required",
|
||||
),
|
||||
"StartImmediatly" => array(
|
||||
"name" => "StartImmediatly",
|
||||
"feed_name" => "StartImmediatly",
|
||||
"format" => "required",
|
||||
),
|
||||
"EndDate" => array(
|
||||
"name" => "EndDate",
|
||||
"feed_name" => "EndDate",
|
||||
"format" => "required",
|
||||
),
|
||||
"HasFixedEndDate" => array(
|
||||
"name" => "HasFixedEndDate",
|
||||
"feed_name" => "HasFixedEndDate",
|
||||
"format" => "required",
|
||||
),
|
||||
"InternalReference" => array(
|
||||
"name" => "InternalReference",
|
||||
"feed_name" => "InternalReference",
|
||||
"format" => "required",
|
||||
),
|
||||
"TemplateId" => array(
|
||||
"name" => "TemplateId",
|
||||
"feed_name" => "TemplateId",
|
||||
"format" => "required",
|
||||
),
|
||||
"PackageSizeId" => array(
|
||||
"name" => "PackageSizeId",
|
||||
"feed_name" => "PackageSizeId",
|
||||
"format" => "required",
|
||||
),
|
||||
"PromotionId" => array(
|
||||
"name" => "PromotionId",
|
||||
"feed_name" => "PromotionId",
|
||||
"format" => "required",
|
||||
),
|
||||
"IsCarsBikesAccessoriesArticle" => array(
|
||||
"name" => "IsCarsBikesAccessoriesArticle",
|
||||
"feed_name" => "IsCarsBikesAccessoriesArticle",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[0].LanguageNr" => array(
|
||||
"name" => "Descriptions[0].LanguageNr",
|
||||
"feed_name" => "Descriptions[0].LanguageNr",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[0].ProductTitle" => array(
|
||||
"name" => "Descriptions[0].ProductTitle",
|
||||
"feed_name" => "Descriptions[0].ProductTitle",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[0].ProductDescription" => array(
|
||||
"name" => "Descriptions[0].ProductDescription",
|
||||
"feed_name" => "Descriptions[0].ProductDescription",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[0].ProductSubtitle" => array(
|
||||
"name" => "Descriptions[0].ProductSubtitle",
|
||||
"feed_name" => "Descriptions[0].ProductSubtitle",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[0].PaymentDescription" => array(
|
||||
"name" => "Descriptions[0].PaymentDescription",
|
||||
"feed_name" => "Descriptions[0].PaymentDescription",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[0].ShippingDescription" => array(
|
||||
"name" => "Descriptions[0].ShippingDescription",
|
||||
"feed_name" => "Descriptions[0].ShippingDescription",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[0].WarrantyDescription" => array(
|
||||
"name" => "Descriptions[0].WarrantyDescription",
|
||||
"feed_name" => "Descriptions[0].WarrantyDescription",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[1].ProductTitle" => array(
|
||||
"name" => "Descriptions[1].ProductTitle",
|
||||
"feed_name" => "Descriptions[1].ProductTitle",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[1].ProductDescription" => array(
|
||||
"name" => "Descriptions[1].ProductDescription",
|
||||
"feed_name" => "Descriptions[1].ProductDescription",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[1].ProductSubtitle" => array(
|
||||
"name" => "Descriptions[1].ProductSubtitle",
|
||||
"feed_name" => "Descriptions[1].ProductSubtitle",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[1].PaymentDescription" => array(
|
||||
"name" => "Descriptions[1].PaymentDescription",
|
||||
"feed_name" => "Descriptions[1].PaymentDescription",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[1].ShippingDescription" => array(
|
||||
"name" => "Descriptions[1].ShippingDescription",
|
||||
"feed_name" => "Descriptions[1].ShippingDescription",
|
||||
"format" => "required",
|
||||
),
|
||||
"Descriptions[1].WarrantyDescription" => array(
|
||||
"name" => "Descriptions[1].WarrantyDescription",
|
||||
"feed_name" => "Descriptions[1].WarrantyDescription",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[0]" => array(
|
||||
"name" => "DraftImages[0]",
|
||||
"feed_name" => "DraftImages[0]",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[1]" => array(
|
||||
"name" => "DraftImages[1]",
|
||||
"feed_name" => "DraftImages[1]",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[2]" => array(
|
||||
"name" => "DraftImages[2]",
|
||||
"feed_name" => "DraftImages[2]",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[3]" => array(
|
||||
"name" => "DraftImages[3]",
|
||||
"feed_name" => "DraftImages[3]",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[4]" => array(
|
||||
"name" => "DraftImages[4]",
|
||||
"feed_name" => "DraftImages[4]",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[5]" => array(
|
||||
"name" => "DraftImages[5]",
|
||||
"feed_name" => "DraftImages[5]",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[6]" => array(
|
||||
"name" => "DraftImages[6]",
|
||||
"feed_name" => "DraftImages[6]",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[7]" => array(
|
||||
"name" => "DraftImages[7]",
|
||||
"feed_name" => "DraftImages[7]",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[8]" => array(
|
||||
"name" => "DraftImages[8]",
|
||||
"feed_name" => "DraftImages[8]",
|
||||
"format" => "required",
|
||||
),
|
||||
"DraftImages[9]" => array(
|
||||
"name" => "DraftImages[9]",
|
||||
"feed_name" => "DraftImages[9]",
|
||||
"format" => "required",
|
||||
),
|
||||
"IsFixedPrice" => array(
|
||||
"name" => "IsFixedPrice",
|
||||
"feed_name" => "IsFixedPrice",
|
||||
"format" => "required",
|
||||
),
|
||||
"PaymentCode" => array(
|
||||
"name" => "PaymentCode",
|
||||
"feed_name" => "PaymentCode",
|
||||
"format" => "required",
|
||||
),
|
||||
"IsCumulativeShipping" => array(
|
||||
"name" => "IsCumulativeShipping",
|
||||
"feed_name" => "IsCumulativeShipping",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $ricardo;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Salidzini.lv Latvia feeds
|
||||
*/
|
||||
class WooSEA_salidzini {
|
||||
public $salidzini;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$salidzini = array(
|
||||
"Feed fields" => array(
|
||||
"Manufacturer" => array(
|
||||
"name" => "Manufacturer",
|
||||
"feed_name" => "manufacturer",
|
||||
"format" => "required",
|
||||
),
|
||||
"Model" => array(
|
||||
"name" => "Model",
|
||||
"feed_name" => "model",
|
||||
"format" => "required",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "Color",
|
||||
"feed_name" => "color",
|
||||
"format" => "required",
|
||||
),
|
||||
"Name" => array(
|
||||
"name" => "Name",
|
||||
"feed_name" => "name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Link" => array(
|
||||
"name" => "Link",
|
||||
"feed_name" => "link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Image" => array(
|
||||
"name" => "Image",
|
||||
"feed_name" => "image",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Category full" => array(
|
||||
"name" => "Category full",
|
||||
"feed_name" => "category_full",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Category link" => array(
|
||||
"name" => "Category link",
|
||||
"feed_name" => "category_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category_link",
|
||||
),
|
||||
"In Stock" => array(
|
||||
"name" => "In Stock",
|
||||
"feed_name" => "in_stock",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery cost Riga" => array(
|
||||
"name" => "Delivery cost Riga",
|
||||
"feed_name" => "delivery_cost_riga",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery latvija" => array(
|
||||
"name" => "Delivery latvija",
|
||||
"feed_name" => "delivery_latvija",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery latvijas pasts" => array(
|
||||
"name" => "Delivery latvijas pasts",
|
||||
"feed_name" => "delivery_latvijas_pasts",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery dpd paku bode" => array(
|
||||
"name" => "Delivery dpd paku bode",
|
||||
"feed_name" => "delivery_dpd_paku_bode",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery pasta stacija" => array(
|
||||
"name" => "Delivery pasta stacija",
|
||||
"feed_name" => "delivery_pasta_stacija",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery omniva" => array(
|
||||
"name" => "Delivery omniva",
|
||||
"feed_name" => "delivery_omniva",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery circlek" => array(
|
||||
"name" => "Delivery circlek",
|
||||
"feed_name" => "delivery_circlek",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery venipak" => array(
|
||||
"name" => "Delivery venipak",
|
||||
"feed_name" => "delivery_venipak",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery days riga" => array(
|
||||
"name" => "Delivery days riga",
|
||||
"feed_name" => "delivery_days_riga",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery days latvija" => array(
|
||||
"name" => "Delivery days latvija",
|
||||
"feed_name" => "delivery_days_latvija",
|
||||
"format" => "required",
|
||||
),
|
||||
"Used" => array(
|
||||
"name" => "Used",
|
||||
"feed_name" => "used",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $salidzini;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,256 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Shareasale feeds
|
||||
*/
|
||||
class WooSEA_shareasale {
|
||||
public $shareasale;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$shareasale = array(
|
||||
"Feed fields" => array(
|
||||
"SKU" => array(
|
||||
"name" => "SKU",
|
||||
"feed_name" => "SKU",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Name" => array(
|
||||
"name" => "Name",
|
||||
"feed_name" => "Name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"URL" => array(
|
||||
"name" => "URL",
|
||||
"feed_name" => "URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "Price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"RetailPrice" => array(
|
||||
"name" => "RetailPrice",
|
||||
"feed_name" => "RetailPrice",
|
||||
"format" => "required",
|
||||
),
|
||||
"FullImage" => array(
|
||||
"name" => "FullImage",
|
||||
"feed_name" => "FullImage",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"ThumbnailImage" => array(
|
||||
"name" => "ThumbnailImage",
|
||||
"feed_name" => "ThumbnailImage",
|
||||
"format" => "required",
|
||||
),
|
||||
"Commission" => array(
|
||||
"name" => "Commission",
|
||||
"feed_name" => "Commission",
|
||||
"format" => "required",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Subcategory" => array(
|
||||
"name" => "Subcategory",
|
||||
"feed_name" => "Subcategory",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"SearchTerms" => array(
|
||||
"name" => "SearchTerms",
|
||||
"feed_name" => "SearchTerms",
|
||||
"format" => "required",
|
||||
),
|
||||
"Status" => array(
|
||||
"name" => "Status",
|
||||
"feed_name" => "Status",
|
||||
"format" => "required",
|
||||
),
|
||||
"MerchantID" => array(
|
||||
"name" => "MerchantID",
|
||||
"feed_name" => "MerchantID",
|
||||
"format" => "required",
|
||||
),
|
||||
"Custom1" => array(
|
||||
"name" => "Custom1",
|
||||
"feed_name" => "Custom1",
|
||||
"format" => "required",
|
||||
),
|
||||
"Custom2" => array(
|
||||
"name" => "Custom2",
|
||||
"feed_name" => "Custom2",
|
||||
"format" => "required",
|
||||
),
|
||||
"Custom3" => array(
|
||||
"name" => "Custom3",
|
||||
"feed_name" => "Custom3",
|
||||
"format" => "required",
|
||||
),
|
||||
"Custom4" => array(
|
||||
"name" => "Custom4",
|
||||
"feed_name" => "Custom4",
|
||||
"format" => "required",
|
||||
),
|
||||
"Custom5" => array(
|
||||
"name" => "Custom5",
|
||||
"feed_name" => "Custom5",
|
||||
"format" => "required",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "Manufacturer",
|
||||
"feed_name" => "Manufacturer",
|
||||
"format" => "required",
|
||||
),
|
||||
"PartNumber" => array(
|
||||
"name" => "PartNumber",
|
||||
"feed_name" => "PartNumber",
|
||||
"format" => "required",
|
||||
),
|
||||
"MerchantCategory" => array(
|
||||
"name" => "MerchantCategory",
|
||||
"feed_name" => "MerchantCategory",
|
||||
"format" => "required",
|
||||
),
|
||||
"MerchantSubcategory" => array(
|
||||
"name" => "MerchantSubcategory",
|
||||
"feed_name" => "MerchantSubcategory",
|
||||
"format" => "required",
|
||||
),
|
||||
"ShortDescription" => array(
|
||||
"name" => "ShortDescription",
|
||||
"feed_name" => "ShortDescription",
|
||||
"format" => "required",
|
||||
),
|
||||
"ISBN" => array(
|
||||
"name" => "ISBN",
|
||||
"feed_name" => "ISBN",
|
||||
"format" => "required",
|
||||
),
|
||||
"UPC" => array(
|
||||
"name" => "UPC",
|
||||
"feed_name" => "UPC",
|
||||
"format" => "required",
|
||||
),
|
||||
"CrossSell" => array(
|
||||
"name" => "CrossSell",
|
||||
"feed_name" => "CrossSell",
|
||||
"format" => "required",
|
||||
),
|
||||
"MerchantGroup" => array(
|
||||
"name" => "MerchantGroup",
|
||||
"feed_name" => "MerchantGroup",
|
||||
"format" => "required",
|
||||
),
|
||||
"MerchantSubGroup" => array(
|
||||
"name" => "MerchantSubGroup",
|
||||
"feed_name" => "MerchantSubGroup",
|
||||
"format" => "required",
|
||||
),
|
||||
"CompatibleWith" => array(
|
||||
"name" => "CompatibleWith",
|
||||
"feed_name" => "CompatibleWith",
|
||||
"format" => "required",
|
||||
),
|
||||
"CompareTo" => array(
|
||||
"name" => "CompareTo",
|
||||
"feed_name" => "CompareTo",
|
||||
"format" => "required",
|
||||
),
|
||||
"QuantityDiscount" => array(
|
||||
"name" => "QuantityDiscount",
|
||||
"feed_name" => "QuantityDiscount",
|
||||
"format" => "required",
|
||||
),
|
||||
"Bestseller" => array(
|
||||
"name" => "Bestseller",
|
||||
"feed_name" => "Bestseller",
|
||||
"format" => "required",
|
||||
),
|
||||
"AddToCartURL" => array(
|
||||
"name" => "AddToCartURL",
|
||||
"feed_name" => "AddToCartURL",
|
||||
"format" => "required",
|
||||
),
|
||||
"ReviewRSSURL" => array(
|
||||
"name" => "ReviewRSSURL",
|
||||
"feed_name" => "ReviewRSSURL",
|
||||
"format" => "required",
|
||||
),
|
||||
"Option1" => array(
|
||||
"name" => "Option1",
|
||||
"feed_name" => "Option1",
|
||||
"format" => "required",
|
||||
),
|
||||
"Option2" => array(
|
||||
"name" => "Option2",
|
||||
"feed_name" => "Option2",
|
||||
"format" => "required",
|
||||
),
|
||||
"Option3" => array(
|
||||
"name" => "Option3",
|
||||
"feed_name" => "Option3",
|
||||
"format" => "required",
|
||||
),
|
||||
"Option4" => array(
|
||||
"name" => "Option4",
|
||||
"feed_name" => "Option4",
|
||||
"format" => "required",
|
||||
),
|
||||
"Option5" => array(
|
||||
"name" => "Option5",
|
||||
"feed_name" => "Option5",
|
||||
"format" => "required",
|
||||
),
|
||||
"customCommissions" => array(
|
||||
"name" => "customCommissions",
|
||||
"feed_name" => "customCommissions",
|
||||
"format" => "required",
|
||||
),
|
||||
"customCommissionIsFlatRate" => array(
|
||||
"name" => "customCommissionIsFlatRate",
|
||||
"feed_name" => "customCommissionIsFlatRate",
|
||||
"format" => "required",
|
||||
),
|
||||
"customCommissionNewCustomerMultiplier" => array(
|
||||
"name" => "customCommissionNewCustomerMultiplier",
|
||||
"feed_name" => "customCommissionNewCustomerMultiplier",
|
||||
"format" => "required",
|
||||
),
|
||||
"mobileURL" => array(
|
||||
"name" => "mobileURL",
|
||||
"feed_name" => "mobileURL",
|
||||
"format" => "required",
|
||||
),
|
||||
"mobileImage" => array(
|
||||
"name" => "mobileImage",
|
||||
"feed_name" => "mobileImage",
|
||||
"format" => "required",
|
||||
),
|
||||
"mobileThumbnail" => array(
|
||||
"name" => "mobileThumbnail",
|
||||
"feed_name" => "mobileThumbnail",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $shareasale;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Shopmania Romania feeds
|
||||
*/
|
||||
class WooSEA_shopmania_ro {
|
||||
public $shopmania_ro;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$shopmania_ro = array(
|
||||
"Feed fields" => array(
|
||||
"MPC" => array(
|
||||
"name" => "MPC",
|
||||
"feed_name" => "MPC",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "Manufacturer",
|
||||
"feed_name" => "Manufacturer",
|
||||
"format" => "required",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "MPN",
|
||||
"feed_name" => "MPN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Name" => array(
|
||||
"name" => "Name",
|
||||
"feed_name" => "Name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"URL" => array(
|
||||
"name" => "URL",
|
||||
"feed_name" => "URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Image" => array(
|
||||
"name" => "Image",
|
||||
"feed_name" => "Image",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "Price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Currency" => array(
|
||||
"name" => "Currency",
|
||||
"feed_name" => "Currency",
|
||||
"format" => "required",
|
||||
),
|
||||
"Shipping" => array(
|
||||
"name" => "Shipping",
|
||||
"feed_name" => "Shipping",
|
||||
"format" => "required",
|
||||
),
|
||||
"Availability" => array(
|
||||
"name" => "Availability",
|
||||
"feed_name" => "Availability",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"GTIN" => array(
|
||||
"name" => "GTIN",
|
||||
"feed_name" => "GTIN",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $shopmania_ro;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Skroutz feeds
|
||||
*/
|
||||
class WooSEA_skroutz {
|
||||
public $skroutz;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$skroutz = array(
|
||||
"Feed fields" => array(
|
||||
"ID" => array(
|
||||
"name" => "id",
|
||||
"feed_name" => "id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Name" => array(
|
||||
"name" => "name",
|
||||
"feed_name" => "name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Link" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Image" => array(
|
||||
"name" => "image",
|
||||
"feed_name" => "image",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional Image" => array(
|
||||
"name" => "additional_imageurl",
|
||||
"feed_name" => "additional_imageurl",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Category Name" => array(
|
||||
"name" => "category name",
|
||||
"feed_name" => "category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category_path_skroutz",
|
||||
),
|
||||
"Category Path" => array(
|
||||
"name" => "category path",
|
||||
"feed_name" => "category_path",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category_path_short",
|
||||
),
|
||||
"Price with VAT" => array(
|
||||
"name" => "price with vat",
|
||||
"feed_name" => "price_with_vat",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "manufacturer",
|
||||
"feed_name" => "manufacturer",
|
||||
"format" => "required",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "mpn/ isbn",
|
||||
"feed_name" => "mpn",
|
||||
"format" => "required",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "ean",
|
||||
"feed_name" => "ean",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Quantity" => array(
|
||||
"name" => "quantity",
|
||||
"feed_name" => "quantity",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "quantity",
|
||||
),
|
||||
"instock" => array(
|
||||
"name" => "instock",
|
||||
"feed_name" => "instock",
|
||||
"format" => "optional",
|
||||
),
|
||||
"shipping costs" => array(
|
||||
"name" => "shipping costs",
|
||||
"feed_name" => "shipping_costs",
|
||||
"format" => "optional",
|
||||
),
|
||||
"availability" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "required",
|
||||
),
|
||||
"weight" => array(
|
||||
"name" => "weight",
|
||||
"feed_name" => "weight",
|
||||
"format" => "required",
|
||||
),
|
||||
"color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $skroutz;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,223 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Snapchat Product Catalog feeds
|
||||
*/
|
||||
class WooSEA_snapchat {
|
||||
public $snapchat;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$snapchat = array(
|
||||
"Basic product data" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "id",
|
||||
"feed_name" => "id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Product description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Product URL" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Main image URL" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image URL" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"App product metadata" => array(
|
||||
"Icon media URL" => array(
|
||||
"name" => "icon_media_url",
|
||||
"feed_name" => "icon_media_url",
|
||||
"format" => "optional",
|
||||
),
|
||||
"IOS app name" => array(
|
||||
"name" => "ios_app_name",
|
||||
"feed_name" => "ios_app_name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"IOS app store ID" => array(
|
||||
"name" => "ios_app_store_id",
|
||||
"feed_name" => "ios_app_store_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"IOS URL" => array(
|
||||
"name" => "ios_url",
|
||||
"feed_name" => "ios_url",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Android app name" => array(
|
||||
"name" => "android_app_name",
|
||||
"feed_name" => "android_app_name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Android package" => array(
|
||||
"name" => "android_package",
|
||||
"feed_name" => "android_package",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Android URL" => array(
|
||||
"name" => "android_url",
|
||||
"feed_name" => "android_url",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Mobile URL" => array(
|
||||
"name" => "mobile_link",
|
||||
"feed_name" => "mobile_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Price & availability" => array(
|
||||
"Stock status" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "availability",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Sale price" => array(
|
||||
"name" => "sale_price",
|
||||
"feed_name" => "sale_price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price",
|
||||
),
|
||||
"Sale price effective date" => array(
|
||||
"name" => "sale_price_effective_date",
|
||||
"feed_name" => "sale_price_effective_date",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price_effective_date",
|
||||
),
|
||||
"Address" => array(
|
||||
"name" => "address",
|
||||
"feed_name" => "address",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Product category" => array(
|
||||
"Google product category" => array(
|
||||
"name" => "google_product_category",
|
||||
"feed_name" => "google_product_category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Product type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "product_type",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "product_type",
|
||||
),
|
||||
),
|
||||
"Product identifiers" => array(
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gtin" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "mpn",
|
||||
"feed_name" => "mpn",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
"Detailed product description" => array(
|
||||
"Condition" => array(
|
||||
"name" => "condition",
|
||||
"feed_name" => "condition",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"Adult" => array(
|
||||
"name" => "adult",
|
||||
"feed_name" => "adult",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Age group" => array(
|
||||
"name" => "age_group",
|
||||
"feed_name" => "age_group",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
),
|
||||
"Custom labels" => array(
|
||||
"Custom label 0" => array(
|
||||
"name" => "custom_label_0",
|
||||
"feed_name" => "custom_label_0",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 1" => array(
|
||||
"name" => "custom_label_1",
|
||||
"feed_name" => "custom_label_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 2" => array(
|
||||
"name" => "custom_label_2",
|
||||
"feed_name" => "custom_label_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 3" => array(
|
||||
"name" => "custom_label_3",
|
||||
"feed_name" => "custom_label_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 4" => array(
|
||||
"name" => "custom_label_4",
|
||||
"feed_name" => "custom_label_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $snapchat;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Spartoo France feeds
|
||||
*/
|
||||
class WooSEA_spartoo_fr {
|
||||
public $spartoo_fr;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$spartoo_fr = array(
|
||||
"Feed fields" => array(
|
||||
"Reference partenaire" => array(
|
||||
"name" => "reference_partenaire",
|
||||
"feed_name" => "reference_partenaire",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product name" => array(
|
||||
"name" => "product_name",
|
||||
"feed_name" => "product_name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Manufacturers name" => array(
|
||||
"name" => "manufacturers_name",
|
||||
"feed_name" => "manufacturers_name",
|
||||
"format" => "required",
|
||||
),
|
||||
"Product description" => array(
|
||||
"name" => "product_description",
|
||||
"feed_name" => "product_description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Product price" => array(
|
||||
"name" => "product_price",
|
||||
"feed_name" => "product_price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Product sex" => array(
|
||||
"name" => "product_sex",
|
||||
"feed_name" => "product_sex",
|
||||
"format" => "required",
|
||||
),
|
||||
"Product quantity" => array(
|
||||
"name" => "product_quantity",
|
||||
"feed_name" => "product_quantity",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "quantity",
|
||||
),
|
||||
"Product style" => array(
|
||||
"name" => "product_style",
|
||||
"feed_name" => "product_style",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $spartoo_fr;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,583 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for TikTok product feeds
|
||||
*/
|
||||
class WooSEA_tiktok {
|
||||
public $tiktok_attributes;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$tiktok_attributes = array(
|
||||
"Basic product data" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "sku_id",
|
||||
"feed_name" => "g:sku_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product title" => array(
|
||||
"name" => "title",
|
||||
"feed_name" => "g:title",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Product description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "g:description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Product URL" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "g:link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Main image URL" => array(
|
||||
"name" => "image_link",
|
||||
"feed_name" => "g:image_link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Additional image URL" => array(
|
||||
"name" => "additional_image_link",
|
||||
"feed_name" => "g:additional_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Canonical product URL" => array(
|
||||
"name" => "canonical_link",
|
||||
"feed_name" => "g:canonical_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product URL mobile" => array(
|
||||
"name" => "mobile_link",
|
||||
"feed_name" => "g:mobile_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Price & availability" => array(
|
||||
"Stock status" => array(
|
||||
"name" => "availability",
|
||||
"feed_name" => "g:availability",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"Availability date" => array(
|
||||
"name" => "availability_date",
|
||||
"feed_name" => "g:availability_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Expiration date" => array(
|
||||
"name" => "expiration_date",
|
||||
"feed_name" => "g:expiration_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "g:price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "vivino_price",
|
||||
),
|
||||
"Sale price" => array(
|
||||
"name" => "sale_price",
|
||||
"feed_name" => "g:sale_price",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price",
|
||||
),
|
||||
"Sale price effective date" => array(
|
||||
"name" => "sale_price_effective_date",
|
||||
"feed_name" => "g:sale_price_effective_date",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "sale_price_effective_date",
|
||||
),
|
||||
"Unit pricing measure" => array(
|
||||
"name" => "unit_pricing_measure",
|
||||
"feed_name" => "g:unit_pricing_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Unit pricing base measure" => array(
|
||||
"name" => "unit_pricing_base_measure",
|
||||
"feed_name" => "g:unit_pricing_base_measure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Cost of goods sold" => array(
|
||||
"name" => "cost_of_goods_sold",
|
||||
"feed_name" => "g:cost_of_goods_sold",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Installment" => array(
|
||||
"name" => "installment",
|
||||
"feed_name" => "g:installment",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Subscription cost" => array(
|
||||
"name" => "subscription_cost",
|
||||
"feed_name" => "g:subscription_cost",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Loyalty points" => array(
|
||||
"name" => "loyalty_points",
|
||||
"feed_name" => "g:loyalty_points",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Product category" => array(
|
||||
"Google product category" => array(
|
||||
"name" => "google_product_category",
|
||||
"feed_name" => "g:google_product_category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Product type" => array(
|
||||
"name" => "product_type",
|
||||
"feed_name" => "g:product_type",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "raw_categories",
|
||||
),
|
||||
),
|
||||
"Product identifiers" => array(
|
||||
"Brand" => array(
|
||||
"name" => "brand",
|
||||
"feed_name" => "g:brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Gtin" => array(
|
||||
"name" => "gtin",
|
||||
"feed_name" => "g:gtin",
|
||||
"format" => "required",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "mpn",
|
||||
"feed_name" => "g:mpn",
|
||||
"format" => "required",
|
||||
),
|
||||
"Identifier exists" => array(
|
||||
"name" => "identifier_exists",
|
||||
"feed_name" => "g:identifier_exists",
|
||||
"woo_suggest" => "calculated",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
"Detailed product description" => array(
|
||||
"Condition" => array(
|
||||
"name" => "condition",
|
||||
"feed_name" => "g:condition",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "condition",
|
||||
),
|
||||
"Adult" => array(
|
||||
"name" => "adult",
|
||||
"feed_name" => "g:adult",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Multipack" => array(
|
||||
"name" => "multipack",
|
||||
"feed_name" => "g:multipack",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Is bundle" => array(
|
||||
"name" => "is_bundle",
|
||||
"feed_name" => "g:is_bundle",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Energy efficiency class" => array(
|
||||
"name" => "energy_efficiency_class",
|
||||
"feed_name" => "g:energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Minimum energy efficiency class" => array(
|
||||
"name" => "min_energy_efficiency_class",
|
||||
"feed_name" => "g:min_energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Maximum energy efficiency class" => array(
|
||||
"name" => "max_energy_efficiency_class",
|
||||
"feed_name" => "g:max_energy_efficiency_class",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Age group" => array(
|
||||
"name" => "age_group",
|
||||
"feed_name" => "g:age_group",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "g:color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "gender",
|
||||
"feed_name" => "g:gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "material",
|
||||
"feed_name" => "g:material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pattern" => array(
|
||||
"name" => "pattern",
|
||||
"feed_name" => "g:pattern",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "size",
|
||||
"feed_name" => "g:size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size type" => array(
|
||||
"name" => "size_type",
|
||||
"feed_name" => "g:size_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size system" => array(
|
||||
"name" => "size_system",
|
||||
"feed_name" => "g:size_system",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "g:item_group_id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
),
|
||||
"Shopping campaigns" => array(
|
||||
"Ads redirect (new)" => array(
|
||||
"name" => "ads_redirect",
|
||||
"feed_name" => "g:ads_redirect",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Excluded destination" => array(
|
||||
"name" => "excluded_destination",
|
||||
"feed_name" => "g:excluded_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 0" => array(
|
||||
"name" => "custom_label_0",
|
||||
"feed_name" => "g:custom_label_0",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 1" => array(
|
||||
"name" => "custom_label_1",
|
||||
"feed_name" => "g:custom_label_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 2" => array(
|
||||
"name" => "custom_label_2",
|
||||
"feed_name" => "g:custom_label_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 3" => array(
|
||||
"name" => "custom_label_3",
|
||||
"feed_name" => "g:custom_label_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom label 4" => array(
|
||||
"name" => "custom_label_4",
|
||||
"feed_name" => "g:custom_label_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Promotion ID" => array(
|
||||
"name" => "promotion_id",
|
||||
"feed_name" => "g:promotion_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Included destination" => array(
|
||||
"name" => "included_destination",
|
||||
"feed_name" => "included_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Excluded destination" => array(
|
||||
"name" => "excluded_destination",
|
||||
"feed_name" => "g:excluded_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ads grouping" => array(
|
||||
"name" => "ads_grouping",
|
||||
"feed_name" => "g:ads_grouping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ads labels" => array(
|
||||
"name" => "ads_labels",
|
||||
"feed_name" => "g:ads_labels",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Adwords grouping (BING)" => array(
|
||||
"name" => "adwords_grouping",
|
||||
"feed_name" => "g:adwords_grouping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Adwords labels (BING)" => array(
|
||||
"name" => "adwords_labels",
|
||||
"feed_name" => "g:adwords_labels",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Adwords redirect (BING)" => array(
|
||||
"name" => "adwords_redirect",
|
||||
"feed_name" => "g:adwords_redirect",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Shipping" => array(
|
||||
"Shipping" => array(
|
||||
"name" => "shipping",
|
||||
"feed_name" => "g:shipping",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping label" => array(
|
||||
"name" => "shipping_label",
|
||||
"feed_name" => "g:shipping_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping weight" => array(
|
||||
"name" => "shipping_weight",
|
||||
"feed_name" => "g:shipping_weight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping length" => array(
|
||||
"name" => "shipping_length",
|
||||
"feed_name" => "g:shipping_length",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping width" => array(
|
||||
"name" => "shipping_width",
|
||||
"feed_name" => "g:shipping_width",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping height" => array(
|
||||
"name" => "shipping_height",
|
||||
"feed_name" => "g:shipping_height",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Transit time label" => array(
|
||||
"name" => "transit_time_label",
|
||||
"feed_name" => "g:transit_time_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Minimum handling time" => array(
|
||||
"name" => "min_handling_time",
|
||||
"feed_name" => "g:min_handling_time",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Maximum handling time" => array(
|
||||
"name" => "max_handling_time",
|
||||
"feed_name" => "g:max_handling_time",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ships from country" => array(
|
||||
"name" => "ships_from_country",
|
||||
"feed_name" => "g:ships_from_country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Region Id" => array(
|
||||
"name" => "region_id",
|
||||
"feed_name" => "g:region_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Tax" => array(
|
||||
"Tax" => array(
|
||||
"name" => "tax",
|
||||
"feed_name" => "g:tax",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Tax category" => array(
|
||||
"name" => "tax_category",
|
||||
"feed_name" => "g:tax_category",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Shopping Actions" => array(
|
||||
"Product fee" => array(
|
||||
"name" => "product_fee",
|
||||
"feed_name" => "g:product_fee",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Purchase quantity limit" => array(
|
||||
"name" => "purchase_quantity_limit",
|
||||
"feed_name" => "g:purchase_quantity_limit",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Sell on google quantity" => array(
|
||||
"name" => "sell_on_google_quantity",
|
||||
"feed_name" => "g:sell_on_google_quantity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Consumer datasheet" => array(
|
||||
"name" => "consumer_datasheet",
|
||||
"feed_name" => "g:consumer_datasheet",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Consumer notice" => array(
|
||||
"name" => "consumer_notice",
|
||||
"feed_name" => "g:consumer_notice",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Energy label image link" => array(
|
||||
"name" => "energy_label_image_link",
|
||||
"feed_name" => "g:energy_label_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail" => array(
|
||||
"name" => "product_detail",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product highlight" => array(
|
||||
"name" => "product_highlight",
|
||||
"feed_name" => "g:product_highlight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Return address label" => array(
|
||||
"name" => "return_address_label",
|
||||
"feed_name" => "g:return_address_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Return policy label" => array(
|
||||
"name" => "return_policy_label",
|
||||
"feed_name" => "g:return_policy_label",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Google funded promotion eligibility" => array(
|
||||
"name" => "google_funded_promotion_eligibility",
|
||||
"feed_name" => "g:google_funded_promotion_eligibility",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup method" => array(
|
||||
"name" => "pickup_method",
|
||||
"feed_name" => "g:pickup_method",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup SLA" => array(
|
||||
"name" => "pickup_SLA",
|
||||
"feed_name" => "g:pickup_SLA",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pickup link template" => array(
|
||||
"name" => "pickup_link_template",
|
||||
"feed_name" => "g:pickup_link_template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Store code" => array(
|
||||
"name" => "store_code",
|
||||
"feed_name" => "g:store_code",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Mobile pickup link template" => array(
|
||||
"name" => "mobile_pickup_link_template",
|
||||
"feed_name" => "g:mobile_pickup_link_template",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Seller name" => array(
|
||||
"name" => "seller_name",
|
||||
"feed_name" => "g:seller_name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Count" => array(
|
||||
"name" => "count",
|
||||
"feed_name" => "g:count",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Disclosure date" => array(
|
||||
"name" => "disclosure_date",
|
||||
"feed_name" => "g:disclosure_date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Feature description" => array(
|
||||
"name" => "feature_description",
|
||||
"feed_name" => "g:feature_description",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Flavor" => array(
|
||||
"name" => "flavor",
|
||||
"feed_name" => "g:flavor",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Scent" => array(
|
||||
"name" => "scent",
|
||||
"feed_name" => "g:scent",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Format" => array(
|
||||
"name" => "format",
|
||||
"feed_name" => "g:format",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product line" => array(
|
||||
"name" => "product_line",
|
||||
"feed_name" => "g:product_line",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product name" => array(
|
||||
"name" => "product_name",
|
||||
"feed_name" => "g:product_name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product page url" => array(
|
||||
"name" => "product_page_url",
|
||||
"feed_name" => "g:product_page_url",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size system" => array(
|
||||
"name" => "size_system",
|
||||
"feed_name" => "g:size_system",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size type" => array(
|
||||
"name" => "size_type",
|
||||
"feed_name" => "g:size_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Capacity" => array(
|
||||
"name" => "capacity",
|
||||
"feed_name" => "g:capacity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Suggested retail price" => array(
|
||||
"name" => "suggested_retail_price",
|
||||
"feed_name" => "g:suggested_retail_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Theme" => array(
|
||||
"name" => "theme",
|
||||
"feed_name" => "g:theme",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Video link" => array(
|
||||
"name" => "video_link",
|
||||
"feed_name" => "g:video_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads ID" => array(
|
||||
"name" => "display_ads_id",
|
||||
"feed_name" => "g:display_ads_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads Similar ID" => array(
|
||||
"name" => "display_ads_similar_id",
|
||||
"feed_name" => "g:display_ads_similar_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads Title" => array(
|
||||
"name" => "display_ads_title",
|
||||
"feed_name" => "g:display_ads_title",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads Link" => array(
|
||||
"name" => "display_ads_link",
|
||||
"feed_name" => "g:display_ads_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Display ads Value" => array(
|
||||
"name" => "display_ads_value",
|
||||
"feed_name" => "g:display_ads_value",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $tiktok_attributes;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,141 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Trovaprezzi feeds
|
||||
*/
|
||||
class WooSEA_trovaprezzi {
|
||||
public $trovaprezzi;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$trovaprezzi = array(
|
||||
"Feed fields" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "Code",
|
||||
"feed_name" => "Code",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Product SKU" => array(
|
||||
"name" => "SKU",
|
||||
"feed_name" => "SKU",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product name" => array(
|
||||
"name" => "Name",
|
||||
"feed_name" => "Name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "Brand",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product URL" => array(
|
||||
"name" => "Link",
|
||||
"feed_name" => "Link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Product price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "Price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Original price" => array(
|
||||
"name" => "OriginalPrice",
|
||||
"feed_name" => "OriginalPrice",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Product category" => array(
|
||||
"name" => "Categories",
|
||||
"feed_name" => "Categories",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Product description" => array(
|
||||
"name" => "Product description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Product image 1" => array(
|
||||
"name" => "Image1",
|
||||
"feed_name" => "Image",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image"
|
||||
),
|
||||
"Product image 2" => array(
|
||||
"name" => "Image2",
|
||||
"feed_name" => "Image2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product image 3" => array(
|
||||
"name" => "Image3",
|
||||
"feed_name" => "Image3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product image 4" => array(
|
||||
"name" => "Image4",
|
||||
"feed_name" => "Image4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product image 5" => array(
|
||||
"name" => "Image5",
|
||||
"feed_name" => "Image5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Stock" => array(
|
||||
"name" => "Stock",
|
||||
"feed_name" => "Stock",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "EanCode",
|
||||
"feed_name" => "EanCode",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MPN" => array(
|
||||
"name" => "MpnCode",
|
||||
"feed_name" => "MpnCode",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PartNumber" => array(
|
||||
"name" => "PartNumber",
|
||||
"feed_name" => "PartNumber",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Descrizione" => array(
|
||||
"name" => "Descrizione",
|
||||
"feed_name" => "Taglia",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Taglia" => array(
|
||||
"name" => "Taglia",
|
||||
"feed_name" => "Taglia",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Colore" => array(
|
||||
"name" => "Colore",
|
||||
"feed_name" => "Colore",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Materiale" => array(
|
||||
"name" => "Materiale",
|
||||
"feed_name" => "Materiale",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipping Cost" => array(
|
||||
"name" => "ShippingCost",
|
||||
"feed_name" => "ShippingCost",
|
||||
"format" => "required",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $trovaprezzi;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,154 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Vergelijk.be feeds
|
||||
*/
|
||||
class WooSEA_vergelijkbe {
|
||||
public $vergelijkbe;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$vergelijkbe = array(
|
||||
"Feed fields" => array(
|
||||
"shopReference" => array(
|
||||
"name" => "Shop reference",
|
||||
"feed_name" => "shopReference",
|
||||
"format" => "required",
|
||||
),
|
||||
"shopOfferId" => array(
|
||||
"name" => "Shop offer id",
|
||||
"feed_name" => "shopOfferId",
|
||||
"format" => "optional",
|
||||
),
|
||||
"shopCategory" => array(
|
||||
"name" => "Shop category",
|
||||
"feed_name" => "shopCategory",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "description",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Name" => array(
|
||||
"name" => "Product name",
|
||||
"feed_name" => "name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "name",
|
||||
),
|
||||
"IdentifierType" => array(
|
||||
"name" => "Identifier type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"IdentifierValue" => array(
|
||||
"name" => "Identifier value",
|
||||
"feed_name" => "value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"FeatureName" => array(
|
||||
"name" => "Feature name",
|
||||
"feed_name" => "name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"FeatureValue" => array(
|
||||
"name" => "Feature value",
|
||||
"feed_name" => "value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"basePrice" => array(
|
||||
"name" => "Selling price",
|
||||
"feed_name" => "basePrice",
|
||||
"format" => "required",
|
||||
),
|
||||
"promotionText" => array(
|
||||
"name" => "Promotional text",
|
||||
"feed_name" => "promotionText",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Delivery price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Deeplink" => array(
|
||||
"name" => "Deeplink",
|
||||
"feed_name" => "deepLink",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"mediaType" => array(
|
||||
"name" => "Media type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"mediaURL" => array(
|
||||
"name" => "Media url",
|
||||
"feed_name" => "url",
|
||||
"format" => "optional",
|
||||
),
|
||||
"stockStatus" => array(
|
||||
"name" => "Stock status",
|
||||
"feed_name" => "inStock",
|
||||
"format" => "optional",
|
||||
),
|
||||
"nrInStock" => array(
|
||||
"name" => "Nr. products on stock",
|
||||
"feed_name" => "nrInStock",
|
||||
"format" => "optional",
|
||||
),
|
||||
"countryCode" => array(
|
||||
"name" => "Shipping country code",
|
||||
"feed_name" => "countryCode",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryTime" => array(
|
||||
"name" => "Delivery time",
|
||||
"feed_name" => "deliveryTime",
|
||||
"format" => "required",
|
||||
),
|
||||
"shippingDescription" => array(
|
||||
"name" => "Shipping description",
|
||||
"feed_name" => "method",
|
||||
"format" => "optional",
|
||||
),
|
||||
"method" => array(
|
||||
"name" => "Shipping method",
|
||||
"feed_name" => "method",
|
||||
"format" => "required",
|
||||
),
|
||||
"ServicecountryCode" => array(
|
||||
"name" => "Service country code",
|
||||
"feed_name" => "countryCode",
|
||||
"format" => "required",
|
||||
),
|
||||
"ServiceName" => array(
|
||||
"name" => "Service name",
|
||||
"feed_name" => "name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ServicePrice" => array(
|
||||
"name" => "Service price",
|
||||
"feed_name" => "price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ServiceType" => array(
|
||||
"name" => "Service type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $vergelijkbe;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,154 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Vergelijk.nl feeds
|
||||
*/
|
||||
class WooSEA_vergelijknl {
|
||||
public $vergelijknl;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$vergelijknl = array(
|
||||
"Feed fields" => array(
|
||||
"shopReference" => array(
|
||||
"name" => "Shop reference",
|
||||
"feed_name" => "shopReference",
|
||||
"format" => "required",
|
||||
),
|
||||
"shopOfferId" => array(
|
||||
"name" => "Shop offer id",
|
||||
"feed_name" => "shopOfferId",
|
||||
"format" => "optional",
|
||||
),
|
||||
"shopCategory" => array(
|
||||
"name" => "Shop category",
|
||||
"feed_name" => "shopCategory",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "description",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Name" => array(
|
||||
"name" => "Product name",
|
||||
"feed_name" => "name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "name",
|
||||
),
|
||||
"IdentifierType" => array(
|
||||
"name" => "Identifier type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"IdentifierValue" => array(
|
||||
"name" => "Identifier value",
|
||||
"feed_name" => "value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"FeatureName" => array(
|
||||
"name" => "Feature name",
|
||||
"feed_name" => "name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"FeatureValue" => array(
|
||||
"name" => "Feature value",
|
||||
"feed_name" => "value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"basePrice" => array(
|
||||
"name" => "Selling price",
|
||||
"feed_name" => "basePrice",
|
||||
"format" => "required",
|
||||
),
|
||||
"promotionText" => array(
|
||||
"name" => "Promotional text",
|
||||
"feed_name" => "promotionText",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Delivery price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Deeplink" => array(
|
||||
"name" => "Deeplink",
|
||||
"feed_name" => "deepLink",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"mediaType" => array(
|
||||
"name" => "Media type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"mediaURL" => array(
|
||||
"name" => "Media url",
|
||||
"feed_name" => "url",
|
||||
"format" => "optional",
|
||||
),
|
||||
"stockStatus" => array(
|
||||
"name" => "Stock status",
|
||||
"feed_name" => "inStock",
|
||||
"format" => "optional",
|
||||
),
|
||||
"nrInStock" => array(
|
||||
"name" => "Nr. products on stock",
|
||||
"feed_name" => "nrInStock",
|
||||
"format" => "optional",
|
||||
),
|
||||
"countryCode" => array(
|
||||
"name" => "Shipping country code",
|
||||
"feed_name" => "countryCode",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryTime" => array(
|
||||
"name" => "Delivery time",
|
||||
"feed_name" => "deliveryTime",
|
||||
"format" => "required",
|
||||
),
|
||||
"shippingDescription" => array(
|
||||
"name" => "Shipping description",
|
||||
"feed_name" => "method",
|
||||
"format" => "optional",
|
||||
),
|
||||
"method" => array(
|
||||
"name" => "Shipping method",
|
||||
"feed_name" => "method",
|
||||
"format" => "required",
|
||||
),
|
||||
"ServicecountryCode" => array(
|
||||
"name" => "Service country code",
|
||||
"feed_name" => "countryCode",
|
||||
"format" => "required",
|
||||
),
|
||||
"ServiceName" => array(
|
||||
"name" => "Service name",
|
||||
"feed_name" => "name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ServicePrice" => array(
|
||||
"name" => "Service price",
|
||||
"feed_name" => "price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ServiceType" => array(
|
||||
"name" => "Service type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $vergelijknl;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,154 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Vertaa.fi feeds
|
||||
*/
|
||||
class WooSEA_vertaafi {
|
||||
public $vertaafi;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$vertaafi = array(
|
||||
"Feed fields" => array(
|
||||
"shopReference" => array(
|
||||
"name" => "Shop reference",
|
||||
"feed_name" => "shopReference",
|
||||
"format" => "required",
|
||||
),
|
||||
"shopOfferId" => array(
|
||||
"name" => "Shop offer id",
|
||||
"feed_name" => "shopOfferId",
|
||||
"format" => "optional",
|
||||
),
|
||||
"shopCategory" => array(
|
||||
"name" => "Shop category",
|
||||
"feed_name" => "shopCategory",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "description",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Name" => array(
|
||||
"name" => "Product name",
|
||||
"feed_name" => "name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "name",
|
||||
),
|
||||
"IdentifierType" => array(
|
||||
"name" => "Identifier type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"IdentifierValue" => array(
|
||||
"name" => "Identifier value",
|
||||
"feed_name" => "value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"FeatureName" => array(
|
||||
"name" => "Feature name",
|
||||
"feed_name" => "name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"FeatureValue" => array(
|
||||
"name" => "Feature value",
|
||||
"feed_name" => "value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"basePrice" => array(
|
||||
"name" => "Selling price",
|
||||
"feed_name" => "basePrice",
|
||||
"format" => "required",
|
||||
),
|
||||
"promotionText" => array(
|
||||
"name" => "Promotional text",
|
||||
"feed_name" => "promotionText",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Delivery price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Deeplink" => array(
|
||||
"name" => "Deeplink",
|
||||
"feed_name" => "deepLink",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"mediaType" => array(
|
||||
"name" => "Media type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"mediaURL" => array(
|
||||
"name" => "Media url",
|
||||
"feed_name" => "url",
|
||||
"format" => "optional",
|
||||
),
|
||||
"stockStatus" => array(
|
||||
"name" => "Stock status",
|
||||
"feed_name" => "inStock",
|
||||
"format" => "optional",
|
||||
),
|
||||
"nrInStock" => array(
|
||||
"name" => "Nr. products on stock",
|
||||
"feed_name" => "nrInStock",
|
||||
"format" => "optional",
|
||||
),
|
||||
"countryCode" => array(
|
||||
"name" => "Shipping country code",
|
||||
"feed_name" => "countryCode",
|
||||
"format" => "optional",
|
||||
),
|
||||
"deliveryTime" => array(
|
||||
"name" => "Delivery time",
|
||||
"feed_name" => "deliveryTime",
|
||||
"format" => "required",
|
||||
),
|
||||
"shippingDescription" => array(
|
||||
"name" => "Shipping description",
|
||||
"feed_name" => "method",
|
||||
"format" => "optional",
|
||||
),
|
||||
"method" => array(
|
||||
"name" => "Shipping method",
|
||||
"feed_name" => "method",
|
||||
"format" => "required",
|
||||
),
|
||||
"ServicecountryCode" => array(
|
||||
"name" => "Service country code",
|
||||
"feed_name" => "countryCode",
|
||||
"format" => "required",
|
||||
),
|
||||
"ServiceName" => array(
|
||||
"name" => "Service name",
|
||||
"feed_name" => "name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ServicePrice" => array(
|
||||
"name" => "Service price",
|
||||
"feed_name" => "price",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ServiceType" => array(
|
||||
"name" => "Service type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $vertaafi;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,190 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Vivino feeds
|
||||
*/
|
||||
class WooSEA_vivino {
|
||||
public $vivino;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$vivino = array(
|
||||
"Feed fields" => array(
|
||||
"Product ID" => array(
|
||||
"name" => "product-id",
|
||||
"feed_name" => "product-id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id"
|
||||
),
|
||||
"Product Name" => array(
|
||||
"name" => "product-name",
|
||||
"feed_name" => "product-name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "vivino_price",
|
||||
),
|
||||
"Bottle Size" => array(
|
||||
"name" => "bottle_size",
|
||||
"feed_name" => "bottle_size",
|
||||
"format" => "required",
|
||||
),
|
||||
"Bottle Quantity" => array(
|
||||
"name" => "bottle_quantity",
|
||||
"feed_name" => "bottle_quantity",
|
||||
"format" => "required",
|
||||
),
|
||||
"Inventory Count" => array(
|
||||
"name" => "inventory-count",
|
||||
"feed_name" => "inventory-count",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "quantity",
|
||||
),
|
||||
"Quantity is minimum" => array(
|
||||
"name" => "quantity-is-minimum",
|
||||
"feed_name" => "quantity-is-minimum",
|
||||
"format" => "required",
|
||||
),
|
||||
"Link" => array(
|
||||
"name" => "link",
|
||||
"feed_name" => "link",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Image" => array(
|
||||
"name" => "image",
|
||||
"feed_name" => "image",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Producer" => array(
|
||||
"name" => "producer",
|
||||
"feed_name" => "producer",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Wine Name" => array(
|
||||
"name" => "wine-name",
|
||||
"feed_name" => "wine-name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Appellation" => array(
|
||||
"name" => "appellation",
|
||||
"feed_name" => "appellation",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Vintage" => array(
|
||||
"name" => "vintage",
|
||||
"feed_name" => "vintage",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Country" => array(
|
||||
"name" => "country",
|
||||
"feed_name" => "country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "color",
|
||||
"feed_name" => "color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "ean",
|
||||
"feed_name" => "ean",
|
||||
"format" => "optional",
|
||||
),
|
||||
"UPC" => array(
|
||||
"name" => "upc",
|
||||
"feed_name" => "upc",
|
||||
"format" => "optional",
|
||||
),
|
||||
"JAN" => array(
|
||||
"name" => "jan",
|
||||
"feed_name" => "jan",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Alcohol" => array(
|
||||
"name" => "alcohol",
|
||||
"feed_name" => "alcohol",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Producer Address" => array(
|
||||
"name" => "producer-address",
|
||||
"feed_name" => "producer-address",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Importer Address" => array(
|
||||
"name" => "importer-address",
|
||||
"feed_name" => "importer-address",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Varietal" => array(
|
||||
"name" => "varietal",
|
||||
"feed_name" => "varietal",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ageing" => array(
|
||||
"name" => "ageing",
|
||||
"feed_name" => "ageing",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Closure" => array(
|
||||
"name" => "closure",
|
||||
"feed_name" => "closure",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Production Size Unit" => array(
|
||||
"name" => "production-size",
|
||||
"feed_name" => "production-size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Residual Sugar Unit" => array(
|
||||
"name" => "residual-sugar",
|
||||
"feed_name" => "residual-sugar",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Acidity Unit" => array(
|
||||
"name" => "acidity",
|
||||
"feed_name" => "acidity",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ph" => array(
|
||||
"name" => "ph",
|
||||
"feed_name" => "ph",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Winemaker" => array(
|
||||
"name" => "winemaker",
|
||||
"feed_name" => "winemaker",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Contains Milk Allergens" => array(
|
||||
"name" => "contains-milk-allergens",
|
||||
"feed_name" => "contains-milk-allergens",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Contains Egg Allergens" => array(
|
||||
"name" => "contains-egg-allergens",
|
||||
"feed_name" => "contains-egg-allergens",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Non Alcoholic" => array(
|
||||
"name" => "non-alcoholic",
|
||||
"feed_name" => "non-alcoholic",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $vivino;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,204 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Wish.com feeds
|
||||
*/
|
||||
class WooSEA_wishcom {
|
||||
public $wishcom;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$wishcom = array(
|
||||
"Feed fields" => array(
|
||||
"Parent Unique ID" => array(
|
||||
"name" => "Parent Unique ID",
|
||||
"feed_name" => "Parent Unique ID",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Unique ID" => array(
|
||||
"name" => "Unique ID",
|
||||
"feed_name" => "Unique ID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id"
|
||||
),
|
||||
"Product Name" => array(
|
||||
"name" => "Product Name",
|
||||
"feed_name" => "Product Name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Declared Name" => array(
|
||||
"name" => "Declared Name",
|
||||
"feed_name" => "Declared Name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Declared Local Name" => array(
|
||||
"name" => "Declared Local Name",
|
||||
"feed_name" => "Declared Local Name",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pieces" => array(
|
||||
"name" => "Pieces",
|
||||
"feed_name" => "Pieces",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "Color",
|
||||
"feed_name" => "Color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "Size",
|
||||
"feed_name" => "Size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Quantity" => array(
|
||||
"name" => "Quantity",
|
||||
"feed_name" => "Quantity",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "quantity",
|
||||
),
|
||||
"Tags" => array(
|
||||
"name" => "Tags",
|
||||
"feed_name" => "Tags",
|
||||
"format" => "required",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "Price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Shipping" => array(
|
||||
"name" => "Shipping",
|
||||
"feed_name" => "Shipping",
|
||||
"format" => "required",
|
||||
),
|
||||
"Shipping Time" => array(
|
||||
"name" => "Shipping Time",
|
||||
"feed_name" => "Shipping Time",
|
||||
"format" => "required",
|
||||
),
|
||||
"Main Image URL" => array(
|
||||
"name" => "Main Image URL",
|
||||
"feed_name" => "Main Image URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Extra Image URL 1" => array(
|
||||
"name" => "Extra Image URL 1",
|
||||
"feed_name" => "Extra Image URL 1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra Image URL 2" => array(
|
||||
"name" => "Extra Image URL 2",
|
||||
"feed_name" => "Extra Image URL 2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra Image URL 3" => array(
|
||||
"name" => "Extra Image URL 3",
|
||||
"feed_name" => "Extra Image URL 3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra Image URL 4" => array(
|
||||
"name" => "Extra Image URL 4",
|
||||
"feed_name" => "Extra Image URL 4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra Image URL 5" => array(
|
||||
"name" => "Extra Image URL 5",
|
||||
"feed_name" => "Extra Image URL 5",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra Image URL 6" => array(
|
||||
"name" => "Extra Image URL 6",
|
||||
"feed_name" => "Extra Image URL 6",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra Image URL 7" => array(
|
||||
"name" => "Extra Image URL 7",
|
||||
"feed_name" => "Extra Image URL 7",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra Image URL 8" => array(
|
||||
"name" => "Extra Image URL 8",
|
||||
"feed_name" => "Extra Image URL 8",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Extra Image URL 9" => array(
|
||||
"name" => "Extra Image URL 9",
|
||||
"feed_name" => "Extra Image URL 9",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Clean Image URL" => array(
|
||||
"name" => "Clean Image URL",
|
||||
"feed_name" => "Clean Image URL",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Package Length" => array(
|
||||
"name" => "Package Length",
|
||||
"feed_name" => "Package Length",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Package Width" => array(
|
||||
"name" => "Package Width",
|
||||
"feed_name" => "Package Width",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Package Height" => array(
|
||||
"name" => "Package Height",
|
||||
"feed_name" => "Package Height",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Package Weight" => array(
|
||||
"name" => "Package Weight",
|
||||
"feed_name" => "Package Weight",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Country Of Origin" => array(
|
||||
"name" => "Country Of Origin",
|
||||
"feed_name" => "Country Of Origin",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Contains Powder" => array(
|
||||
"name" => "Contains Powder",
|
||||
"feed_name" => "Contains Powder",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Contains Liquid" => array(
|
||||
"name" => "Contains Liquid",
|
||||
"feed_name" => "Contains Liquid",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Contains Battery" => array(
|
||||
"name" => "Contains Battery",
|
||||
"feed_name" => "Contains Battery",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Contains Metal" => array(
|
||||
"name" => "Contains Metal",
|
||||
"feed_name" => "Contains Metal",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom Declared Value" => array(
|
||||
"name" => "Custom Declared Value",
|
||||
"feed_name" => "Custom Declared Value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Custom HS Code" => array(
|
||||
"name" => "Custom HS Code",
|
||||
"feed_name" => "Custom HS Code",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $wishcom;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,347 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Yandex feeds
|
||||
*/
|
||||
class WooSEA_yandex {
|
||||
public $yandex;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$yandex = array(
|
||||
"Feed fields" => array(
|
||||
"id" => array(
|
||||
"name" => "id",
|
||||
"feed_name" => "id",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"type" => array(
|
||||
"name" => "type",
|
||||
"feed_name" => "type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"available" => array(
|
||||
"name" => "available",
|
||||
"feed_name" => "available",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"bid" => array(
|
||||
"name" => "bid",
|
||||
"feed_name" => "bid",
|
||||
"format" => "optional",
|
||||
),
|
||||
"cbid" => array(
|
||||
"name" => "cbid",
|
||||
"feed_name" => "cbid",
|
||||
"format" => "optional",
|
||||
),
|
||||
"url" => array(
|
||||
"name" => "url",
|
||||
"feed_name" => "url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"price" => array(
|
||||
"name" => "price",
|
||||
"feed_name" => "price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"currencyId" => array(
|
||||
"name" => "currencyId",
|
||||
"feed_name" => "currencyId",
|
||||
"format" => "required",
|
||||
),
|
||||
"categoryId" => array(
|
||||
"name" => "categoryId",
|
||||
"feed_name" => "categoryId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"picture" => array(
|
||||
"name" => "picture",
|
||||
"feed_name" => "picture",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"typePrefix" => array(
|
||||
"name" => "typePrefix",
|
||||
"feed_name" => "typePrefix",
|
||||
"format" => "optional",
|
||||
),
|
||||
"store" => array(
|
||||
"name" => "store",
|
||||
"feed_name" => "store",
|
||||
"format" => "optional",
|
||||
),
|
||||
"pickup" => array(
|
||||
"name" => "pickup",
|
||||
"feed_name" => "pickup",
|
||||
"format" => "optional",
|
||||
),
|
||||
"delivery" => array(
|
||||
"name" => "delivery",
|
||||
"feed_name" => "delivery",
|
||||
"format" => "optional",
|
||||
),
|
||||
"name" => array(
|
||||
"name" => "name",
|
||||
"feed_name" => "name",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"model" => array(
|
||||
"name" => "model",
|
||||
"feed_name" => "model",
|
||||
"format" => "required",
|
||||
),
|
||||
"description" => array(
|
||||
"name" => "description",
|
||||
"feed_name" => "description",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"vendor" => array(
|
||||
"name" => "vendor",
|
||||
"feed_name" => "vendor",
|
||||
"format" => "optional",
|
||||
),
|
||||
"vendorCode" => array(
|
||||
"name" => "vendorCode",
|
||||
"feed_name" => "vendorCode",
|
||||
"format" => "optional",
|
||||
),
|
||||
"local_delivery_cost" => array(
|
||||
"name" => "local_delivery_cost",
|
||||
"feed_name" => "local_delivery_cost",
|
||||
"format" => "optional",
|
||||
),
|
||||
"sales_notes" => array(
|
||||
"name" => "sales_notes",
|
||||
"feed_name" => "sales_notes",
|
||||
"format" => "optional",
|
||||
),
|
||||
"manufacturer_warranty" => array(
|
||||
"name" => "manufacturer_warranty",
|
||||
"feed_name" => "manufacturer_warranty",
|
||||
"format" => "optional",
|
||||
),
|
||||
"country_of_origin" => array(
|
||||
"name" => "country_of_origin",
|
||||
"feed_name" => "country_of_origin",
|
||||
"format" => "optional",
|
||||
),
|
||||
"downloadable" => array(
|
||||
"name" => "downloadable",
|
||||
"feed_name" => "downloadable",
|
||||
"format" => "optional",
|
||||
),
|
||||
"adult" => array(
|
||||
"name" => "adult",
|
||||
"feed_name" => "adult",
|
||||
"format" => "optional",
|
||||
),
|
||||
"age" => array(
|
||||
"name" => "age",
|
||||
"feed_name" => "age",
|
||||
"format" => "optional",
|
||||
),
|
||||
"barcode" => array(
|
||||
"name" => "barcode",
|
||||
"feed_name" => "barcode",
|
||||
"format" => "optional",
|
||||
),
|
||||
"author" => array(
|
||||
"name" => "author",
|
||||
"feed_name" => "author",
|
||||
"format" => "optional",
|
||||
),
|
||||
"artist" => array(
|
||||
"name" => "artist",
|
||||
"feed_name" => "artist",
|
||||
"format" => "optional",
|
||||
),
|
||||
"publisher" => array(
|
||||
"name" => "publisher",
|
||||
"feed_name" => "publisher",
|
||||
"format" => "optional",
|
||||
),
|
||||
"series" => array(
|
||||
"name" => "series",
|
||||
"feed_name" => "series",
|
||||
"format" => "optional",
|
||||
),
|
||||
"year" => array(
|
||||
"name" => "year",
|
||||
"feed_name" => "year",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ISBN" => array(
|
||||
"name" => "ISBN",
|
||||
"feed_name" => "ISBN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"volume" => array(
|
||||
"name" => "volume",
|
||||
"feed_name" => "volume",
|
||||
"format" => "optional",
|
||||
),
|
||||
"part" => array(
|
||||
"name" => "part",
|
||||
"feed_name" => "part",
|
||||
"format" => "optional",
|
||||
),
|
||||
"language" => array(
|
||||
"name" => "language",
|
||||
"feed_name" => "language",
|
||||
"format" => "optional",
|
||||
),
|
||||
"binding" => array(
|
||||
"name" => "binding",
|
||||
"feed_name" => "binding",
|
||||
"format" => "optional",
|
||||
),
|
||||
"page_extent" => array(
|
||||
"name" => "page_extent",
|
||||
"feed_name" => "page_extent",
|
||||
"format" => "optional",
|
||||
),
|
||||
"table_of_contents" => array(
|
||||
"name" => "table_of_contents",
|
||||
"feed_name" => "table_of_contents",
|
||||
"format" => "optional",
|
||||
),
|
||||
"performed_by" => array(
|
||||
"name" => "performed_by",
|
||||
"feed_name" => "performed_by",
|
||||
"format" => "optional",
|
||||
),
|
||||
"performance_type" => array(
|
||||
"name" => "performance_type",
|
||||
"feed_name" => "performance_type",
|
||||
"format" => "optional",
|
||||
),
|
||||
"format" => array(
|
||||
"name" => "format",
|
||||
"feed_name" => "format",
|
||||
"format" => "optional",
|
||||
),
|
||||
"storage" => array(
|
||||
"name" => "storage",
|
||||
"feed_name" => "storage",
|
||||
"format" => "optional",
|
||||
),
|
||||
"recording_length" => array(
|
||||
"name" => "recording_length",
|
||||
"feed_name" => "recording_length",
|
||||
"format" => "optional",
|
||||
),
|
||||
"media" => array(
|
||||
"name" => "media",
|
||||
"feed_name" => "media",
|
||||
"format" => "optional",
|
||||
),
|
||||
"starring" => array(
|
||||
"name" => "starring",
|
||||
"feed_name" => "starring",
|
||||
"format" => "optional",
|
||||
),
|
||||
"director" => array(
|
||||
"name" => "director",
|
||||
"feed_name" => "director",
|
||||
"format" => "optional",
|
||||
),
|
||||
"originalName" => array(
|
||||
"name" => "originalName",
|
||||
"feed_name" => "originalName",
|
||||
"format" => "optional",
|
||||
),
|
||||
"worldRegion" => array(
|
||||
"name" => "worldRegion",
|
||||
"feed_name" => "worldRegion",
|
||||
"format" => "optional",
|
||||
),
|
||||
"country" => array(
|
||||
"name" => "country",
|
||||
"feed_name" => "country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"region" => array(
|
||||
"name" => "region",
|
||||
"feed_name" => "region",
|
||||
"format" => "optional",
|
||||
),
|
||||
"days" => array(
|
||||
"name" => "days",
|
||||
"feed_name" => "days",
|
||||
"format" => "optional",
|
||||
),
|
||||
"dataTour" => array(
|
||||
"name" => "dataTour",
|
||||
"feed_name" => "dataTour",
|
||||
"format" => "optional",
|
||||
),
|
||||
"hotel_stars" => array(
|
||||
"name" => "hotel_stars",
|
||||
"feed_name" => "hotel_stars",
|
||||
"format" => "optional",
|
||||
),
|
||||
"room" => array(
|
||||
"name" => "room",
|
||||
"feed_name" => "room",
|
||||
"format" => "optional",
|
||||
),
|
||||
"meal" => array(
|
||||
"name" => "meal",
|
||||
"feed_name" => "meal",
|
||||
"format" => "optional",
|
||||
),
|
||||
"included" => array(
|
||||
"name" => "included",
|
||||
"feed_name" => "included",
|
||||
"format" => "optional",
|
||||
),
|
||||
"transport" => array(
|
||||
"name" => "transport",
|
||||
"feed_name" => "transport",
|
||||
"format" => "optional",
|
||||
),
|
||||
"place" => array(
|
||||
"name" => "place",
|
||||
"feed_name" => "place",
|
||||
"format" => "optional",
|
||||
),
|
||||
"hall_plan" => array(
|
||||
"name" => "hall_plan",
|
||||
"feed_name" => "hall_plan",
|
||||
"format" => "optional",
|
||||
),
|
||||
"date" => array(
|
||||
"name" => "date",
|
||||
"feed_name" => "date",
|
||||
"format" => "optional",
|
||||
),
|
||||
"is_premiere" => array(
|
||||
"name" => "is_premiere",
|
||||
"feed_name" => "is_premiere",
|
||||
"format" => "optional",
|
||||
),
|
||||
"is_kids" => array(
|
||||
"name" => "is_kids",
|
||||
"feed_name" => "is_kids",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Item group ID" => array(
|
||||
"name" => "item_group_id",
|
||||
"feed_name" => "item_group_id",
|
||||
"format" => "optional",
|
||||
)
|
||||
),
|
||||
);
|
||||
return $yandex;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for ZAP israel feeds
|
||||
*/
|
||||
class WooSEA_zap {
|
||||
public $zap;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$zap = array(
|
||||
"Feed fields" => array(
|
||||
"Product URL" => array(
|
||||
"name" => "PRODUCT_URL",
|
||||
"feed_name" => "PRODUCT_URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Product Name" => array(
|
||||
"name" => "PRODUCT_NAME",
|
||||
"feed_name" => "PRODUCT_NAME",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Product Type" => array(
|
||||
"name" => "PRODUCT_TYPE",
|
||||
"feed_name" => "PRODUCT_TYPE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Model" => array(
|
||||
"name" => "MODEL",
|
||||
"feed_name" => "MODEL",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Details" => array(
|
||||
"name" => "DETAILS",
|
||||
"feed_name" => "DETAILS",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Catalog Number" => array(
|
||||
"name" => "CATALOG_NUMBER",
|
||||
"feed_name" => "CATALOG_NUMBER",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Productcode" => array(
|
||||
"name" => "PRODUCTCODE",
|
||||
"feed_name" => "PRODUCTCODE",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"Currency" => array(
|
||||
"name" => "CURRENCY",
|
||||
"feed_name" => "CURRENCY",
|
||||
"format" => "required",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "PRICE",
|
||||
"feed_name" => "PRICE",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Open Price" => array(
|
||||
"name" => "OPEN_PRICE",
|
||||
"feed_name" => "OPEN_PRICE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Shipment Cost" => array(
|
||||
"name" => "SHIPMENT_COST",
|
||||
"feed_name" => "SHIPMENT_COST",
|
||||
"format" => "required",
|
||||
),
|
||||
"Delivery Time" => array(
|
||||
"name" => "DELIVERY_TIME",
|
||||
"feed_name" => "DELIVERY_TIME",
|
||||
"format" => "required",
|
||||
),
|
||||
"Manufacturer" => array(
|
||||
"name" => "MANUFACTURER",
|
||||
"feed_name" => "MANUFACTURER",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Warrenty" => array(
|
||||
"name" => "WARRENTY",
|
||||
"feed_name" => "WARRENTY",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Image" => array(
|
||||
"name" => "IMAGE",
|
||||
"feed_name" => "IMAGE",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Tax" => array(
|
||||
"name" => "TAX",
|
||||
"feed_name" => "TAX",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $zap;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for Zbozi feeds
|
||||
*/
|
||||
class WooSEA_zbozi {
|
||||
public $zbozi;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$zbozi = array(
|
||||
"Feed fields" => array(
|
||||
"ITEM_ID" => array(
|
||||
"name" => "ITEM_ID",
|
||||
"feed_name" => "ITEM_ID",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"PRODUCTNAME" => array(
|
||||
"name" => "PRODUCTNAME",
|
||||
"feed_name" => "PRODUCTNAME",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"PRODUCT" => array(
|
||||
"name" => "PRODUCT",
|
||||
"feed_name" => "PRODUCT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"DESCRIPTION" => array(
|
||||
"name" => "DESCRIPTION",
|
||||
"feed_name" => "DESCRIPTION",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"CATEGORYTEXT" => array(
|
||||
"name" => "CATEGORYTEXT",
|
||||
"feed_name" => "CATEGORYTEXT",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"EAN" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ISBN" => array(
|
||||
"name" => "ISBN",
|
||||
"feed_name" => "ISBN",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PRODUCTNO" => array(
|
||||
"name" => "PRODUCTNO",
|
||||
"feed_name" => "PRODUCTNO",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MANUFACTURER" => array(
|
||||
"name" => "MANUFACTURER",
|
||||
"feed_name" => "MANUFACTURER",
|
||||
"format" => "optional",
|
||||
),
|
||||
"BRAND" => array(
|
||||
"name" => "BRAND",
|
||||
"feed_name" => "BRAND",
|
||||
"format" => "optional",
|
||||
),
|
||||
"URL" => array(
|
||||
"name" => "URL",
|
||||
"feed_name" => "URL",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"PRICE_VAT" => array(
|
||||
"name" => "PRICE_VAT",
|
||||
"feed_name" => "PRICE_VAT",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"DELIVERY_DATE" => array(
|
||||
"name" => "DELIVERY_DATE",
|
||||
"feed_name" => "DELIVERY_DATE",
|
||||
"format" => "required",
|
||||
),
|
||||
"DELIVERY" => array(
|
||||
"name" => "DELIVERY",
|
||||
"feed_name" => "DELIVERY",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "shipping",
|
||||
),
|
||||
"SHOP_DEPOTS" => array(
|
||||
"name" => "SHOP_DEPOTS",
|
||||
"feed_name" => "SHOP_DEPOTS",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CATEGORYTEXT" => array(
|
||||
"name" => "CATEGORYTEXT",
|
||||
"feed_name" => "CATEGORYTEXT",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "categories",
|
||||
),
|
||||
"IMGURL" => array(
|
||||
"name" => "IMGURL",
|
||||
"feed_name" => "IMGURL",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"EXTRA_MESSAGE" => array(
|
||||
"name" => "EXTRA_MESSAGE",
|
||||
"feed_name" => "EXTRA_MESSAGE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"FREE_GIFT_TEXT" => array(
|
||||
"name" => "FREE_GIFT_TEXT",
|
||||
"feed_name" => "FREE_GIFT_TEXT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MAX_CPC" => array(
|
||||
"name" => "MAX_CPC",
|
||||
"feed_name" => "MAX_CPC",
|
||||
"format" => "optional",
|
||||
),
|
||||
"MAX_CPC_SEARCH" => array(
|
||||
"name" => "MAX_CPC_SEARCH",
|
||||
"feed_name" => "MAX_CPC_SEARCH",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EROTIC" => array(
|
||||
"name" => "EROTIC",
|
||||
"feed_name" => "EROTIC",
|
||||
"format" => "optional",
|
||||
),
|
||||
"ITEMGROUP_ID" => array(
|
||||
"name" => "ITEMGROUP_ID",
|
||||
"feed_name" => "ITEMGROUP_ID",
|
||||
"format" => "optional",
|
||||
"woo_suggest" => "item_group_id",
|
||||
),
|
||||
"VISIBILITY" => array(
|
||||
"name" => "VISIBILITY",
|
||||
"feed_name" => "VISIBILITY",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_0" => array(
|
||||
"name" => "CUSTOM_LABEL_0",
|
||||
"feed_name" => "CUSTOM_LABEL_0",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_1" => array(
|
||||
"name" => "CUSTOM_LABEL_1",
|
||||
"feed_name" => "CUSTOM_LABEL_1",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_2" => array(
|
||||
"name" => "CUSTOM_LABEL_2",
|
||||
"feed_name" => "CUSTOM_LABEL_2",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_3" => array(
|
||||
"name" => "CUSTOM_LABEL_3",
|
||||
"feed_name" => "CUSTOM_LABEL_3",
|
||||
"format" => "optional",
|
||||
),
|
||||
"CUSTOM_LABEL_4" => array(
|
||||
"name" => "CUSTOM_LABEL_4",
|
||||
"feed_name" => "CUSTOM_LABEL_4",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PRODUCT_LINE" => array(
|
||||
"name" => "PRODUCT_LINE",
|
||||
"feed_name" => "PRODUCT_LINE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"LIST_PRICE" => array(
|
||||
"name" => "LIST_PRICE",
|
||||
"feed_name" => "LIST_PRICE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"RELEASE_DATE" => array(
|
||||
"name" => "RELEASE_DATE",
|
||||
"feed_name" => "RELEASE_DATE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"LENGTH" => array(
|
||||
"name" => "LENGTH",
|
||||
"feed_name" => "LENGTH",
|
||||
"format" => "optional",
|
||||
),
|
||||
"VOLUME" => array(
|
||||
"name" => "VOLUME",
|
||||
"feed_name" => "VOLUME",
|
||||
"format" => "optional",
|
||||
),
|
||||
"SIZE" => array(
|
||||
"name" => "SIZE",
|
||||
"feed_name" => "SIZE",
|
||||
"format" => "optional",
|
||||
),
|
||||
"COLOR" => array(
|
||||
"name" => "COLOR",
|
||||
"feed_name" => "COLOR",
|
||||
"format" => "optional",
|
||||
),
|
||||
"PURPOSE" => array(
|
||||
"name" => "PURPOSE",
|
||||
"feed_name" => "PURPOSE",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $zbozi;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
/**
|
||||
* Nothing to see here
|
||||
*/
|
||||
?>
|
||||
1928
wp-content/plugins/woo-product-feed-pro/classes/class-activate.php
Normal file
1928
wp-content/plugins/woo-product-feed-pro/classes/class-activate.php
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/**
|
||||
* Class holding the notification messages and type of notices
|
||||
* Returns the message and type of message (info, error, success)
|
||||
*/
|
||||
class WooSEA_Get_Admin_Notifications {
|
||||
|
||||
public function __construct() {
|
||||
$this->notification_details = array();
|
||||
}
|
||||
|
||||
public function woosea_debug_informations ($versions, $product_numbers, $order_rows, $cron_objects) {
|
||||
$upload_dir = wp_upload_dir();
|
||||
$filename = "debug";
|
||||
|
||||
$base = $upload_dir['basedir'];
|
||||
$path = $base . "/woo-product-feed-pro/logs";
|
||||
$file = $path . "/". $filename ."." ."log";
|
||||
|
||||
// Remove the previous file, preventing the file from becoming to big
|
||||
if ( file_exists ( $file ) ){
|
||||
unlink($file);
|
||||
}
|
||||
|
||||
// External location for downloading the file
|
||||
$external_base = $upload_dir['baseurl'];
|
||||
$external_path = $external_base . "/woo-product-feed-pro/logs";
|
||||
$external_file = $external_path . "/" . $filename ."." ."log";
|
||||
|
||||
// Check if directory in uploads exists, if not create one
|
||||
if ( ! file_exists( $path ) ) {
|
||||
wp_mkdir_p( $path );
|
||||
}
|
||||
|
||||
// Log timestamp
|
||||
$today = "\n";
|
||||
$today .= date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm
|
||||
$today .= "\n";
|
||||
|
||||
$fp = fopen($file, 'a+');
|
||||
fwrite($fp, $today);
|
||||
fwrite($fp, print_r($versions, TRUE));
|
||||
fwrite($fp, print_r($product_numbers, TRUE));
|
||||
fwrite($fp, print_r($cron_objects, TRUE));
|
||||
fwrite($fp, print_r($order_rows, TRUE));
|
||||
fclose($fp);
|
||||
|
||||
return $this->notification_details = $external_file;
|
||||
}
|
||||
|
||||
public function get_admin_notifications ( $step, $error ) {
|
||||
$domain = sanitize_text_field($_SERVER['HTTP_HOST']);
|
||||
|
||||
switch($step){
|
||||
case 0:
|
||||
$message = __( 'Please select the country and channel for which you would like to create a new product feed. The channel drop-down will populate with relevant country channels once you selected a country. Filling in a project name is mandatory.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info";
|
||||
break;
|
||||
case 1:
|
||||
$message = __( 'Map your products or categories to the categories of your selected channel. For some channels adding their categorisation in the product feed is mandatory. Even when category mappings are not mandatory it is likely your products will get better visibility and higher conversions when mappings have been added.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info";
|
||||
break;
|
||||
case 2:
|
||||
$message = __( 'Please drag and drop the attributes you want to be in your product feed from left to right.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info is-dismissible";
|
||||
break;
|
||||
case 3:
|
||||
$message = __( 'Mapping your product categories to the channel categories will increase changes of getting all your products listed correctly, thus increase your conversion rates.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info is-dismissible";
|
||||
break;
|
||||
case 4:
|
||||
$message = __( 'Create filter and rules so exactly the right products end up in your product feed. These filters and rules are only eligable for the current product feed you are configuring and will not be used for other feeds.<br/><br/><strong>Filters:</strong> Exclude or include products that meet certain conditions. [<strong><i><a href="https://adtribes.io/how-to-create-filters-for-your-product-feed/" target="_blank">Detailed information and filter examples</a></i></strong>] or [<strong><i><a href="https://adtribes.io/create-a-product-feed-for-one-specific-category/" target="_blank">Create a product feed for just 1 category</a></i></strong>]<br/><strong>Rules:</strong> Change attribute values based on other attribute values or conditions.[<strong><i><a href="https://adtribes.io/how-to-create-rules/" target="_blank">Detailed information about rules and some examples</a></i></strong>]<br/><br/>Order of execution: the filters and rules will be executed in the order of creation.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info";
|
||||
break;
|
||||
case 5:
|
||||
$message = __( '<strong>Google Analytics UTM codes:</strong><br/>Adding Google Analytics UTM codes is not mandatory, it will however enable you to get detailed insights into how your products are performing in Google Analytics reporting and allow you to tweak and tune your campaign making it more profitable. We strongly advise you to add the Google Analytics tracking. When enabled the plugin will append the Google Analytics UTM parameters to your landingpage URL\'s.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info";
|
||||
break;
|
||||
case 6:
|
||||
$message = __( 'Your product feed is now being created, please be patient. Your feed details will be displayed when generation of the product feed has been finished.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info is-dismissible";
|
||||
break;
|
||||
case 7:
|
||||
$message = __( 'For the selected channel the attributes shown below are mandatory, please map them to your product attributes. We\'ve already pre-filled a lot of mappings so all you have to do is check those and map the ones that are left blank or add new ones by hitting the \'Add field mapping\' button.<br/><br/>[<strong><i><a href="https://adtribes.io/how-to-use-static-values-and-create-fake-content-for-your-product-feed/" target="_blank">Learn how to use static values</a></i></strong>]','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info";
|
||||
break;
|
||||
case 8:
|
||||
$message = __( 'Manage your projects, such as the mappings and filter rules, below. Hit the refresh icon for the project to run with its new settings or just to refresh the product feed. When a project is being processed it is not possible to make changes to its configuration.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info";
|
||||
break;
|
||||
case 9:
|
||||
$message = __( 'You cannot create product feeds yet, please install WooCommerce first.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-error";
|
||||
break;
|
||||
case 10:
|
||||
$message = __( 'The graph shows the amount of products in this product feed, measured after every scheduled and/or manually triggered refresh.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info is-dismissible";
|
||||
break;
|
||||
case 11:
|
||||
$message = __( 'You are running an old PHP version. This plugin might not work or be really slow. Please upgrade to PHP version 7.0 or newer.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-error is-dismissible";
|
||||
break;
|
||||
case 12:
|
||||
$message = __( 'We are sorry but it seems you have disabled your WP CRON. This plugin creates product feeds in batches and needs the WP CRON to be active for doing so. Please enable the WP CRON in your wp-config.php file and re-activate this plugin before creating a product feed.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-error is-dismissible";
|
||||
break;
|
||||
case 13:
|
||||
$message = __( 'We are sorry but it seems you are running an old version of WooCommerce. This plugin requires WooCommerce version 3.0 at least. Please upgrade to the latest version of WooCommerce before creating a product feed.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-error is-dismissible";
|
||||
break;
|
||||
case 14:
|
||||
$message = __( 'Add important attributes, such as Brand, GTIN, condition and many more to create a perfect Google Shopping feed or fix the WooCommerce structured data bug so less products get disapproved in Google\'s Merchant Center.','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info";
|
||||
break;
|
||||
case 15:
|
||||
$message = __( 'Manipulate your product data to improve the quality of your product feeds and online marketing campaigns. Manipulating your product data is an extremely powerfull feature. Check out an example we have created in our blog post: <b><u><a href="https://adtribes.io/feature-product-data-manipulation/" target="_blank">Manipulating product data</a></u></b>','woo-product-feed-pro' );
|
||||
$message_type = "notice notice-info";
|
||||
break;
|
||||
}
|
||||
|
||||
$this->notification_details['message'] = $message;
|
||||
$this->notification_details['message_type'] = $message_type;
|
||||
return $this->notification_details;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* CLass that will return HTML for template configuration step
|
||||
*/
|
||||
class Construct_Admin_Pages {
|
||||
private $page;
|
||||
public $html;
|
||||
public $channel;
|
||||
public $inputname;
|
||||
|
||||
/**
|
||||
* Returns html template
|
||||
*/
|
||||
function set_page( $new_page ) {
|
||||
$file = dirname(dirname( __FILE__ )) . "/pages/admin/".$new_page.".php";
|
||||
|
||||
if (file_exists( $file )){
|
||||
require $file;
|
||||
}
|
||||
}
|
||||
|
||||
function get_page() {
|
||||
return $this->page;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,668 @@
|
||||
<?php
|
||||
/**
|
||||
* This class is called to: retrieve product attributes
|
||||
* for populating the rules dropdowns and draggable boxes
|
||||
*/
|
||||
|
||||
class WooSEA_Attributes {
|
||||
|
||||
public $attributes;
|
||||
public $dropdown;
|
||||
public $standard_attributes;
|
||||
|
||||
public function get_channel_countries(){
|
||||
$channel_countries = array();
|
||||
$channel_configs = get_option ('channel_statics');
|
||||
|
||||
foreach ($channel_configs as $key=>$val){
|
||||
if (($key != "All countries") && ($key != "Custom Feed")){
|
||||
array_push ($channel_countries, $key);
|
||||
}
|
||||
}
|
||||
return $channel_countries;
|
||||
}
|
||||
|
||||
public function get_channels($country){
|
||||
$channels = array();
|
||||
$channel_configs = get_option ('channel_statics');
|
||||
|
||||
// Lets get the generic channels
|
||||
foreach ($channel_configs as $key=>$val){
|
||||
if($key == "Custom Feed" || $key == "All countries"){
|
||||
$channels = array_merge ($channels, $val);
|
||||
}
|
||||
}
|
||||
|
||||
// Than get the relevant country channels
|
||||
foreach ($channel_configs as $key=>$val){
|
||||
if(preg_match("/-$country/i", $key)){
|
||||
$channels = array_merge($channels, $val);
|
||||
} elseif ($country == "$key"){
|
||||
$channels = array_merge($channels, $val);
|
||||
}
|
||||
}
|
||||
return $channels;
|
||||
}
|
||||
|
||||
private function get_dynamic_attributes(){
|
||||
global $wpdb;
|
||||
$list = array();
|
||||
|
||||
$no_taxonomies = array("portfolio_category","portfolio_skills","portfolio_tags","nav_menu","post_format","slide-page","element_category","template_category","portfolio_category","portfolio_skills","portfolio_tags","faq_category","slide-page","category","post_tag","nav_menu","link_category","post_format","product_type","product_visibility","product_cat","product_shipping_class","product_tag");
|
||||
$taxonomies = get_taxonomies();
|
||||
$diff_taxonomies = array_diff($taxonomies, $no_taxonomies);
|
||||
|
||||
# get custom taxonomy values for a product
|
||||
foreach($diff_taxonomies as $tax_diff){
|
||||
|
||||
$taxonomy_details = get_taxonomy( $tax_diff );
|
||||
foreach($taxonomy_details as $kk => $vv){
|
||||
|
||||
if($kk == "name"){
|
||||
$pa_short = $vv;
|
||||
}
|
||||
if($kk == "labels"){
|
||||
foreach($vv as $kw => $kv){
|
||||
if($kw == "singular_name"){
|
||||
$attr_name = $pa_short;
|
||||
$attr_name_clean = ucfirst($kv);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$list["$attr_name"] = $attr_name_clean;
|
||||
}
|
||||
return $list;
|
||||
}
|
||||
|
||||
private function get_custom_attributes() {
|
||||
global $wpdb;
|
||||
$list = array();
|
||||
|
||||
if ( ! function_exists( 'woosea_get_meta_keys_for_post_type' ) ) :
|
||||
|
||||
function woosea_get_meta_keys_for_post_type( $post_type, $sample_size = 'modified' ) {
|
||||
$meta_keys = array();
|
||||
|
||||
$add_woosea_basic = get_option ('add_woosea_basic');
|
||||
if($add_woosea_basic == "yes"){
|
||||
$posts = get_posts( array( 'post_type' => $post_type, 'limit' => $sample_size ) );
|
||||
} else {
|
||||
$posts = get_posts( array( 'post_type' => $post_type, 'numberposts' => -1 ) );
|
||||
}
|
||||
|
||||
foreach ( $posts as $post ) {
|
||||
$post_meta_keys = get_post_custom_keys( $post->ID );
|
||||
if(empty($post_meta_keys)){
|
||||
$post_meta_keys = array();
|
||||
}
|
||||
$meta_keys = array_merge( $meta_keys, $post_meta_keys );
|
||||
}
|
||||
|
||||
// Use array_unique to remove duplicate meta_keys that we received from all posts
|
||||
// Use array_values to reset the index of the array
|
||||
return array_values( array_unique( $meta_keys ) );
|
||||
}
|
||||
endif;
|
||||
|
||||
$post_type = "product";
|
||||
$data = woosea_get_meta_keys_for_post_type($post_type);
|
||||
|
||||
if (count($data)) {
|
||||
|
||||
foreach ($data as $key => $value) {
|
||||
if (!preg_match("/_product_attributes/i",$value)){
|
||||
$value_display = str_replace("_", " ",$value);
|
||||
$list["custom_attributes_" . $value] = ucfirst($value_display);
|
||||
} else {
|
||||
$data = @$wpdb->get_results(
|
||||
// $wpdb->prepare("
|
||||
// SELECT
|
||||
// meta.meta_id,
|
||||
// meta.meta_value AS type
|
||||
// FROM {$wpdb->prefix}postmeta AS meta,
|
||||
// {$wpdb->prefix}posts AS posts
|
||||
// WHERE meta.post_id = posts.id
|
||||
// AND posts.post_type LIKE '%product%'
|
||||
// AND meta.meta_key='_product_attributes' AND meta.meta_value NOT LIKE \"%{}\";")
|
||||
|
||||
$wpdb->prepare("
|
||||
SELECT
|
||||
meta.meta_id,
|
||||
meta.meta_value AS type
|
||||
FROM {$wpdb->prefix}postmeta AS meta,
|
||||
{$wpdb->prefix}posts AS posts
|
||||
WHERE meta.post_id = posts.id
|
||||
AND posts.post_type LIKE '%s'
|
||||
AND meta.meta_key='_product_attributes' AND meta.meta_value NOT LIKE \"%{}\"", array( '%product%' ))
|
||||
);
|
||||
if (count($data)) {
|
||||
foreach ($data as $key => $value) {
|
||||
$product_attr = unserialize($value->type);
|
||||
if(!empty($product_attr)){
|
||||
foreach ($product_attr as $key => $arr_value) {
|
||||
$value_display = str_replace("_", " ",$arr_value['name']);
|
||||
$list["custom_attributes_" . $key] = ucfirst($value_display);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $list;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public function get_mapping_attributes_dropdown() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$mapping_attributes = array(
|
||||
"categories" => "Category",
|
||||
"title" => "Product name",
|
||||
);
|
||||
|
||||
/**
|
||||
* Create dropdown with main attributes
|
||||
*/
|
||||
$dropdown = "<option></option>";
|
||||
$dropdown .= "<optgroup label='Main attributes'><strong>Main attributes</strong>";
|
||||
|
||||
foreach ($mapping_attributes as $key=>$value) {
|
||||
if ($key == "categories"){
|
||||
$dropdown .= "<option value='$key' selected>" . $value . "</option>";
|
||||
} else {
|
||||
$dropdown .= "<option value='$key'>" . $value . "</option>";
|
||||
}
|
||||
}
|
||||
|
||||
$dropdown .="</optgroup>";
|
||||
|
||||
$other_attributes = array(
|
||||
"all_products" => "Map all products",
|
||||
);
|
||||
|
||||
$dropdown .= "<optgroup label='Other options'><strong>Other options</strong>";
|
||||
|
||||
foreach ($other_attributes as $key=>$value) {
|
||||
$dropdown .= "<option value='$key'>" . $value . "</option>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
return $dropdown;
|
||||
}
|
||||
|
||||
public function get_special_attributes_dropdown(){
|
||||
/**
|
||||
* Create dropdown with product attributes
|
||||
*/
|
||||
$dropdown = "<option></option>";
|
||||
$custom_attributes = $this->get_custom_attributes();
|
||||
|
||||
if ( class_exists( 'All_in_One_SEO_Pack' ) ) {
|
||||
$custom_attributes['custom_attributes__aioseop_title'] = "All in one seo pack title";
|
||||
$custom_attributes['custom_attributes__aioseop_description'] = "All in one seo pack description";
|
||||
}
|
||||
|
||||
if($custom_attributes){
|
||||
$dropdown .= "<optgroup label='Custom attributes'><strong>Custom attributes</strong>";
|
||||
|
||||
foreach ($custom_attributes as $key => $value) {
|
||||
if (strpos($value, 0, 1) !== "_") {
|
||||
// Exclude total sales
|
||||
if($key != "custom_attributes_total_sales"){
|
||||
$value = str_replace("attribute","",$value);
|
||||
$dropdown .= "<option value='$key'>" . ucfirst($value) . "</option>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$dropdown .="</optgroup>";
|
||||
}
|
||||
return $dropdown;
|
||||
}
|
||||
|
||||
public function get_special_attributes_clean(){
|
||||
|
||||
$custom_attributes = $this->get_custom_attributes();
|
||||
return $custom_attributes;
|
||||
}
|
||||
|
||||
public function get_product_attributes_dropdown() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$attributes = array(
|
||||
"id" => "Product Id",
|
||||
"sku" => "SKU",
|
||||
"sku_id" => "SKU_ID (Facebook)",
|
||||
"parent_sku" => "SKU parent variable product",
|
||||
"sku_item_group_id" => "SKU_ITEM_GROUP_ID (Facebook)",
|
||||
"wc_post_id_product_id" => "Wc_post_id_product_id (Facebook)",
|
||||
"title" => "Product name",
|
||||
"title_slug" => "Product name slug",
|
||||
"title_hyphen" => "Product name hyphen",
|
||||
"mother_title" => "Product name parent product",
|
||||
"mother_title_hyphen" => "Product name parent product hyphen",
|
||||
"title_lc" => "Product name lowercase",
|
||||
"title_lcw" => "Product name uppercase first characters",
|
||||
"description" => "Product description",
|
||||
"short_description" => "Product short description",
|
||||
"raw_description" => "Unfiltered product description",
|
||||
"raw_short_description" => "Unfiltered product short description",
|
||||
"mother_description" => "Product description parent product",
|
||||
"mother_short_description" => "Product short description parent product",
|
||||
"price" => "Price",
|
||||
"regular_price" => "Regular price",
|
||||
"sale_price" => "Sale price",
|
||||
"net_price" => "Price excl. VAT",
|
||||
"net_regular_price" => "Regular price excl. VAT",
|
||||
"net_sale_price" => "Sale price excl. VAT",
|
||||
"price_forced" => "Price incl. VAT front end",
|
||||
"regular_price_forced" => "Regular price incl. VAT front end",
|
||||
"sale_price_forced" => "Sale price incl. VAT front end",
|
||||
"sale_price_start_date" => "Sale start date",
|
||||
"sale_price_end_date" => "Sale end date",
|
||||
"sale_price_effective_date" => "Sale price effective date",
|
||||
"rounded_price" => "Price rounded",
|
||||
"rounded_regular_price" => "Regular price rounded",
|
||||
"rounded_sale_price" => "Sale price rounded",
|
||||
"system_price" => "System price",
|
||||
"system_net_price" => "System price excl. VAT",
|
||||
"system_net_sale_price" => "System sale price excl. VAT",
|
||||
"system_net_regular_price" => "System regular price excl. VAT",
|
||||
"system_regular_price" => "System regular price",
|
||||
"system_sale_price" => "System sale price",
|
||||
"vivino_price" => "Pinterest / TikTok / Vivino price",
|
||||
"vivino_sale_price" => "Pinterest / TikTok / Vivino sale price",
|
||||
"vivino_regular_price" => "Pinterest / TikTok / Vivino regular price",
|
||||
"vivino_net_price" => "Pinterest / TikTok / Vivino price excl. VAT",
|
||||
"vivino_net_regular_price" => "Pinterest / TikTok / Vivino regular price excl. VAT",
|
||||
"vivino_net_sale_price" => "Pinterest / TikTok / Vivino sale price excl. VAT",
|
||||
"non_geo_wcml_price" => "Non GEO WCML price",
|
||||
"mm_min_price" => "Mix & Match minimum price",
|
||||
"mm_min_regular_price" => "Mix & Match minimum regular price",
|
||||
"mm_max_price" => "Mix & Match maximum price",
|
||||
"mm_max_regular_price" => "Mix & Match maximum regular price",
|
||||
"separator_price" => "Separator price",
|
||||
"separator_regular_price" => "Separator regular price",
|
||||
"separator_sale_price" => "Separator sale price",
|
||||
"discount_percentage" => "Discount percentage",
|
||||
"link" => "Link",
|
||||
"link_no_tracking" => "Link without parameters",
|
||||
"variable_link" => "Product variable link",
|
||||
"add_to_cart_link" => "Add to cart link",
|
||||
"product_creation_date" => "Product creation date",
|
||||
"days_back_created" => "Product days back created",
|
||||
"currency" => "Currency",
|
||||
"categories" => "Category",
|
||||
"category_link" => "Category link",
|
||||
"category_path" => "Category path",
|
||||
"category_path_short" => "Category path short",
|
||||
"category_path_skroutz" => "Category path Skroutz",
|
||||
"one_category" => "Yoast / Rankmath primary category",
|
||||
"nr_variations" => "Number of variations",
|
||||
"nr_variations_stock" => "Number of variations on stock",
|
||||
"yoast_gtin8" => "Yoast WooCommerce GTIN8",
|
||||
"yoast_gtin12" => "Yoast WooCommerce GTIN12",
|
||||
"yoast_gtin13" => "Yoast WooCommerce GTIN13",
|
||||
"yoast_gtin14" => "Yoast WooCommerce GTIN14",
|
||||
"yoast_isbn" => "Yoast WooCommerce ISBN",
|
||||
"yoast_mpn" => "Yoast WooCommerce MPN",
|
||||
"condition" => "Condition",
|
||||
"purchase_note" => "Purchase note",
|
||||
"availability" => "Availability",
|
||||
"availability_date_plus1week" => "Availability date + 1 week",
|
||||
"availability_date_plus2week" => "Availability date + 2 weeks",
|
||||
"availability_date_plus3week" => "Availability date + 3 weeks",
|
||||
"availability_date_plus4week" => "Availability date + 4 weeks",
|
||||
"availability_date_plus5week" => "Availability date + 5 weeks",
|
||||
"region_id" => "Region Id",
|
||||
"stock_status" => "Stock Status WooCommerce",
|
||||
"quantity" => "Quantity [Stock]",
|
||||
"virtual" => "Virtual",
|
||||
"downloadable" => "Downloadable",
|
||||
"product_type" => "Product Type",
|
||||
"content_type" => "Content Type",
|
||||
"exclude_from_catalog" => "Excluded from catalog",
|
||||
"exclude_from_search" => "Excluded from search",
|
||||
"exclude_from_all" => "Excluded from all (hidden)",
|
||||
"total_product_orders" => "Total product orders",
|
||||
"tax_status" => "Tax status",
|
||||
"tax_class" => "Tax class",
|
||||
"featured" => "Featured",
|
||||
"item_group_id" => "Item group ID",
|
||||
"weight" => "Weight",
|
||||
"width" => "Width",
|
||||
"height" => "Height",
|
||||
"length" => "Length",
|
||||
"shipping" => "Shipping",
|
||||
"shipping_price" => "Shipping cost",
|
||||
"lowest_shipping_costs" => "Lowest shipping costs",
|
||||
"shipping_label" => "Shipping class slug",
|
||||
"shipping_label_name" => "Shipping class name",
|
||||
"visibility" => "Visibility",
|
||||
"rating_total" => "Total rating",
|
||||
"rating_average" => "Average rating",
|
||||
);
|
||||
|
||||
$images = array(
|
||||
"image" => "Main image",
|
||||
"image_all" => "Main image simple and variations",
|
||||
"feature_image" => "Featured image",
|
||||
"image_1" => "Additional image 1",
|
||||
"image_2" => "Additional image 2",
|
||||
"image_3" => "Additional image 3",
|
||||
"image_4" => "Additional image 4",
|
||||
"image_5" => "Additional image 5",
|
||||
"image_6" => "Additional image 6",
|
||||
"image_7" => "Additional image 7",
|
||||
"image_8" => "Additional image 8",
|
||||
"image_9" => "Additional image 9",
|
||||
"image_10" => "Additional image 10",
|
||||
"all_images" => "All images (comma separated)",
|
||||
"all_gallery_images" => "All gallery images (comma separated)",
|
||||
"all_images_kogan" => "All images Kogan (pipe separated)",
|
||||
);
|
||||
|
||||
/**
|
||||
* Create dropdown with main attributes
|
||||
*/
|
||||
$dropdown = "<option></option>";
|
||||
$dropdown .= "<optgroup label='Main attributes'><strong>Main attributes</strong>";
|
||||
|
||||
foreach ($attributes as $key=>$value) {
|
||||
$dropdown .= "<option value='$key'>" . $value . "</option>";
|
||||
}
|
||||
|
||||
$dropdown .="</optgroup>";
|
||||
|
||||
/**
|
||||
* Create dropdown with image attributes
|
||||
*/
|
||||
$dropdown .= "<optgroup label='Image attributes'><strong>Image attributes</strong>";
|
||||
|
||||
foreach ($images as $key=>$value) {
|
||||
$dropdown .= "<option value='$key'>" . $value . "</option>";
|
||||
}
|
||||
$dropdown .="</optgroup>";
|
||||
|
||||
/**
|
||||
* Create dropdown with dynamic attributes
|
||||
*/
|
||||
$dynamic_attributes = $this->get_dynamic_attributes();
|
||||
|
||||
if($dynamic_attributes){
|
||||
$dropdown .= "<optgroup label='Dynamic attributes'><strong>Dynamic attributes</strong>";
|
||||
|
||||
foreach ($dynamic_attributes as $key => $value) {
|
||||
// if (strpos($value, 0, 1) !== "_") {
|
||||
$dropdown .= "<option value='$key'>" . ucfirst($value) . "</option>";
|
||||
// }
|
||||
}
|
||||
|
||||
$dropdown .="</optgroup>";
|
||||
}
|
||||
|
||||
$dropdown .= "<optgroup label='Google category taxonomy'><strong>Google category taxonomy</strong>";
|
||||
$dropdown .= "<option value='google_category'>Google category</option>";
|
||||
$dropdown .="</optgroup>";
|
||||
|
||||
/**
|
||||
* Create dropdown with custom attributes
|
||||
*/
|
||||
$custom_attributes = $this->get_custom_attributes();
|
||||
|
||||
if ( class_exists( 'All_in_One_SEO_Pack' ) ) {
|
||||
$custom_attributes['custom_attributes__aioseop_title'] = "All in one seo pack title";
|
||||
$custom_attributes['custom_attributes__aioseop_description'] = "All in one seo pack description";
|
||||
}
|
||||
|
||||
if($custom_attributes){
|
||||
$dropdown .= "<optgroup label='Custom field attributes'><strong>Custom field attributes</strong>";
|
||||
|
||||
foreach ($custom_attributes as $key => $value) {
|
||||
if (!preg_match("/pyre|sbg|fusion/i",$value)){
|
||||
$value = ltrim($value);
|
||||
if (!empty($value)){
|
||||
$dropdown .= "<option value='$key'>" . ucfirst($value) . "</option>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$dropdown .="</optgroup>";
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the product tag field
|
||||
*/
|
||||
$dropdown .= "<optgroup label='Other fields'><strong>Other fields</strong>";
|
||||
$dropdown .= "<option value='product_tag'>Product tags</option>";
|
||||
$dropdown .= "<option value='product_tag_space'>Product tags space</option>";
|
||||
$dropdown .= "<option value='menu_order'>Menu order</option>";
|
||||
$dropdown .= "<option value='reviews'>Reviews</option>";
|
||||
$dropdown .= "<option value='author'>Author</option>";
|
||||
$dropdown .= "</optgroup>";
|
||||
|
||||
// Did the user checked extra attributes
|
||||
if(get_option( 'woosea_extra_attributes' )){
|
||||
$extra_attributes = get_option( 'woosea_extra_attributes' );
|
||||
if($extra_attributes){
|
||||
array_walk($extra_attributes, function(&$value, $key) { $value .= ' (Added Custom attribute)';});
|
||||
$dropdown .= "<optgroup label='Added Custom Attributes'><strong>Added Custom Attributes</strong>";
|
||||
|
||||
foreach ($extra_attributes as $key => $value) {
|
||||
// if (strpos($value, 0, 1) !== "_") {
|
||||
$dropdown .= "<option value='$key'>" . ucfirst($value) . "</option>";
|
||||
// }
|
||||
}
|
||||
$dropdown .="</optgroup>";
|
||||
}
|
||||
}
|
||||
return $dropdown;
|
||||
}
|
||||
|
||||
public function get_product_attributes() {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$attributes = array(
|
||||
"id" => "Product Id",
|
||||
"sku" => "SKU",
|
||||
"sku_id" => "SKU_ID (Facebook)",
|
||||
"parent_sku" => "SKU parent variable product",
|
||||
"sku_item_group_id" => "SKU_ITEM_GROUP_ID (Facebook)",
|
||||
"wc_post_id_product_id" => "Wc_post_id_product_id (Facebook)",
|
||||
"title" => "Product name",
|
||||
"title_slug" => "Product name slug",
|
||||
"title_hyphen" => "Product name hyphen",
|
||||
"mother_title" => "Product name parent product",
|
||||
"mother_title_hyphen" => "Product name parent product hyphen",
|
||||
"title_lc" => "Product name lowercase",
|
||||
"title_lcw" => "Product name uppercase first characters",
|
||||
"description" => "Product description",
|
||||
"short_description" => "Product short description",
|
||||
"raw_description" => "Unfiltered product description",
|
||||
"raw_short_description" => "Unfiltered product short description",
|
||||
"mother_description" => "Product description parent product",
|
||||
"mother_short_description" => "Product short description parent product",
|
||||
"link" => "Link",
|
||||
"link_no_tracking" => "Link without parameters",
|
||||
"variable_link" => "Product variable link",
|
||||
"add_to_cart_link" => "Add to cart link",
|
||||
"image" => "Main image",
|
||||
"image_all" => "Main image simple and variations",
|
||||
"feature_image" => "Feature image",
|
||||
"product_type" => "Product Type",
|
||||
"content_type" => "Content Type",
|
||||
"exclude_from_catalog" => "Excluded from catalog",
|
||||
"exclude_from_search" => "Excluded from search",
|
||||
"exclude_from_all" => "Excluded from all (hidden)",
|
||||
"total_product_orders" => "Total product orders",
|
||||
"featured" => "Featured",
|
||||
"tax_status" => "Tax status",
|
||||
"tax_class" => "Tax class",
|
||||
"currency" => "Currency",
|
||||
"categories" => "Category",
|
||||
"raw_categories" => "Category (not used for mapping)",
|
||||
"google_category" => "Google category (for rules and filters only)",
|
||||
"category_link" => "Category link",
|
||||
"category_path" => "Category path",
|
||||
"category_path_short" => "Category path short",
|
||||
"category_path_skroutz" => "Category path Skroutz",
|
||||
"one_category" => "Yoast / Rankmath primary category",
|
||||
"nr_variations" => "Number of variations",
|
||||
"nr_variations_stock" => "Number of variations on stock",
|
||||
"yoast_gtin8" => "Yoast WooCommerce GTIN8",
|
||||
"yoast_gtin12" => "Yoast WooCommerce GTIN12",
|
||||
"yoast_gtin13" => "Yoast WooCommerce GTIN13",
|
||||
"yoast_gtin14" => "Yoast WooCommerce GTIN14",
|
||||
"yoast_isbn" => "Yoast WooCommerce ISBN",
|
||||
"yoast_mpn" => "Yoast WooCommerce MPN",
|
||||
"condition" => "Condition",
|
||||
"purchase_note" => "Purchase note",
|
||||
"availability" => "Availability",
|
||||
"availability_date_plus1week" => "Availability date + 1 week",
|
||||
"availability_date_plus2week" => "Availability date + 2 weeks",
|
||||
"availability_date_plus3week" => "Availability date + 3 weeks",
|
||||
"availability_date_plus4week" => "Availability date + 4 weeks",
|
||||
"availability_date_plus5week" => "Availability date + 5 weeks",
|
||||
"region_id" => "Region Id",
|
||||
"stock_status" => "Stock Status WooCommerce",
|
||||
"quantity" => "Quantity [Stock]",
|
||||
"virtual" => "Virtual",
|
||||
"downloadable" => "Downloadable",
|
||||
"price" => "Price",
|
||||
"regular_price" => "Regular price",
|
||||
"sale_price" => "Sale price",
|
||||
"net_price" => "Price excl. VAT",
|
||||
"net_regular_price" => "Regular price excl. VAT",
|
||||
"net_sale_price" => "Sale price excl. VAT",
|
||||
"price_forced" => "Price incl. VAT front end",
|
||||
"regular_price_forced" => "Regular price incl. VAT front end",
|
||||
"sale_price_forced" => "Sale price incl. VAT front end",
|
||||
"sale_price_start_date" => "Sale start date",
|
||||
"sale_price_end_date" => "Sale end date",
|
||||
"sale_price_effective_date" => "Sale price effective date",
|
||||
"rounded_price" => "Price rounded",
|
||||
"rounded_regular_price" => "Regular price rounded",
|
||||
"rounded_sale_price" => "Sale price rounded",
|
||||
"system_price" => "System price",
|
||||
"system_net_price" => "System price excl. VAT",
|
||||
"system_net_sale_price" => "System sale price excl. VAT",
|
||||
"system_net_regular_price" => "System regular price excl. VAT",
|
||||
"system_regular_price" => "System regular price",
|
||||
"system_sale_price" => "System sale price",
|
||||
"vivino_price" => "Pinterest / TikTok / Vivino price",
|
||||
"vivino_sale_price" => "Pinterest / TikTok / Vivino sale price",
|
||||
"vivino_regular_price" => "Pinterest / TikTok / Vivino regular price",
|
||||
"vivino_net_price" => "Pinterest / TikTok / Vivino price excl. VAT",
|
||||
"vivino_net_regular_price" => "Pinterest / TikTok / Vivino regular price excl. VAT",
|
||||
"vivino_net_sale_price" => "Pinterest / TikTok / Vivino sale price excl. VAT",
|
||||
"non_geo_wcml_price" => "Non GEO WCML price",
|
||||
"mm_min_price" => "Mix & Match minimum price",
|
||||
"mm_min_regular_price" => "Mix & Match minimum regular price",
|
||||
"mm_max_price" => "Mix & Match maximum price",
|
||||
"mm_max_regular_price" => "Mix & Match maximum regular price",
|
||||
"separator_price" => "Separator price",
|
||||
"separator_regular_price" => "Separator regular price",
|
||||
"separator_sale_price" => "Separator sale price",
|
||||
"discount_percentage" => "Discount percentage",
|
||||
"item_group_id" => "Item group ID",
|
||||
"weight" => "Weight",
|
||||
"width" => "Width",
|
||||
"height" => "Height",
|
||||
"length" => "Length",
|
||||
"shipping" => "Shipping",
|
||||
"shipping_price" => "Shipping cost",
|
||||
"lowest_shipping_costs" => "Lowest shipping costs",
|
||||
"shipping_label" => "Shipping class slug",
|
||||
"shipping_label_name" => "Shipping class name",
|
||||
"visibility" => "Visibility",
|
||||
"rating_total" => "Total rating",
|
||||
"rating_average" => "Average rating",
|
||||
"amount_sales" => "Amount of sales",
|
||||
"product_creation_date" => "Product creation date",
|
||||
"days_back_created" => "Product days back created",
|
||||
);
|
||||
|
||||
$images = array(
|
||||
"image" => "Main image",
|
||||
"image_all" => "Main image simple and variations",
|
||||
"feature_image" => "Featured image",
|
||||
"image_1" => "Additional image 1",
|
||||
"image_2" => "Additional image 2",
|
||||
"image_3" => "Additional image 3",
|
||||
"image_4" => "Additional image 4",
|
||||
"image_5" => "Additional image 5",
|
||||
"image_6" => "Additional image 6",
|
||||
"image_7" => "Additional image 7",
|
||||
"image_8" => "Additional image 8",
|
||||
"image_9" => "Additional image 9",
|
||||
"image_10" => "Additional image 10",
|
||||
"all_images" => "All images (comma separated)",
|
||||
"all_gallery_images" => "All gallery images (comma separated)",
|
||||
"all_images_kogan" => "All images Kogan (pipe separated)",
|
||||
);
|
||||
|
||||
$attributes = array_merge($attributes, $images);
|
||||
|
||||
$static = array(
|
||||
"installment" => "Installment",
|
||||
"static_value" => "Static value",
|
||||
"calculated" => "Plugin calculation",
|
||||
"product_tag" => "Product tags",
|
||||
"product_tag_space" => "Product tags space",
|
||||
"product_detail" => "Product detail",
|
||||
"product_highlight" => "Product highlight",
|
||||
"menu_order" => "Menu order",
|
||||
"reviews" => "Reviews",
|
||||
"author" => "Author",
|
||||
);
|
||||
|
||||
$attributes = array_merge($attributes, $static);
|
||||
|
||||
if(is_array($this->get_dynamic_attributes())){
|
||||
$dynamic_attributes = $this->get_dynamic_attributes();
|
||||
array_walk($dynamic_attributes, function(&$value, $key) { $value .= ' (Dynamic attribute)';});
|
||||
$attributes = array_merge($attributes, $dynamic_attributes);
|
||||
}
|
||||
|
||||
$custom_attributes = $this->get_custom_attributes();
|
||||
|
||||
if ( class_exists( 'All_in_One_SEO_Pack' ) ) {
|
||||
$custom_attributes['custom_attributes__aioseop_title'] = "All in one seo pack title";
|
||||
$custom_attributes['custom_attributes__aioseop_description'] = "All in one seo pack description";
|
||||
}
|
||||
|
||||
array_walk($custom_attributes, function(&$value, $key) { $value .= ' (Custom attribute)';});
|
||||
$attributes = array_merge($attributes, $custom_attributes);
|
||||
|
||||
$attributes = array_merge($attributes, $static);
|
||||
|
||||
// Did the user checked extra attributes
|
||||
if(get_option( 'woosea_extra_attributes' )){
|
||||
$extra_attributes = get_option( 'woosea_extra_attributes' );
|
||||
array_walk($extra_attributes, function(&$value, $key) { $value .= ' (Added Custom attribute)';});
|
||||
$attributes = array_merge($attributes, $extra_attributes);
|
||||
}
|
||||
return $attributes;
|
||||
}
|
||||
|
||||
public static function get_standard_attributes($project) {
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$standard_attributes = array(
|
||||
"id" => "Product Id",
|
||||
"title" => "Product name",
|
||||
"categories" => "Category",
|
||||
);
|
||||
|
||||
if ($project['taxonomy'] == 'google_shopping'){
|
||||
$standard_attributes["google_product_category"] = "Google product category";
|
||||
} elseif ($project['taxonomy'] != 'none'){
|
||||
$standard_attributes["$project[name]_product_category"] = "$project[name] category";
|
||||
}
|
||||
|
||||
return $standard_attributes;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* This class sets the wp_cron with intervals
|
||||
*/
|
||||
class WooSEA_Cron {
|
||||
/**
|
||||
* Function for setting a cron job for regular creation of the feed
|
||||
* Will create a new event when an old one exists, which will be deleted first
|
||||
*/
|
||||
function woosea_cron_scheduling ( $scheduling ) {
|
||||
if (!wp_next_scheduled( 'woosea_cron_hook' ) ) {
|
||||
wp_schedule_event ( time(), 'hourly', 'woosea_cron_hook');
|
||||
} else {
|
||||
wp_schedule_event ( time(), 'hourly', 'woosea_cron_hook');
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* Clean up your mess like your mom always told you to do :-)
|
||||
* This class is called upon plugin deactivation and cleans up cron and variables
|
||||
* We do NOT delete previously configured feeds and it events as one would like to re-use it when the plugin gets activated again
|
||||
*/
|
||||
class WooSEA_Deactivate_Cleanup {
|
||||
public static function deactivate_cleanup() {
|
||||
wp_clear_scheduled_hook('woosea_cron_hook');
|
||||
wp_clear_scheduled_hook( 'woosea_check_license' );
|
||||
delete_option('woosea_getelite_notification');
|
||||
delete_option('woosea_license_notification_closed'); // This one is new
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* This class sets Google Remarketing functions
|
||||
*/
|
||||
class WooSEA_Google_Remarketing {
|
||||
|
||||
public static function woosea_google_remarketing_pagetype ( ) {
|
||||
$ecomm_pagetype = "other"; // set a default
|
||||
|
||||
if (in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
|
||||
if(is_product()){
|
||||
$ecomm_pagetype = "product";
|
||||
} elseif (is_cart()){
|
||||
$ecomm_pagetype = "cart";
|
||||
} elseif (is_checkout()){
|
||||
$ecomm_pagetype = "cart";
|
||||
} elseif (is_product_category()){
|
||||
$ecomm_pagetype = "category";
|
||||
} elseif (is_front_page()){
|
||||
$ecomm_pagetype = "home";
|
||||
} elseif (is_search()){
|
||||
$ecomm_pagetype = "searchresults";
|
||||
} else {
|
||||
$ecomm_pagetype = "other";
|
||||
}
|
||||
}
|
||||
return $ecomm_pagetype;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Clean up your mess like your mom always told you to do :-)
|
||||
* This class is called upon plugin uninstalling and cleans up cron hooks and wp_options
|
||||
* When the plugin is removed completely the configured projects will be losed and deleted
|
||||
*/
|
||||
class WooSEA_Uninstall_Cleanup {
|
||||
public static function uninstall_cleanup() {
|
||||
wp_clear_scheduled_hook( 'woosea_cron_hook' );
|
||||
wp_clear_scheduled_hook( 'woosea_check_license' );
|
||||
// delete_option( 'channel_statics' );
|
||||
// delete_option( 'cron_projects' );
|
||||
// delete_option('woosea_getelite_notification');
|
||||
// delete_option('woosea_license_notification_closed'); // This one is new
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,332 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This class is called to:
|
||||
* - retrieve channel settings and configuration, function: get_channel_data
|
||||
* - update project configuration during steps, function: update_project
|
||||
* - add project configuration to cron option and clear current project config, function: add_project_cron
|
||||
*/
|
||||
class WooSEA_Update_Project
|
||||
{
|
||||
|
||||
public $channel_data;
|
||||
public $channel_update;
|
||||
private $project_config;
|
||||
private $project_hash;
|
||||
|
||||
/**
|
||||
* Get generic channel information
|
||||
*/
|
||||
public static function get_channel_data($channel_hash)
|
||||
{
|
||||
$channel_statics = get_option('channel_statics');
|
||||
|
||||
foreach ($channel_statics as $key => $val)
|
||||
{
|
||||
|
||||
foreach ($val as $k => $v)
|
||||
{
|
||||
if ($channel_hash === $v['channel_hash'])
|
||||
{
|
||||
$channel_data = $v;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $channel_data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get project configuration
|
||||
*/
|
||||
public static function get_project_data($project_hash)
|
||||
{
|
||||
if (get_option('cron_projects'))
|
||||
{
|
||||
$cron_projects = get_option('cron_projects');
|
||||
$project_config = array();
|
||||
|
||||
foreach ($cron_projects as $key => $val)
|
||||
{
|
||||
//if(!empty($val)){
|
||||
if (!empty($val['project_hash']))
|
||||
{
|
||||
if ($val['project_hash'] === $project_hash)
|
||||
{
|
||||
$project_config = $val;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $project_config;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update individual project configuration
|
||||
*/
|
||||
public static function update_project_data($project)
|
||||
{
|
||||
if (get_option('cron_projects'))
|
||||
{
|
||||
$cron_projects = get_option('cron_projects');
|
||||
|
||||
foreach ($cron_projects as $key => $val)
|
||||
{
|
||||
if (!empty($val))
|
||||
{
|
||||
if ($val['project_hash'] === $project['project_hash'])
|
||||
{
|
||||
$cron_projects[$key] = $project;
|
||||
update_option('cron_projects', $cron_projects, 'no');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static function update_project($project_data)
|
||||
{
|
||||
if (!array_key_exists('project_hash', $project_data))
|
||||
{
|
||||
$upload_dir = wp_upload_dir();
|
||||
$external_base = $upload_dir['baseurl'];
|
||||
$external_path = $external_base . "/woo-product-feed-pro/" . $project_data['fileformat'];
|
||||
$channel_statics = get_option('channel_statics');
|
||||
|
||||
foreach ($channel_statics as $key => $val)
|
||||
{
|
||||
|
||||
foreach ($val as $k => $v)
|
||||
{
|
||||
if ($project_data['channel_hash'] == $v['channel_hash'])
|
||||
{
|
||||
$project_fill = array_merge($v, $project_data);
|
||||
|
||||
// New code to create the project hash so dependency on openSSL is removed
|
||||
$keyspace = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
||||
$pieces = [];
|
||||
$length = 32;
|
||||
$max = mb_strlen($keyspace, '8bit') - 1;
|
||||
for ($i = 0; $i < $length; ++$i)
|
||||
{
|
||||
$pieces[] = $keyspace[random_int(0, $max)];
|
||||
}
|
||||
$project_fill['project_hash'] = implode('', $pieces);
|
||||
$project_fill['filename'] = $project_fill['project_hash'];
|
||||
$project_fill['external_file'] = $external_path . "/" . sanitize_file_name($project_fill['filename']) . "." . $project_fill['fileformat'];
|
||||
$project_fill['query_log'] = $external_base . "/woo-product-feed-pro/logs/query.log";
|
||||
$project_fill['query_output_log'] = $external_base . "/woo-product-feed-pro/logs/query_output.log";
|
||||
}
|
||||
}
|
||||
}
|
||||
update_option('channel_project', $project_fill, '');
|
||||
}
|
||||
else
|
||||
{
|
||||
$project_temp = get_option('channel_project');
|
||||
if (is_array($project_temp))
|
||||
{
|
||||
$project_fill = array_merge($project_temp, $project_data);
|
||||
}
|
||||
else
|
||||
{
|
||||
$project_fill = $project_data;
|
||||
}
|
||||
update_option('channel_project', $project_fill, '');
|
||||
}
|
||||
return $project_fill;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function takes care of updating project settings whenever an user updates a project
|
||||
*/
|
||||
public static function reconfigure_project($project_data)
|
||||
{
|
||||
$project_hash = $project_data['project_hash'];
|
||||
|
||||
if (get_option('cron_projects'))
|
||||
{
|
||||
$cron_projects = get_option('cron_projects');
|
||||
|
||||
foreach ($cron_projects as $key => $val)
|
||||
{
|
||||
if (!empty($val))
|
||||
{
|
||||
foreach ($val as $k => $v)
|
||||
{
|
||||
if (!is_array($v))
|
||||
{
|
||||
if (($v === $project_hash) and ($k === "project_hash"))
|
||||
{
|
||||
$project_config = $val;
|
||||
$remove_key = $key;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update project hash with new values
|
||||
*/
|
||||
|
||||
foreach ($project_data as $key => $val)
|
||||
{
|
||||
$project_config[$key] = $val;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update some project configs
|
||||
*/
|
||||
$project_config['last_updated'] = date("d M Y H:i");
|
||||
$count_products = wp_count_posts('product', 'product_variation');
|
||||
$count_variation = wp_count_posts('product_variation');
|
||||
$count_single = wp_count_posts('product');
|
||||
$published_single = $count_single->publish;
|
||||
$published_variation = $count_variation->publish;
|
||||
$published_products = $published_single + $published_variation;
|
||||
$project_config['nr_products'] = $published_products;
|
||||
$project_config['nr_products_processed'] = 0;
|
||||
|
||||
/**
|
||||
* We might have to change the file extension
|
||||
*/
|
||||
$upload_dir = wp_upload_dir();
|
||||
$external_base = $upload_dir['baseurl'];
|
||||
$external_path = $external_base . "/woo-product-feed-pro/" . $project_config['fileformat'];
|
||||
$project_config['external_file'] = $external_path . "/" . sanitize_file_name($project_config['filename']) . "." . $project_config['fileformat'];
|
||||
|
||||
if ((array_key_exists('woosea_page', $project_data)) and ($project_data['woosea_page'] == "analytics"))
|
||||
{
|
||||
/**
|
||||
* Did the Google Analytics UTM code part got disabled?
|
||||
*/
|
||||
if (!array_key_exists('utm_on', $project_data))
|
||||
{
|
||||
unset($project_config['utm_on']);
|
||||
}
|
||||
/**
|
||||
* Did the conversion tracking got disabled?
|
||||
*/
|
||||
if (!array_key_exists('adtribes_conversion', $project_data))
|
||||
{
|
||||
unset($project_config['adtribes_conversion']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Did the product variations support got disabled?
|
||||
*/
|
||||
if (array_key_exists('fileformat', $project_data))
|
||||
{
|
||||
if (!array_key_exists('product_variations', $project_data))
|
||||
{
|
||||
unset($project_config['product_variations']);
|
||||
unset($project_config['productname_append']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Did the default product variations got disabled?
|
||||
*/
|
||||
if (array_key_exists('fileformat', $project_data))
|
||||
{
|
||||
if (!array_key_exists('default_variations', $project_data))
|
||||
{
|
||||
unset($project_config['default_variations']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Did the lowest price product variations got disabled?
|
||||
*/
|
||||
if (array_key_exists('fileformat', $project_data))
|
||||
{
|
||||
if (!array_key_exists('lowest_price_variations', $project_data))
|
||||
{
|
||||
unset($project_config['lowest_price_variations']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Did the option to only update the feed when products changed got disabled?
|
||||
*/
|
||||
if (array_key_exists('fileformat', $project_data))
|
||||
{
|
||||
if (!array_key_exists('products_changed', $project_data))
|
||||
{
|
||||
unset($project_config['products_changed']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Did all the filters got removed
|
||||
*/
|
||||
if ((array_key_exists('woosea_page', $project_data)) and ($project_data['woosea_page'] == "filters_rules"))
|
||||
{
|
||||
if (!array_key_exists('rules', $project_data))
|
||||
{
|
||||
unset($project_config['rules']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Did all the rules got removed
|
||||
*/
|
||||
if ((array_key_exists('woosea_page', $project_data)) and ($project_data['woosea_page'] == "filters_rules"))
|
||||
{
|
||||
if (!array_key_exists('rules2', $project_data))
|
||||
{
|
||||
unset($project_config['rules2']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Did all the field manipulations got removed
|
||||
*/
|
||||
if ((array_key_exists('woosea_page', $project_data)) and ($project_data['woosea_page'] == "field_manipulation"))
|
||||
{
|
||||
if (!array_key_exists('field_manipulation', $project_data))
|
||||
{
|
||||
unset($project_config['field_manipulation']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update cron with new project settings
|
||||
*/
|
||||
$add_to_cron = WooSEA_Update_Project::add_project_cron($project_config, $remove_key);
|
||||
|
||||
return $project_config;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function add's a project configuration to the list of projects needed for the cron
|
||||
* it also delete's the current project configuration from the channel_project option for a next project
|
||||
*/
|
||||
public static function add_project_cron($project_data, $key)
|
||||
{
|
||||
if (get_option('cron_projects'))
|
||||
{
|
||||
$cron_projects = get_option('cron_projects');
|
||||
if (is_int($key))
|
||||
{
|
||||
$cron_projects[$key] = $project_data;
|
||||
}
|
||||
else
|
||||
{
|
||||
array_push($cron_projects, $project_data);
|
||||
}
|
||||
update_option('cron_projects', $cron_projects);
|
||||
}
|
||||
else
|
||||
{
|
||||
$cron_projects = array(); // Create a new multidimensional array for the cron projects
|
||||
array_push($cron_projects, $project_data);
|
||||
update_option('cron_projects', $cron_projects);
|
||||
}
|
||||
|
||||
// Clear channel_project option
|
||||
delete_option('channel_project');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
/**
|
||||
* Nothing to see here
|
||||
*/
|
||||
?>
|
||||
5
wp-content/plugins/woo-product-feed-pro/css/index.php
Normal file
5
wp-content/plugins/woo-product-feed-pro/css/index.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
/**
|
||||
* Nothing to see here
|
||||
*/
|
||||
?>
|
||||
642
wp-content/plugins/woo-product-feed-pro/css/jquery-ui.css
vendored
Normal file
642
wp-content/plugins/woo-product-feed-pro/css/jquery-ui.css
vendored
Normal file
@@ -0,0 +1,642 @@
|
||||
/*! jQuery UI - v1.12.0 - 2016-07-08
|
||||
* http://jqueryui.com
|
||||
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
.ui-icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-top: -.25em;
|
||||
position: relative;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ui-widget-icon-block {
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ui-autocomplete {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* icon support */
|
||||
.ui-menu-icons {
|
||||
position: relative;
|
||||
}
|
||||
.ui-menu-icons .ui-menu-item-wrapper {
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
/* left-aligned */
|
||||
.ui-menu .ui-icon {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: .2em;
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
/* right-aligned */
|
||||
.ui-menu .ui-menu-icon {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.ui-button {
|
||||
padding: .4em 1em;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
line-height: normal;
|
||||
margin-right: .1em;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
/* Support: IE <= 11 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.ui-button,
|
||||
.ui-button:link,
|
||||
.ui-button:visited,
|
||||
.ui-button:hover,
|
||||
.ui-button:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* to make room for the icon, a width needs to be set here */
|
||||
.ui-button-icon-only {
|
||||
width: 2em;
|
||||
box-sizing: border-box;
|
||||
text-indent: -9999px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* no icon support for input elements */
|
||||
input.ui-button.ui-button-icon-only {
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
/* button icon element(s) */
|
||||
.ui-button-icon-only .ui-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -8px;
|
||||
margin-left: -8px;
|
||||
}
|
||||
|
||||
.ui-button.ui-icon-notext .ui-icon {
|
||||
padding: 0;
|
||||
width: 2.1em;
|
||||
height: 2.1em;
|
||||
text-indent: -9999px;
|
||||
white-space: nowrap;
|
||||
|
||||
}
|
||||
|
||||
input.ui-button.ui-icon-notext .ui-icon {
|
||||
width: auto;
|
||||
height: auto;
|
||||
text-indent: 0;
|
||||
white-space: normal;
|
||||
padding: .4em 1em;
|
||||
}
|
||||
|
||||
/* workarounds */
|
||||
/* Support: Firefox 5 - 40 */
|
||||
input.ui-button::-moz-focus-inner,
|
||||
button.ui-button::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.ui-controlgroup {
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
.ui-controlgroup > .ui-controlgroup-item {
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
.ui-controlgroup > .ui-controlgroup-item:focus,
|
||||
.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus {
|
||||
z-index: 9999;
|
||||
}
|
||||
.ui-controlgroup-vertical > .ui-controlgroup-item {
|
||||
display: block;
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
}
|
||||
.ui-controlgroup-vertical .ui-controlgroup-item {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ui-controlgroup .ui-controlgroup-label {
|
||||
padding: .4em 1em;
|
||||
}
|
||||
.ui-controlgroup .ui-controlgroup-label span {
|
||||
font-size: 80%;
|
||||
}
|
||||
.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item {
|
||||
border-left: none;
|
||||
}
|
||||
.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item {
|
||||
border-top: none;
|
||||
}
|
||||
.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content {
|
||||
border-right: none;
|
||||
}
|
||||
.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.ui-checkboxradio-label .ui-icon-background {
|
||||
box-shadow: inset 1px 1px 1px #ccc;
|
||||
border-radius: .12em;
|
||||
border: none;
|
||||
}
|
||||
.ui-checkboxradio-radio-label .ui-icon-background {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 1em;
|
||||
overflow: visible;
|
||||
border: none;
|
||||
}
|
||||
.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,
|
||||
.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon {
|
||||
background-image: none;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-width: 4px;
|
||||
border-style: solid;
|
||||
}
|
||||
.ui-checkboxradio-disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
.ui-datepicker .ui-icon {
|
||||
display: block;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
left: .5em;
|
||||
top: .3em;
|
||||
}
|
||||
.ui-dialog {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: .2em;
|
||||
outline: 0;
|
||||
z-index: 9999;
|
||||
}
|
||||
.ui-dialog .ui-dialog-titlebar {
|
||||
padding: .4em 1em;
|
||||
position: relative;
|
||||
}
|
||||
.ui-dialog .ui-dialog-title {
|
||||
float: left;
|
||||
margin: .1em 0;
|
||||
white-space: nowrap;
|
||||
width: 90%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.ui-dialog .ui-dialog-titlebar-close {
|
||||
position: absolute;
|
||||
right: .3em;
|
||||
top: 50%;
|
||||
width: 20px;
|
||||
margin: -10px 0 0 0;
|
||||
padding: 1px;
|
||||
height: 20px;
|
||||
}
|
||||
.ui-dialog .ui-dialog-content {
|
||||
position: relative;
|
||||
border: 0;
|
||||
padding: .5em 1em;
|
||||
background: white;
|
||||
overflow: auto;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane {
|
||||
text-align: left;
|
||||
border-width: 1px 0 0 0;
|
||||
background-image: none;
|
||||
margin-top: .5em;
|
||||
padding: .3em 1em .5em .4em;
|
||||
z-index: 9999;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
|
||||
float: right;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane button {
|
||||
margin: .5em .4em .5em 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ui-dialog .ui-resizable-n {
|
||||
height: 2px;
|
||||
top: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-e {
|
||||
width: 2px;
|
||||
right: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-s {
|
||||
height: 2px;
|
||||
bottom: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-w {
|
||||
width: 2px;
|
||||
left: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-se,
|
||||
.ui-dialog .ui-resizable-sw,
|
||||
.ui-dialog .ui-resizable-ne,
|
||||
.ui-dialog .ui-resizable-nw {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
}
|
||||
.ui-dialog .ui-resizable-se {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-sw {
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-ne {
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.ui-dialog .ui-resizable-nw {
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default,
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default,
|
||||
.ui-button,
|
||||
|
||||
/* We use html here because we need a greater specificity to make sure disabled
|
||||
works properly when clicked or hovered */
|
||||
html .ui-button.ui-state-disabled:hover,
|
||||
html .ui-button.ui-state-disabled:active {
|
||||
border: 1px solid #c5c5c5;
|
||||
// background: #f6f6f6;
|
||||
font-weight: normal;
|
||||
color: #454545;
|
||||
}
|
||||
.ui-state-default a,
|
||||
.ui-state-default a:link,
|
||||
.ui-state-default a:visited,
|
||||
a.ui-button,
|
||||
a:link.ui-button,
|
||||
a:visited.ui-button,
|
||||
.ui-button {
|
||||
color: #454545;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-hover,
|
||||
.ui-widget-content .ui-state-hover,
|
||||
.ui-widget-header .ui-state-hover,
|
||||
.ui-state-focus,
|
||||
.ui-widget-content .ui-state-focus,
|
||||
.ui-widget-header .ui-state-focus,
|
||||
.ui-button:hover,
|
||||
.ui-button:focus {
|
||||
border: 1px solid #cccccc;
|
||||
background: #ededed;
|
||||
font-weight: normal;
|
||||
color: #2b2b2b;
|
||||
}
|
||||
.ui-state-hover a,
|
||||
.ui-state-hover a:hover,
|
||||
.ui-state-hover a:link,
|
||||
.ui-state-hover a:visited,
|
||||
.ui-state-focus a,
|
||||
.ui-state-focus a:hover,
|
||||
.ui-state-focus a:link,
|
||||
.ui-state-focus a:visited,
|
||||
a.ui-button:hover,
|
||||
a.ui-button:focus {
|
||||
color: #2b2b2b;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ui-visual-focus {
|
||||
box-shadow: 0 0 3px 1px rgb(94, 158, 214);
|
||||
}
|
||||
.ui-state-active,
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active,
|
||||
a.ui-button:active,
|
||||
.ui-button:active,
|
||||
.ui-button.ui-state-active:hover {
|
||||
border: 1px solid #003eff;
|
||||
background: #007fff;
|
||||
font-weight: normal;
|
||||
color: #ffffff;
|
||||
}
|
||||
.ui-icon-background,
|
||||
.ui-state-active .ui-icon-background {
|
||||
border: #003eff;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.ui-state-active a,
|
||||
.ui-state-active a:link,
|
||||
.ui-state-active a:visited {
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight,
|
||||
.ui-widget-content .ui-state-highlight,
|
||||
.ui-widget-header .ui-state-highlight {
|
||||
border: 1px solid #dad55e;
|
||||
background: #fffa90;
|
||||
color: #777620;
|
||||
}
|
||||
.ui-state-checked {
|
||||
border: 1px solid #dad55e;
|
||||
background: #fffa90;
|
||||
}
|
||||
.ui-state-highlight a,
|
||||
.ui-widget-content .ui-state-highlight a,
|
||||
.ui-widget-header .ui-state-highlight a {
|
||||
color: #777620;
|
||||
}
|
||||
.ui-state-error,
|
||||
.ui-widget-content .ui-state-error,
|
||||
.ui-widget-header .ui-state-error {
|
||||
border: 1px solid #f1a899;
|
||||
background: #fddfdf;
|
||||
color: #5f3f3f;
|
||||
}
|
||||
.ui-state-error a,
|
||||
.ui-widget-content .ui-state-error a,
|
||||
.ui-widget-header .ui-state-error a {
|
||||
color: #5f3f3f;
|
||||
}
|
||||
.ui-state-error-text,
|
||||
.ui-widget-content .ui-state-error-text,
|
||||
.ui-widget-header .ui-state-error-text {
|
||||
color: #5f3f3f;
|
||||
}
|
||||
.ui-priority-primary,
|
||||
.ui-widget-content .ui-priority-primary,
|
||||
.ui-widget-header .ui-priority-primary {
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-priority-secondary,
|
||||
.ui-widget-content .ui-priority-secondary,
|
||||
.ui-widget-header .ui-priority-secondary {
|
||||
opacity: .7;
|
||||
filter:Alpha(Opacity=70); /* support: IE8 */
|
||||
font-weight: normal;
|
||||
}
|
||||
.ui-state-disabled,
|
||||
.ui-widget-content .ui-state-disabled,
|
||||
.ui-widget-header .ui-state-disabled {
|
||||
opacity: .35;
|
||||
filter:Alpha(Opacity=35); /* support: IE8 */
|
||||
background-image: none;
|
||||
}
|
||||
.ui-state-disabled .ui-icon {
|
||||
filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
|
||||
}
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.ui-icon,
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url("../images/ui-icons_444444_256x240.png");
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("../images/ui-icons_444444_256x240.png");
|
||||
}
|
||||
.ui-button .ui-icon {
|
||||
background-image: url("../images/ui-icons_777777_256x240.png");
|
||||
}
|
||||
.ui-state-hover .ui-icon,
|
||||
.ui-state-focus .ui-icon,
|
||||
.ui-button:hover .ui-icon,
|
||||
.ui-button:focus .ui-icon,
|
||||
.ui-state-default .ui-icon {
|
||||
background-image: url("../images/ui-icons_555555_256x240.png");
|
||||
}
|
||||
.ui-state-active .ui-icon,
|
||||
.ui-button:active .ui-icon {
|
||||
background-image: url("../images/ui-icons_ffffff_256x240.png");
|
||||
}
|
||||
.ui-state-highlight .ui-icon,
|
||||
.ui-button .ui-state-highlight.ui-icon {
|
||||
background-image: url("../images/ui-icons_777620_256x240.png");
|
||||
}
|
||||
.ui-state-error .ui-icon,
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url("../images/ui-icons_cc0000_256x240.png");
|
||||
}
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-blank { background-position: 16px 16px; }
|
||||
.ui-icon-caret-1-n { background-position: 0 0; }
|
||||
.ui-icon-caret-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-caret-1-e { background-position: -32px 0; }
|
||||
.ui-icon-caret-1-se { background-position: -48px 0; }
|
||||
.ui-icon-caret-1-s { background-position: -65px 0; }
|
||||
.ui-icon-caret-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-caret-1-w { background-position: -96px 0; }
|
||||
.ui-icon-caret-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-caret-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-caret-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -65px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -65px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 1px -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-on { background-position: -96px -144px; }
|
||||
.ui-icon-radio-off { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
610
wp-content/plugins/woo-product-feed-pro/css/jquery.typeahead.css
Normal file
610
wp-content/plugins/woo-product-feed-pro/css/jquery.typeahead.css
Normal file
@@ -0,0 +1,610 @@
|
||||
.typeahead__container {
|
||||
/**
|
||||
* Restore the font weight unset by the previous rule.
|
||||
*/
|
||||
/**
|
||||
* Show the overflow in IE.
|
||||
* 1. Show the overflow in Edge.
|
||||
*/
|
||||
/**
|
||||
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||
* 1. Remove the inheritance of text transform in Firefox.
|
||||
*/
|
||||
/**
|
||||
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
||||
* controls in Android 4.
|
||||
* 2. Correct the inability to style clickable types in iOS and Safari.
|
||||
*/
|
||||
/**
|
||||
* Remove the inner border and padding in Firefox.
|
||||
*/
|
||||
/**
|
||||
* Restore the focus styles unset by the previous rule.
|
||||
*/
|
||||
/**
|
||||
* Change the border, margin, and padding in all browsers (opinionated).
|
||||
*/
|
||||
/**
|
||||
* 1. Correct the text wrapping in Edge and IE.
|
||||
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||
* 3. Remove the padding so developers are not caught out when they zero out
|
||||
* `fieldset` elements in all browsers.
|
||||
*/
|
||||
/**
|
||||
* Remove the default vertical scrollbar in IE.
|
||||
*/
|
||||
/**
|
||||
* 1. Add the correct box sizing in IE 10-.
|
||||
* 2. Remove the padding in IE 10-.
|
||||
*/
|
||||
/**
|
||||
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||
*/
|
||||
/**
|
||||
* 1. Correct the odd appearance in Chrome and Safari.
|
||||
* 2. Correct the outline style in Safari.
|
||||
*/
|
||||
/**
|
||||
* Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
|
||||
*/
|
||||
/**
|
||||
* Correct the text style of placeholders in Chrome, Edge, and Safari.
|
||||
*/
|
||||
/**
|
||||
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||
* 2. Change font properties to `inherit` in Safari.
|
||||
*/
|
||||
}
|
||||
|
||||
.typeahead__container button,
|
||||
.typeahead__container input,
|
||||
.typeahead__container optgroup,
|
||||
.typeahead__container select,
|
||||
.typeahead__container textarea {
|
||||
font: inherit;
|
||||
/* 1 */
|
||||
margin: 0;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
.typeahead__container optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.typeahead__container button,
|
||||
.typeahead__container input {
|
||||
/* 1 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.typeahead__container button,
|
||||
.typeahead__container select {
|
||||
/* 1 */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.typeahead__container button,
|
||||
.typeahead__container html [type="button"],
|
||||
.typeahead__container [type="reset"],
|
||||
.typeahead__container [type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
.typeahead__container button::-moz-focus-inner,
|
||||
.typeahead__container [type="button"]::-moz-focus-inner,
|
||||
.typeahead__container [type="reset"]::-moz-focus-inner,
|
||||
.typeahead__container [type="submit"]::-moz-focus-inner {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.typeahead__container button:-moz-focusring,
|
||||
.typeahead__container [type="button"]:-moz-focusring,
|
||||
.typeahead__container [type="reset"]:-moz-focusring,
|
||||
.typeahead__container [type="submit"]:-moz-focusring {
|
||||
outline: 1px dotted ButtonText;
|
||||
}
|
||||
|
||||
.typeahead__container fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
.typeahead__container legend {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
/* 1 */
|
||||
color: inherit;
|
||||
/* 2 */
|
||||
display: table;
|
||||
/* 1 */
|
||||
max-width: 100%;
|
||||
/* 1 */
|
||||
padding: 0;
|
||||
/* 3 */
|
||||
white-space: normal;
|
||||
/* 1 */
|
||||
}
|
||||
|
||||
.typeahead__container textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.typeahead__container [type="checkbox"],
|
||||
.typeahead__container [type="radio"] {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
/* 1 */
|
||||
padding: 0;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
.typeahead__container [type="number"]::-webkit-inner-spin-button,
|
||||
.typeahead__container [type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.typeahead__container [type="search"] {
|
||||
-webkit-appearance: textfield;
|
||||
/* 1 */
|
||||
outline-offset: -2px;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
.typeahead__container [type="search"]::-webkit-search-cancel-button,
|
||||
.typeahead__container [type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
.typeahead__container ::-webkit-input-placeholder {
|
||||
color: inherit;
|
||||
opacity: 0.54;
|
||||
}
|
||||
|
||||
.typeahead__container ::-webkit-file-upload-button {
|
||||
-webkit-appearance: button;
|
||||
/* 1 */
|
||||
font: inherit;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
.typeahead__container {
|
||||
position: relative;
|
||||
font: 1rem Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.typeahead__container * {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.typeahead__query {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.typeahead__filter {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.typeahead__filter button {
|
||||
min-width: 100%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.typeahead__filter button:after {
|
||||
display: inline-block;
|
||||
margin-left: 4px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
vertical-align: -2px;
|
||||
content: "";
|
||||
border: 4px solid;
|
||||
border-right-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-left-color: transparent;
|
||||
}
|
||||
|
||||
.typeahead__field {
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.typeahead__button button {
|
||||
border-top-right-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
}
|
||||
|
||||
.typeahead__field {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.typeahead__field input,
|
||||
.typeahead__field textarea,
|
||||
.typeahead__field [contenteditable],
|
||||
.typeahead__field .typeahead__hint {
|
||||
display: block;
|
||||
width: 100%;
|
||||
line-height: 1.25;
|
||||
min-height: calc(0.5rem * 2 + 1.25rem + 2px);
|
||||
padding: 0.5rem 0.75rem;
|
||||
background: #fff;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 2px 0 0 2px;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.typeahead__field input:focus, .typeahead__field input:active,
|
||||
.typeahead__field textarea:focus,
|
||||
.typeahead__field textarea:active,
|
||||
.typeahead__field [contenteditable]:focus,
|
||||
.typeahead__field [contenteditable]:active,
|
||||
.typeahead__field .typeahead__hint:focus,
|
||||
.typeahead__field .typeahead__hint:active {
|
||||
border-color: #66afe9;
|
||||
}
|
||||
|
||||
.typeahead__field input[type="search"],
|
||||
.typeahead__field input[type="search"]::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.typeahead__field input[type="search"]::-ms-clear {
|
||||
display: none;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.typeahead__container.hint .typeahead__field input,
|
||||
.typeahead__container.hint .typeahead__field textarea,
|
||||
.typeahead__container.hint .typeahead__field [contenteditable] {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.typeahead__container.hint .typeahead__query > :last-child, .typeahead__hint {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.typeahead__container button {
|
||||
display: inline-block;
|
||||
margin-bottom: 0;
|
||||
text-align: center;
|
||||
-ms-touch-action: manipulation;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
line-height: 1.25;
|
||||
padding: 0.5rem 0.75rem;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.typeahead__container button:hover, .typeahead__container button:focus {
|
||||
color: #3c3c3c;
|
||||
background-color: #f5f5f5;
|
||||
border-color: #b3b3b3;
|
||||
}
|
||||
|
||||
.typeahead__container button:active, .typeahead__container button.active {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.typeahead__container button:focus, .typeahead__container button:active {
|
||||
border-color: #66afe9;
|
||||
}
|
||||
|
||||
.typeahead__container input.disabled,
|
||||
.typeahead__container input[disabled],
|
||||
.typeahead__container button.disabled,
|
||||
.typeahead__container button[disabled] {
|
||||
cursor: not-allowed;
|
||||
pointer-events: none;
|
||||
opacity: 0.65;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background-color: #fff;
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
||||
.typeahead__container .typeahead__field input,
|
||||
.typeahead__container .typeahead__field textarea,
|
||||
.typeahead__container .typeahead__field [contenteditable],
|
||||
.typeahead__container .typeahead__field .typeahead__hint,
|
||||
.typeahead__container .typeahead__field .typeahead__label-container {
|
||||
padding-right: 32px;
|
||||
}
|
||||
|
||||
.typeahead__filter, .typeahead__button {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.typeahead__filter button, .typeahead__button button {
|
||||
margin-left: -1px;
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
|
||||
.typeahead__filter:hover, .typeahead__filter:active, .typeahead__filter:focus, .typeahead__button:hover, .typeahead__button:active, .typeahead__button:focus {
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.typeahead__filter:hover button:focus, .typeahead__filter:hover button:active, .typeahead__filter:active button:focus, .typeahead__filter:active button:active, .typeahead__filter:focus button:focus, .typeahead__filter:focus button:active, .typeahead__button:hover button:focus, .typeahead__button:hover button:active, .typeahead__button:active button:focus, .typeahead__button:active button:active, .typeahead__button:focus button:focus, .typeahead__button:focus button:active {
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.typeahead__filter + .typeahead__button button {
|
||||
margin-left: -2px;
|
||||
}
|
||||
|
||||
.typeahead__container.filter .typeahead__filter {
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.typeahead__list, .typeahead__dropdown {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
min-width: 160px;
|
||||
padding: 5px 0;
|
||||
margin: 2px 0 0;
|
||||
list-style: none;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 2px;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
.typeahead__result.detached .typeahead__list {
|
||||
position: relative;
|
||||
z-index: 1041;
|
||||
top: initial;
|
||||
left: initial;
|
||||
}
|
||||
|
||||
.typeahead__dropdown {
|
||||
right: 0;
|
||||
left: initial;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.typeahead__list > li {
|
||||
position: relative;
|
||||
border-top: solid 1px #ccc;
|
||||
}
|
||||
|
||||
.typeahead__list > li:first-child {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.typeahead__list > li[disabled] > a,
|
||||
.typeahead__dropdown > li[disabled] > a {
|
||||
cursor: not-allowed;
|
||||
color: #bababa;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.typeahead__list > li > a,
|
||||
.typeahead__dropdown > li > a {
|
||||
display: block;
|
||||
padding: 0.5rem 0.75rem;
|
||||
clear: both;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.typeahead__list > li:not([disabled]) > a:hover,
|
||||
.typeahead__list > li:not([disabled]) > a:focus,
|
||||
.typeahead__list > li:not([disabled]).active > a,
|
||||
.typeahead__dropdown > li:not([disabled]) > a:hover,
|
||||
.typeahead__dropdown > li:not([disabled]) > a:focus,
|
||||
.typeahead__dropdown > li:not([disabled]).active > a {
|
||||
background-color: #f5f5f5;
|
||||
color: #3c3c3c;
|
||||
}
|
||||
|
||||
.typeahead__list.empty > li {
|
||||
padding: 0.5rem 0.75rem;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.typeahead__list > li.typeahead__group {
|
||||
border-color: #bfdef6;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.typeahead__list > li.typeahead__group:first-child {
|
||||
border-top: solid 1px #bfdef6;
|
||||
}
|
||||
|
||||
.typeahead__list > li.typeahead__group > a,
|
||||
.typeahead__list > li.typeahead__group > a:hover,
|
||||
.typeahead__list > li.typeahead__group > a:focus,
|
||||
.typeahead__list > li.typeahead__group.active > a {
|
||||
cursor: default;
|
||||
color: #17639f;
|
||||
background: #ecf5fc;
|
||||
}
|
||||
|
||||
.typeahead__list > li.typeahead__group + li.typeahead__item {
|
||||
border-color: #bfdef6;
|
||||
}
|
||||
|
||||
.typeahead__container.result .typeahead__list,
|
||||
.typeahead__container.filter .typeahead__dropdown,
|
||||
.typeahead__container.hint .typeahead__hint,
|
||||
.typeahead__container.backdrop + .typeahead__backdrop {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.typeahead__container .typeahead__list,
|
||||
.typeahead__container .typeahead__dropdown,
|
||||
.typeahead__container .typeahead__hint,
|
||||
.typeahead__container + .typeahead__backdrop {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.typeahead__dropdown li:last-child {
|
||||
margin-top: 5px;
|
||||
padding-top: 5px;
|
||||
border-top: solid 1px #ccc;
|
||||
}
|
||||
|
||||
.typeahead__cancel-button {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
cursor: pointer;
|
||||
line-height: 1.25;
|
||||
padding: 0.5rem 0.75rem;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.typeahead__label .typeahead__cancel-button {
|
||||
visibility: visible;
|
||||
right: 4px;
|
||||
}
|
||||
|
||||
.typeahead__container.cancel:not(.loading) .typeahead__cancel-button, .typeahead__label .typeahead__cancel-button {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.typeahead__container.cancel:not(.loading) .typeahead__cancel-button:hover, .typeahead__label .typeahead__cancel-button:hover {
|
||||
color: #d0021b;
|
||||
}
|
||||
|
||||
.typeahead__search-icon {
|
||||
padding: 0 1.25rem;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: url(data:image/svg+xml;charset=utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI1MC4zMTMgMjUwLjMxMyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjUwLjMxMyAyNTAuMzEzOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+CjxnIGlkPSJTZWFyY2giPgoJPHBhdGggc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkOyIgZD0iTTI0NC4xODYsMjE0LjYwNGwtNTQuMzc5LTU0LjM3OGMtMC4yODktMC4yODktMC42MjgtMC40OTEtMC45My0wLjc2ICAgYzEwLjctMTYuMjMxLDE2Ljk0NS0zNS42NiwxNi45NDUtNTYuNTU0QzIwNS44MjIsNDYuMDc1LDE1OS43NDcsMCwxMDIuOTExLDBTMCw0Ni4wNzUsMCwxMDIuOTExICAgYzAsNTYuODM1LDQ2LjA3NCwxMDIuOTExLDEwMi45MSwxMDIuOTExYzIwLjg5NSwwLDQwLjMyMy02LjI0NSw1Ni41NTQtMTYuOTQ1YzAuMjY5LDAuMzAxLDAuNDcsMC42NCwwLjc1OSwwLjkyOWw1NC4zOCw1NC4zOCAgIGM4LjE2OSw4LjE2OCwyMS40MTMsOC4xNjgsMjkuNTgzLDBDMjUyLjM1NCwyMzYuMDE3LDI1Mi4zNTQsMjIyLjc3MywyNDQuMTg2LDIxNC42MDR6IE0xMDIuOTExLDE3MC4xNDYgICBjLTM3LjEzNCwwLTY3LjIzNi0zMC4xMDItNjcuMjM2LTY3LjIzNWMwLTM3LjEzNCwzMC4xMDMtNjcuMjM2LDY3LjIzNi02Ny4yMzZjMzcuMTMyLDAsNjcuMjM1LDMwLjEwMyw2Ny4yMzUsNjcuMjM2ICAgQzE3MC4xNDYsMTQwLjA0NCwxNDAuMDQzLDE3MC4xNDYsMTAyLjkxMSwxNzAuMTQ2eiIgZmlsbD0iIzU1NTU1NSIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=) no-repeat scroll center center transparent;
|
||||
}
|
||||
|
||||
.typeahead__container.loading .typeahead__query:before, .typeahead__container.loading .typeahead__query:after {
|
||||
-webkit-transition: all 0s linear, opacity 0.2s ease;
|
||||
-o-transition: all 0s linear, opacity 0.2s ease;
|
||||
transition: all 0s linear, opacity 0.2s ease;
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
content: "";
|
||||
top: 50%;
|
||||
right: 0.55em;
|
||||
margin-top: -0.675rem;
|
||||
width: 1.35rem;
|
||||
height: 1.35rem;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-radius: 500rem;
|
||||
border-style: solid;
|
||||
border-width: 0.1em;
|
||||
}
|
||||
|
||||
.typeahead__container.loading .typeahead__query:before {
|
||||
border-color: rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
.typeahead__container.loading .typeahead__query:after {
|
||||
-webkit-animation: button-spin 0.6s linear;
|
||||
animation: button-spin 0.6s linear;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
animation-iteration-count: infinite;
|
||||
border-color: #fff transparent transparent;
|
||||
-webkit-box-shadow: 0 0 0 1px transparent;
|
||||
box-shadow: 0 0 0 1px transparent;
|
||||
}
|
||||
|
||||
@-webkit-keyframes button-spin {
|
||||
from {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes button-spin {
|
||||
from {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.typeahead__label-container {
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
padding-top: calc(1rem * 0.375);
|
||||
padding-left: 6px;
|
||||
width: 100%;
|
||||
-webkit-flex-wrap: wrap;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.typeahead__label {
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
font-size: calc(1rem * 0.875);
|
||||
position: relative;
|
||||
background: #ecf5fc;
|
||||
border: solid 1px #c2e0ff;
|
||||
padding-left: 4px;
|
||||
border-radius: 2px;
|
||||
margin-right: 4px;
|
||||
margin-bottom: calc(1rem * 0.375);
|
||||
}
|
||||
|
||||
.typeahead__label > * {
|
||||
-webkit-align-self: center;
|
||||
-ms-flex-item-align: center;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.typeahead__label .typeahead__cancel-button {
|
||||
line-height: normal;
|
||||
height: auto;
|
||||
position: static;
|
||||
padding-top: calc(1rem * 0.25 - 1px);
|
||||
padding-bottom: calc(1rem * 0.25 + 1px);
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
margin-left: 4px;
|
||||
font-size: calc(1rem * 0.875);
|
||||
border-left: solid 1px #c2e0ff;
|
||||
}
|
||||
|
||||
.typeahead__label .typeahead__cancel-button:hover {
|
||||
background-color: #d5e9f9;
|
||||
}
|
||||
342
wp-content/plugins/woo-product-feed-pro/css/woosea_admin.css
Normal file
342
wp-content/plugins/woo-product-feed-pro/css/woosea_admin.css
Normal file
@@ -0,0 +1,342 @@
|
||||
.typeahead, .tt-query, .tt-hint {
|
||||
border: 1px solid #CCCCCC;
|
||||
border-radius: 6px;
|
||||
outline: medium none;
|
||||
margin-right: 24px;
|
||||
padding: 8px 12px;
|
||||
position: absolute;
|
||||
/* z-index: 1000;*/
|
||||
}
|
||||
.typeahead {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.typeahead:focus {
|
||||
border: 2px solid #0097CF;
|
||||
}
|
||||
.tt-query {
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
|
||||
}
|
||||
.tt-hint {
|
||||
color: #999999;
|
||||
}
|
||||
.tt-menu {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||
margin-top: 12px;
|
||||
padding: 6px 0;
|
||||
width: 422px;
|
||||
}
|
||||
.tt-suggestion {
|
||||
font-size: 22px; /* Set suggestion dropdown font size */
|
||||
padding: 3px 20px;
|
||||
}
|
||||
.tt-suggestion:hover {
|
||||
cursor: pointer;
|
||||
background-color: #0097CF;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.tt-suggestion p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
// table styles
|
||||
.woo-product-feed-pro-body {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
line-height: 1.25;
|
||||
}
|
||||
.woo-product-feed-pro-table-wrapper:after {
|
||||
content:"";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
.woo-product-feed-pro-table-left {
|
||||
float: left;
|
||||
padding-right: 1%;
|
||||
width: 74%;
|
||||
}
|
||||
.woo-product-feed-pro-table-right {
|
||||
float: right;
|
||||
width: 25%;
|
||||
}
|
||||
@media screen and (max-width: 480px) {
|
||||
.woo-product-feed-pro-table-left, .woo-product-feed-pro-table-right {
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
.woo-product-feed-pro-table-right {
|
||||
padding-top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-table {
|
||||
border: 1px solid #ccc;
|
||||
border-collapse: collapse;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-table caption {
|
||||
font-size: 1.5em;
|
||||
margin: .5em 0 .75em;
|
||||
}
|
||||
.woo-product-feed-pro-table tr {
|
||||
// background: #f8f8f8;
|
||||
border: 1px solid #ddd;
|
||||
padding: .35em;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-table th,
|
||||
.woo-product-feed-pro-table td {
|
||||
padding: .525em;
|
||||
text-align: left;
|
||||
}
|
||||
.woo-product-feed-pro-table th {
|
||||
font-size: .85em;
|
||||
letter-spacing: .1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.promo-box {
|
||||
background-color: #674399;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
||||
/* The switch - the box around the slider */
|
||||
.woo-product-feed-pro-switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
/* Hide default HTML checkbox */
|
||||
.woo-product-feed-pro-switch input {display:none;}
|
||||
|
||||
/* The slider */
|
||||
.woo-product-feed-pro-slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #ccc;
|
||||
-webkit-transition: .4s;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 26px;
|
||||
width: 26px;
|
||||
left: 4px;
|
||||
bottom: 4px;
|
||||
background-color: white;
|
||||
-webkit-transition: .4s;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
input:checked + .woo-product-feed-pro-slider {
|
||||
background-color: #0C0;
|
||||
}
|
||||
|
||||
input:focus + .woo-product-feed-pro-slider {
|
||||
box-shadow: 0 0 1px #0C0;
|
||||
}
|
||||
|
||||
input:checked + .woo-product-feed-pro-slider:before {
|
||||
-webkit-transform: translateX(26px);
|
||||
-ms-transform: translateX(26px);
|
||||
transform: translateX(26px);
|
||||
}
|
||||
|
||||
/* Rounded sliders */
|
||||
.woo-product-feed-pro-slider.round {
|
||||
border-radius: 34px;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-slider.round:before {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
// form styles
|
||||
.woo-product-feed-pro-form-style-2{
|
||||
max-width: 500px;
|
||||
padding: 20px 12px 10px 20px;
|
||||
font: 13px Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-channel{
|
||||
font-style: italic;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-form-style-2-heading{
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
border-bottom: 2px solid #ddd;
|
||||
margin-bottom: 20px;
|
||||
font-size: 15px;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
.woo-product-feed-pro-form-style-2 label{
|
||||
display: block;
|
||||
margin: 0px 0px 0px 0px;
|
||||
}
|
||||
.woo-product-feed-pro-form-style-2 label > span{
|
||||
width: 100px;
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
padding-top: 8px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.woo-product-feed-pro-form-style-2 span.required{
|
||||
color:red;
|
||||
}
|
||||
.woo-product-feed-pro-form-style-2 input.input-field{
|
||||
width: 44%;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-midsmall{
|
||||
width: 65%;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-large{
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-large-active{
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-medium{
|
||||
width: 34%;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-small{
|
||||
width: 12%;
|
||||
}
|
||||
|
||||
|
||||
.woo-product-feed-pro-form-style-2 input.input-field,
|
||||
.woo-product-feed-pro-form-style-2 input.checkbox-field,
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-large,
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-small,
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-midsmall,
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-medium,
|
||||
.woo-product-feed-pro-form-style-2 .textarea-field {
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
border: 1px solid #C2C2C2;
|
||||
box-shadow: 1px 1px 4px #EBEBEB;
|
||||
-moz-box-shadow: 1px 1px 4px #EBEBEB;
|
||||
-webkit-box-shadow: 1px 1px 4px #EBEBEB;
|
||||
border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
padding: 7px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-form-style-2 input.input-field-large-active {
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
border: 1px solid #C2C2C2;
|
||||
box-shadow: 1px 1px 4px #EBEBEB;
|
||||
-moz-box-shadow: 1px 1px 4px #EBEBEB;
|
||||
-webkit-box-shadow: 1px 1px 4px #EBEBEB;
|
||||
border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
padding: 7px;
|
||||
outline: none;
|
||||
background-color: #0C0;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-form-style-2 .input-field:focus,
|
||||
.woo-product-feed-pro-form-style-2 .input-field-large:focus,
|
||||
.woo-product-feed-pro-form-style-2 .input-field-large-active:focus,
|
||||
.woo-product-feed-pro-form-style-2 .input-field-midsmall:focus,
|
||||
.woo-product-feed-pro-form-style-2 .input-field-small:focus,
|
||||
.woo-product-feed-pro-form-style-2 .input-field-medium:focus,
|
||||
/*
|
||||
.woo-product-feed-pro-form-style-2 .textarea-field:focus,
|
||||
*/
|
||||
.woo-product-feed-pro-form-style-2 .select-field:focus{
|
||||
border: 1px solid #0C0;
|
||||
}
|
||||
.woo-product-feed-pro-form-style-2 .textarea-field{
|
||||
height:100px;
|
||||
width: 55%;
|
||||
word-break: break-all;
|
||||
}
|
||||
.woo-product-feed-pro-form-style-2 input[type=submit],
|
||||
.woo-product-feed-pro-form-style-2 input[type=button]{
|
||||
border: none;
|
||||
padding: 8px 15px 8px 15px;
|
||||
background: #FF8500;
|
||||
color: #fff;
|
||||
box-shadow: 1px 1px 4px #DADADA;
|
||||
-moz-box-shadow: 1px 1px 4px #DADADA;
|
||||
-webkit-box-shadow: 1px 1px 4px #DADADA;
|
||||
border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
}
|
||||
.woo-product-feed-pro-form-style-2 input[type=submit]:hover,
|
||||
.woo-product-feed-pro-form-style-2 input[type=button]:hover{
|
||||
background: #EA7B00;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-textarea{
|
||||
background-color:#eee;
|
||||
overflow:hidden;
|
||||
height:320px;
|
||||
max-height:320px;
|
||||
border:1px solid #ccc;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-ratingRequest{
|
||||
color: #DAA520;
|
||||
}
|
||||
|
||||
#woo-product-feed-pro-errormessage {
|
||||
width: 40%;
|
||||
color: #555;
|
||||
border-radius: 3px;
|
||||
font-size: .8em;
|
||||
padding: 5px 5px 5px 5px;
|
||||
margin: 5px 5px 5px 0px;
|
||||
background: #ffecec;
|
||||
border: 2px solid #f5aca6;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-strikethrough {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-blink_me {
|
||||
animation: blinker 1s linear infinite;
|
||||
}
|
||||
|
||||
.woo-product-feed-pro-inline_manage {
|
||||
width:100%;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-moz-box-shadow: 0 0 5px #888;
|
||||
-webkit-box-shadow: 0 0 5px #888;
|
||||
box-shadow: 0 0 5px #888;
|
||||
}
|
||||
|
||||
@keyframes blinker {
|
||||
50% { opacity: 0; }
|
||||
}
|
||||
BIN
wp-content/plugins/woo-product-feed-pro/images/icon-16x16.png
Normal file
BIN
wp-content/plugins/woo-product-feed-pro/images/icon-16x16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.8 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user