first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<div class="panel">
<div class="panel-heading">
<i class="icon-question-circle"></i> {l s='About' mod='xmlfeeds'}
</div>
<div class="row">
<div class="blmod_about">
<div style="float: right;">
<div style="float: right;">
<a href="https://addons.prestashop.com/en/data-import-export/5732-xml-feeds-pro.html" target="_blank">
<img style="border: 1px solid #CCCED7; padding: 0;" alt="Bl Modules" title="Bl Modules home page" src="../modules/{$name|escape:'htmlall':'UTF-8'}/views/img/blmod_logo.png" />
</a>
</div>
</div>
<div style="float: left; width: 350px;">
{l s='Module descriotion at' mod='xmlfeeds'} <a href="https://addons.prestashop.com/en/data-import-export/5732-xml-feeds-pro.html" target="_blank">addons.prestashop.com</a><br/>
{l s='You can contact us via' mod='xmlfeeds'} <a href="{$contactUsUrl|escape:'htmlall':'UTF-8'}" target="_blank">Prestashop messenger</a><br/>
<a href="{$manualPdfUrl|escape:'htmlall':'UTF-8'}" target="_blank">{l s='Download the module manual' mod='xmlfeeds'}</a><br/><br>
<a class="bl_comments" style="color: #7F7F7F; text-decoration: underline;" href="{$databaseUpgradeUrl|escape:'htmlall':'UTF-8'}">{l s='Run module database upgrade' mod='xmlfeeds'}</a><br/>
<a target="_blank" class="bl_comments" style="color: #7F7F7F; text-decoration: underline;" href="{$exportSettingsUrl|escape:'htmlall':'UTF-8'}">{l s='Export module settings' mod='xmlfeeds'}</a><br/>
</div>
<div class="cb"></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,47 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<div id="content" class="bootstrap content_blmod">
<div class="bootstrap">
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='Access log' mod='xmlfeeds'}
</div>
<div class="row">
<div class="blmod_clicks_list">
<div id="blmod_clicks_title" class="blmod_clicks_row blmod_clicks_title">
<div class="blmod_clicks_ip">{l s='Action' mod='xmlfeeds'}</div>
<div class="blmod_clicks_date">{l s='Date' mod='xmlfeeds'}</div>
<div class="blmod_clicks_url">{l s='Param' mod='xmlfeeds'}</div>
<div class="cb"></div>
</div>
{foreach $logs as $l}
<div class="blmod_clicks_row">
<div class="blmod_clicks_ip">{$l.action|escape:'htmlall':'UTF-8'}{if !empty($l.is_cron)}_cron{/if}</div>
<div class="blmod_clicks_date">{$l.created_at|escape:'htmlall':'UTF-8'}</div>
<div class="blmod_clicks_url">
<span class="button-title blmod_tooltip"><span class="custom info"><em>$_GET param</em><br><code>{$l.get_param|escape:'htmlall':'UTF-8'}</code></span>GET</span>
<span class="button-title blmod_ml15 blmod_tooltip"><span class="custom info"><em>$argv param</em><br><code>{$l.argv_param|escape:'htmlall':'UTF-8'}</code></span>ARGV</span>
<span class="blmod_ml15" title="{l s='Session ID' mod='xmlfeeds'}">{$l.session_id|escape:'htmlall':'UTF-8'}</span>
</div>
<div class="cb"></div>
</div>
{/foreach}
</div>
<div class="clear_block"></div>
<div style="margin-top: 5px; text-align: right;" class="bl_comments">{$limit|escape:'htmlall':'UTF-8'} {l s='rows limit' mod='xmlfeeds'}</div>
</div>
</div>
<div class="clear_block"></div>
</div>
</div>

View File

@@ -0,0 +1,126 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<form action="{$postUrl|escape:'htmlall':'UTF-8'}" method="post">
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='Create a new affiliate price' mod='xmlfeeds'}
</div>
<div class="row">
<table border="0" width="100%" cellpadding="3" cellspacing="0">
<tr>
<td class="settings-column-name" style="width: 150px;">
{l s='Price name' mod='xmlfeeds'}
</td>
<td>
<input style="max-width: 462px;" type="text" name="price_name" value="" required>
</td>
</tr>
<tr>
<td class="settings-column-name" style="width: 150px;">
{l s='XML tag name' mod='xmlfeeds'}
</td>
<td>
<input style="max-width: 462px;" type="text" name="xml_name" value="" required>
</td>
</tr>
<tr>
<td class="al-t settings-column-name" style="width: 150px; padding-top: 6px;">
{l s='Price formula' mod='xmlfeeds'}
</td>
<td>
<input style="max-width: 462px;" type="text" name="price" value="" required>
<div class="bl_comments price-formula-text">[{l s='Words' mod='xmlfeeds'} "<span>base_price</span>", "<span>sale_price</span>", "<span>tax_price</span>", "<span>shipping_price</span>", "<span>price_without_discount</span>", "<span>wholesale_price</span>" {l s='will be replaced by appropriate product value. Example of a formula: sale_price - 15' mod='xmlfeeds'}]</div>
</td>
</tr>
<tr>
<td class="al-t settings-column-name" style="width: 150px; padding-top: 6px;">
{l s='Only with specified categories' mod='xmlfeeds'}
</td>
<td>
<script type="text/javascript">
$(document).ready(function() {
boxToggle("categories_list");
});
</script>
<label for="products_categories">
{include file="{$tpl_dir}/views/templates/admin/helper/status.tpl" id='products_categories' name='categories' status=0}
</label>
<span class="categories_list_button" style="cursor: pointer; color: #268CCD; margin-left: 10px;">{l s='[Show/Hide categories]' mod='xmlfeeds'}</span>
<div class="categories_list" style="display: none; margin-top: 20px;">
<div>
<label class="blmod_mr20">
<input type="radio" name="category_type" value="0" checked="checked"> {l s='Filter by main category' mod='xmlfeeds'}
</label>
<label class="">
<input type="radio" name="category_type" value="1"> {l s='Filter by all categories' mod='xmlfeeds'}
</label>
<div class="cb"></div>
</div>
{$categoriesTree}
</div>
</td>
</tr>
</table>
<input type="hidden" name="add_affiliate_action" value="1">
<center><input type="submit" name="add_affiliate_price" value="{l s='Create new' mod='xmlfeeds'}" class="btn btn-primary blmod_mt10i" /></center>
{if !empty($prices)}
<table cellspacing="0" cellpadding="0" class="table blmod-table-light" id="radio_div">
<tbody>
<tr>
<th>{l s='Name' mod='xmlfeeds'}</th>
<th>{l s='XML tag' mod='xmlfeeds'}</th>
<th>{l s='Formula' mod='xmlfeeds'}</th>
<th style="text-align: right;">{l s='Delete' mod='xmlfeeds'}</th>
</tr>
{foreach $prices as $p}
<tr>
<td{if !empty($p.categories_names)} class="blmod-table-light"{/if}>
<label style="line-height: 26px; padding-left: 0;" for="affiliate_1" class="t">
{$p.affiliate_name|escape:'htmlall':'UTF-8'}
</label>
</td>
<td{if !empty($p.categories_names)} class="blmod-table-light"{/if}>
<label style="line-height: 26px; padding-left: 0;" for="affiliate_1" class="t">
{$p.xml_name|escape:'htmlall':'UTF-8'}
</label>
</td>
<td{if !empty($p.categories_names)} class="blmod-table-light"{/if}>
<label style="line-height: 26px; padding-left: 0;" for="affiliate_1" class="t">
{$p.affiliate_formula|escape:'htmlall':'UTF-8'}
</label>
</td>
<td{if !empty($p.categories_names)} class="blmod-table-light"{/if}>
<a href="{$full_address_no_t|escape:'htmlall':'UTF-8'}&add_affiliate_price=1&delete_affiliate_price={$p.affiliate_id|escape:'htmlall':'UTF-8'}{$token|escape:'htmlall':'UTF-8'}" onclick="return confirm('{l s='Are you sure you want to delete?' mod='xmlfeeds'}')">
<div title="{l s='Remove' mod='xmlfeeds'}" class="search_drop_product product-list-row">
<i class="icon-trash" title="{l s='Remove from list' mod='xmlfeeds'}"></i>
</div>
</a>
</td>
</tr>
{if !empty($p.categories_names)}
<tr>
<td colspan="4">
<div class="bl_comments" style="font-style: italic;">
Categories: {$p.categories_names|escape:'htmlall':'UTF-8'}
</div>
</td>
</tr>
{/if}
{/foreach}
</tbody>
</table>
{/if}
</div>
</div>
</form>

View File

@@ -0,0 +1,87 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<link rel="stylesheet" href="../modules/xmlfeeds/views/css/jquery-ui.css">
<script src="../modules/xmlfeeds/views/js/jquery-ui.js"></script>
<script type="text/javascript">
var ga_cat_blmod = [{$categoriesList}];
</script>
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='Category map file' mod='xmlfeeds'}
</div>
<div class="row">
<form action="{$requestUri|escape:'htmlall':'UTF-8'}" method="post" enctype="multipart/form-data">
<input style="width: 282px; margin-right: 15px;" type="text" placeholder="{l s='Category map name' mod='xmlfeeds'}" name="category_map_name" value="" required/>
<input style="display: inline-block; height: 31px; border-radius: 3px; padding-top: 5px; width: 280px;" type="file" name="map_file" accept=".txt" required>
<div id="category-map-instruction-action" class="bl_comments" style="margin-top: 5px; cursor: pointer;">[{l s='Show category map file requrement' mod='xmlfeeds'}]</div>
<div style="display: none;" id="category-map-instruction-box">
<ul class="blmod-instruction">
<li>{l s='Allowed file format is plain text with .txt extension (example: google_En.txt)' mod='xmlfeeds'}</li>
<li>
{l s='The data row consists of category ID and name separated by a dash ( - )' mod='xmlfeeds'}<br>
{l s='(example: 1 - Toys > Puzzles )' mod='xmlfeeds'}
</li>
<li>
{l s='Category and subcategory delimiter is not important, you can use any characters' mod='xmlfeeds'}<br>
{l s='(example: 1 - Toys > Puzzles )' mod='xmlfeeds'}, {l s='(example: 1 - Toys | Puzzles )' mod='xmlfeeds'}, {l s='(example: 1 - Toys Puzzles )' mod='xmlfeeds'}
</li>
<li><a style="color: #268CCD;" target="_blank" href="{$instructionUlr|escape:'htmlall':'UTF-8'}" download>{l s='Download a sample file' mod='xmlfeeds'}</a> </li>
</ul>
</div>
<center>
<input style="text-align: center; margin-top: 20px;" class="btn btn-secondary" type="submit" name="select_category_type" value="{l s='Upload new' mod='xmlfeeds'}">
</center>
<div class="cb"><br></div>
</form>
</div>
</div>
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='Category mapping' mod='xmlfeeds'}
</div>
<div class="row">
<form style="border-bottom: solid 1px #EAEDEF; margin-bottom: 10px;" action="{$requestUri|escape:'htmlall':'UTF-8'}" method="post">
{if !empty($type)}
<input style="float: right;" class="btn btn-secondary" type="submit" name="select_category_type" value="{l s='Select' mod='xmlfeeds'}">
{/if}
<select style="float: left; width: 517px; margin-bottom: 15px;" name="category_type">
<option value="0">{l s='None' mod='xmlfeeds'}</option>
{foreach $list as $l}
<option value="{$l.id|escape:'htmlall':'UTF-8'}"{if $type eq $l.id} selected{/if}>{$l.title|escape:'htmlall':'UTF-8'}</option>
{if $type eq $l.id}
{assign var="caregoryName" value={$l.title|escape:'htmlall':'UTF-8'}}
{/if}
{/foreach}
</select>
<div class="cb"><br></div>
</form>
<form action="{$requestUri|escape:'htmlall':'UTF-8'}" method="post">
<a style="margin-right: 15px;" href="{$fullAdminUrl|escape:'htmlall':'UTF-8'}&google_cat_assign=1&category_map_delete={$type|escape:'htmlall':'UTF-8'}" class="bl_comments delete-link-alert" onclick="return confirm('{l s='Are you sure you want to delete category map file?' mod='xmlfeeds'}')">{l s='Delete map file' mod='xmlfeeds'}</a>
<a href="{$mapFileUrl|escape:'htmlall':'UTF-8'}" target="_blank" class="bl_comments" download>{l s='Download map file' mod='xmlfeeds'}</a>
<input style="float: right;" type="submit" name="update_ga_cat" value="Update" class="btn btn-primary">
<div class="cb"><br></div>
<div class="info-small-blmod blmod_b10 blmod_mt10">
{l s='Please select a category from suggestion list, enter at least 3 letters to display the list.' mod='xmlfeeds'}<br>
{l s='Letters can be from any part of the word.' mod='xmlfeeds'}<br>
{if !empty($caregoryName)}
<br>{l s='You can view the full list of' mod='xmlfeeds'} <a target="_blank" href="{$mapFileUrl|escape:'htmlall':'UTF-8'}">{$caregoryName|escape:'htmlall':'UTF-8'}</a> {l s='categories.' mod='xmlfeeds'}
{/if}
</div>
{$categoriesTree}
<input style="float: right; margin-top: 10px;" type="submit" name="update_ga_cat" value="Update" class="btn btn-primary">
<input type="hidden" name="category_type" value="{$type|escape:'htmlall':'UTF-8'}"/>
<div class="cb"><br></div>
</form>
</div>
</div>

View File

@@ -0,0 +1,69 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<form id="add-new-feed" action="{$requestUri|escape:'htmlall':'UTF-8'}" method="post">
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='Create a new XML feed' mod='xmlfeeds'}
</div>
<div class="row">
<table border="0" width="100%" cellpadding="3" cellspacing="0">
<tr>
<td class="settings-column-name" style="width: 125px;">{l s='Feed name' mod='xmlfeeds'}</td>
<td>
<input id="new-feed-name" style="max-width: 462px;" type="text" name="name" value="" autocomplete="off" required>
</td>
</tr>
{if $feed_type eq '1'}
<tr>
<td><br></td>
<td>
<div class="info-small-blmod blmod_mt15">
{l s='Here you can find the most popular XML templates. They are already fully prepared for you to use with just one click.' mod='xmlfeeds'}<br>
{l s='If you need, feel free to customize XML templates to suit your individual needs.' mod='xmlfeeds'}<br>
{l s='Of course, you can also create your own unique from scratch.' mod='xmlfeeds'}<br>
</div>
</td>
</tr>
<tr>
<td class="settings-column-name al-t" style="width: 125px;">
{l s='XML structure' mod='xmlfeeds'}
</td>
<td>
<div class="option-box-title blmod_m20 cd">{l s='Most popular templates:' mod='xmlfeeds'}</div>
{include file="{$tpl_dir}/views/templates/admin/element/feedTypeList.tpl" feedTypeList=$mostPopularTypeList}
<div class="blmod_cb"></div>
<div class="option-box-title blmod_m20 cd">{l s='Templates by alphabet:' mod='xmlfeeds'}</div>
<div id="search-feed-box">
<img src="{$moduleImgPath|escape:'htmlall':'UTF-8'}search-blue.png" style="position: relative; top: 0; left: 2px;" />
<input id="search-feed-type" class="feed-search-input" type="text" value="" placeholder="{l s='Search by name' mod='xmlfeeds'}">
</div>
<div id="types-by-alphabet">
{include file="{$tpl_dir}/views/templates/admin/element/feedTypeList.tpl" feedTypeList=$feedTypeList}
</div>
<div class="cb"></div>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
{/if}
</table>
<input type="hidden" name="feed_type" value="{$feed_type|escape:'htmlall':'UTF-8'}">
<center>
<input {if $feed_type eq '1'}style="display: none;"{/if} type="submit" name="add_new_feed_insert" value="{l s='Create new' mod='xmlfeeds'}" class="btn btn-primary blmod_mt15i" />
</center>
</div>
</div>
</form>
<br/>

View File

@@ -0,0 +1,26 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='XML Feed fields' mod='xmlfeeds'}
</div>
<div class="row">
{{$inputsHtml}}
<br/>
<input type="hidden" name="feeds_id" value="{$page|escape:'htmlall':'UTF-8'}" />
<input type="hidden" name="is_category_feed" value="1" />
<div style="text-align: center;"><input type="submit" name="settings_cat" value="{l s='Update' mod='xmlfeeds'}" class="btn btn-primary" /></div>
</div>
</div>
</form>

View File

@@ -0,0 +1,180 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<div class="panel">
<div class="panel-heading">
<i class="icon-external-link"></i> {l s='XML File' mod='xmlfeeds'}
</div>
<div class="row">
<table border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
<td>
{if !empty($linkZip)}
<input style="margin-bottom: 13px;" type="text" name="xml_link_zip" value="{$linkZip|escape:'htmlall':'UTF-8'}" /><br/>
{if empty($isZipFileExists)}
<div class="alert-small-blmod blmod_mb20">{$compressorName|escape:'htmlall':'UTF-8'} {l s='file is emtpy. You need to generate it, please run CRON or click on "Open XML".' mod='xmlfeeds'}</div>
{/if}
{/if}
{if empty($s.use_cron)}
<div id="url_file_box">
<input id="feed_url" style="margin-bottom: 13px;" type="text" name="xml_link" value="{$link|escape:'htmlall':'UTF-8'}" /><br/>
<a id="feed_url_open" class="btn btn-info" href="{$link|escape:'htmlall':'UTF-8'}" target="_blank">{l s='Open XML' mod='xmlfeeds'}</a>
<a id="feed_url_download" class="btn btn-info blmod_ml10i" href="{$link|escape:'htmlall':'UTF-8'}&download=1" target="_blank">{l s='Download XML' mod='xmlfeeds'}</a>
{if !empty($linkZip)}
<a class="btn btn-info blmod_ml10i" href="{$linkZip|escape:'htmlall':'UTF-8'}" target="_blank">{l s='Download ' mod='xmlfeeds'}{$compressorName|escape:'htmlall':'UTF-8'}</a>
{/if}
<div id="feed_url_copy" class="feed_url_copy_action btn btn-info blmod_ml10i">{l s='Copy URL' mod='xmlfeeds'}</div>
{if !empty($multistore_status)}
<div id="multistore_url" class="bl_comments" style="float: right; cursor: pointer; padding-right: 4px;">{l s='[Show/Hide Multistore options]' mod='xmlfeeds'}</div>
<div id="multistore_url_list" style="margin-top: 15px; display:none;">
{foreach $multistore as $h}
<div>
<hr/>
<label for="multistore_{$h.id_shop|escape:'htmlall':'UTF-8'}"><input id="multistore_{$h.id_shop|escape:'htmlall':'UTF-8'}" class="multistore_url_checkbox" type="checkbox" name="status" value="{$h.id_shop|escape:'htmlall':'UTF-8'}"> {$h.name|escape:'htmlall':'UTF-8'}</label>
</div>
{/foreach}
</div>
{/if}
</div>
{/if}
{if $s.feed_mode == 'pub' || $s.feed_mode == 'twi'}
<div style="margin-top: 20px;">
<div>
<div style="margin-bottom: 2px; color: #3586AE; font-size: 13px;">{l s='Products XML feed:' mod='xmlfeeds'}</div>
<input style="margin-bottom: 13px; width: 490px; margin-right: 10px; vertical-align: top;" type="text" value="{$link|escape:'htmlall':'UTF-8'}&type=products" />
<a class="btn btn-info" href="{$link|escape:'htmlall':'UTF-8'}&type=products" target="_blank">{l s='Open XML' mod='xmlfeeds'}</a>
</div>
<div>
<div style="margin-bottom: 2px; color: #3586AE; font-size: 13px;">{l s='Offers XML feed:' mod='xmlfeeds'}</div>
<input style="margin-bottom: 13px; width: 490px; margin-right: 10px; vertical-align: top;" type="text" value="{$link|escape:'htmlall':'UTF-8'}&type=offers" />
<a class="btn btn-info" href="{$link|escape:'htmlall':'UTF-8'}&type=offers" target="_blank">{l s='Open XML' mod='xmlfeeds'}</a>
</div>
</div>
{/if}
{if !empty($s.use_cron)}
<div id="cron_file_box">
<p>
<input id="feed_url" style="width: 98%; margin-bottom: 10px;" type="text" value="{$cronXmlFile|escape:'htmlall':'UTF-8'}" />
<input id="cron_path_original" type="hidden" value="{$cronXmlFile|escape:'htmlall':'UTF-8'}" />
</p>
{if empty($s.last_cron_date) || $s.last_cron_date == '-' || $s.last_cron_date == '0000-00-00 00:00:00'}
<div class="alert-small-blmod blmod_mt10 blmod_mb15">
{l s='Cron is enabled, but not yet launched.' mod='xmlfeeds'}<br>
{l s='You can read the installation instructions' mod='xmlfeeds'} <span class="show_cron_install" style="cursor: pointer; color: #268CCD;">{l s='here' mod='xmlfeeds'}</span>.<br><br>
{l s='P.S. Cron is useful only when you have a lot of products and server is very slow. Our module can update a feed (products, orders, etc..) automatically by self without a cron.' mod='xmlfeeds'}<br>
</div>
{else}
<a id="feed_url_open" class="btn btn-info" href="{$cronXmlFile|escape:'htmlall':'UTF-8'}" target="_blank">{l s='Open' mod='xmlfeeds'}</a>
<a id="feed_url_download" class="btn btn-info blmod_ml10i" href="{$cronXmlFile|escape:'htmlall':'UTF-8'}" download>{l s='Download' mod='xmlfeeds'}</a>
{if !empty($linkZip)}
<a class="btn btn-info blmod_ml10i" href="{$linkZip|escape:'htmlall':'UTF-8'}" target="_blank">{l s='Download ' mod='xmlfeeds'}{$compressorName|escape:'htmlall':'UTF-8'}</a>
{/if}
<div id="feed_url_copy" class="feed_url_copy_action btn btn-info blmod_ml10i">{l s='Copy url' mod='xmlfeeds'}</div>
<p style="font-size: 13px; margin-top: 20px;">{l s='Last cron activity:' mod='xmlfeeds'} {$s.last_cron_date|escape:'htmlall':'UTF-8'}</p>
{/if}
<div class="show_cron_install" style="float: left; cursor: pointer; color: #268CCD;">{l s='[Show/hide cron installation instructions]' mod='xmlfeeds'}</div>
<div style="float: left; cursor: pointer; color: #268CCD; margin-left: 10px;"><a style="color: #268CCD;" target="_blank" href="{$fullAdminUrl|escape:'htmlall':'UTF-8'}&page={$page|escape:'htmlall':'UTF-8'}&access_log=1">{l s='[Access log]' mod='xmlfeeds'}</a></div>
<div class="blmod_cb"><br></div>
<div id="cron_install_instruction" style="display: none;">
<p style="margin-bottom: 10px;">{l s='There are three options for how to execute cron job. The first and most common is run from a server side and the second is call from remote server.' mod='xmlfeeds'}</p>
<p><b>{l s='1. Install cron from a server command line (shell) or admin panel' mod='xmlfeeds'}</b></p>
<p>{l s='1. 1. Execute crontab -e (cron edit page) command' mod='xmlfeeds'}</p>
<p>{l s='1. 2. In a new line enter the cron command (data will be updated every 2 hours):' mod='xmlfeeds'} </p>
<p><input id="cron_command" style="width: 98%;" type="text" value="{$cronCommand|escape:'htmlall':'UTF-8'}" /><input id="cron_command_original" type="hidden" value="{$cronCommand|escape:'htmlall':'UTF-8'}" /></p>
<p>1. 3. Save the cron (<kbd>Ctrl</kbd> + <kbd>X</kbd>, answer by pressing <kbd>Y</kbd> to save changes and <kbd>Enter</kbd> to confirm)</p>
<p style="margin-top: 15px;"><b>{l s='2. Run cron from URL or a remote server' mod='xmlfeeds'}</b></p>
<p>{l s='URL to execute XML feed via cron:' mod='xmlfeeds'}</p>
<p><input style="width: 98%;" type="text" name="xml_link_cron_outside" value="{$link|escape:'htmlall':'UTF-8'}" /></p>
<p style="margin-top: 15px;"><b>{l s='3. Setup cron with cPanel, Plesk, DirectAdmin or another server management tool' mod='xmlfeeds'}</b></p>
</div>
</div>
{/if}
</td>
</tr>
</table>
</div>
</div>
<div class="cb"></div>
<form action="{$requestUri|escape:'htmlall':'UTF-8'}" method="post" autocomplete="off">
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='XML Feed settings' mod='xmlfeeds'}
</div>
{if $s.feed_type eq 1}
<div id="product-feed-settings" class="row">
<div id="option_box_1" class="option-box">
<div id="option-box-title_1" class="option-box-title">General <i class="icon-angle-up"></i></div>
<div id="option-box-content_1" class="option-box-content" style="display: block;">
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/general.tpl" s=$s page=$page moduleImgPath=$moduleImgPath name=$name countries=$countries productSettingsPackagesList=$productSettingsPackagesList productAttributes=$productAttributes groups=$groups}
</div>
</div>
<div id="option_box_2" class="option-box">
<div id="option-box-title_2" class="option-box-title">Fields <i class="icon-angle-down"></i></div>
<div id="option-box-content_2" class="option-box-content" style="display: none;">
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/fields.tpl" s=$s page=$page moduleImgPath=$moduleImgPath categoryMapList=$categoryMapList categoriesTreeGender=$categoriesTreeGender}
</div>
</div>
<div id="option_box_3" class="option-box">
<div id="option-box-title_3" class="option-box-title">XML structure <i class="icon-angle-down"></i></div>
<div id="option-box-content_3" class="option-box-content" style="display: none;">
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/xmlStructure.tpl" s=$s page=$page moduleImgPath=$moduleImgPath groups=$groups productListWithXmlTags=$productListWithXmlTags}
</div>
</div>
<div id="option_box_4" class="option-box">
<div id="option-box-title_4" class="option-box-title">Price <i class="icon-angle-down"></i></div>
<div id="option-box-content_4" class="option-box-content" style="display: none;">
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/price.tpl" s=$s page=$page moduleImgPath=$moduleImgPath priceFromList=$priceFromList currencyList=$currencyList}
</div>
</div>
<div id="option_box_5" class="option-box">
<div id="option-box-title_5" class="option-box-title">Filter <i class="icon-angle-down"></i></div>
<div id="option-box-content_5" class="option-box-content" style="display: none;">
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/filter.tpl" s=$s page=$page moduleImgPath=$moduleImgPath priceFrom=$priceFrom priceTo=$priceTo productListSettingsPage=$productListSettingsPage supplierList=$supplierList categoriesTree=$categoriesTree categoriesTreeL=$categoriesTreeL manufacturersList=$manufacturersList productListSettingsPage=$productListSettingsPage filterAttributes=$filterAttributes filterWithoutAttributes=$filterWithoutAttributes featuresWithValues=$featuresWithValues}
</div>
</div>
<div id="option_box_6" class="option-box blmod_b20">
<div id="option-box-title_6" class="option-box-title">Product title editor <i class="icon-angle-down"></i></div>
<div id="option-box-content_6" class="option-box-content" style="display: none;">
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/productTitleEditor.tpl" s=$s page=$page productTitleEditorValues=$productTitleEditorValues productTitleEditorElementsList=$productTitleEditorElementsList attributesGroups=$groups productTitleEditorNewElements=$productTitleEditorNewElements}
</div>
</div>
{/if}
{if $s.feed_type eq 2}
<div id="category-feed-settings" class="row option-box-content">
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/general.tpl" s=$s page=$page moduleImgPath=$moduleImgPath name=$name countries=$countries productSettingsPackagesList=$productSettingsPackagesList groups=$groups}
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/xmlStructure.tpl" s=$s page=$page moduleImgPath=$moduleImgPath groups=$groups}
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/categoryExtra.tpl" s=$s page=$page moduleImgPath=$moduleImgPath}
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/fields.tpl" s=$s page=$page moduleImgPath=$moduleImgPath}
{/if}
{if $s.feed_type eq 3}
<div id="category-feed-settings" class="row option-box-content order-feed-settings">
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/general.tpl" s=$s page=$page moduleImgPath=$moduleImgPath name=$name countries=$countries productSettingsPackagesList=$productSettingsPackagesList groups=$groups}
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/price.tpl" s=$s page=$page moduleImgPath=$moduleImgPath priceFromList=$priceFromList currencyList=$currencyList}
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/fields.tpl" s=$s page=$page moduleImgPath=$moduleImgPath}
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/xmlStructure.tpl" s=$s page=$page moduleImgPath=$moduleImgPath groups=$groups}
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/orderExtra.tpl" s=$s page=$page moduleImgPath=$moduleImgPath filterDateType=$filterDateTypes FILTER_DATE_DATE_RANGE=$FILTER_DATE_DATE_RANGE FILTER_DATE_CUSTOM_DAYS=$FILTER_DATE_CUSTOM_DAYS orderStatusList=$orderStatusList}
{/if}
{if $s.feed_type eq 4 || $s.feed_type eq 5 || $s.feed_type eq 6}
<div id="category-feed-settings" class="row option-box-content">
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/general.tpl" s=$s page=$page moduleImgPath=$moduleImgPath name=$name countries=$countries productSettingsPackagesList=$productSettingsPackagesList groups=$groups}
{include file="{$tpl_dir}/views/templates/admin/editFeedTabs/xmlStructure.tpl" s=$s page=$page moduleImgPath=$moduleImgPath groups=$groups}
{/if}
<div class="cb"></div>
<div style="text-align: center;" class="blmod_mt10">
<input type="submit" name="update_feeds_s" value="Update" class="btn btn-primary" />
<input style="margin-left: 10px; font-weight: normal;" type="submit" name="clear_cache" value="Clear cache" class="btn btn-secondary" />
</div>
<input type="hidden" name="feeds_name" value="{$page|escape:'htmlall':'UTF-8'}" />
</div>
</div>
<br/>

View File

@@ -0,0 +1,24 @@
<?php
/**
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,26 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='XML Feed fields' mod='xmlfeeds'}
</div>
<div class="row">
{{$inputsHtml}}
<br/>
<input type="hidden" name="feeds_id" value="{$page|escape:'htmlall':'UTF-8'}" />
<input type="hidden" name="is_order_feed" value="1" />
<div style="text-align: center;"><input type="submit" name="settings_cat" value="{l s='Update' mod='xmlfeeds'}" class="btn btn-primary" /></div>
</div>
</div>
</form>

View File

@@ -0,0 +1,28 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='XML Feed fields' mod='xmlfeeds'}
</div>
<div class="row">
{{$inputsHtml}}
<br/>
<input type="hidden" name="feeds_id" value="{$page|escape:'htmlall':'UTF-8'}" />
<input type="hidden" name="is_product_feed" value="1" />
<div style="text-align: center;">
<input type="submit" name="settings_prod" value="{l s='Update' mod='xmlfeeds'}" class="btn btn-primary" />
</div>
</div>
</div>
</form>

View File

@@ -0,0 +1,189 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<div id="content" class="bootstrap content_blmod">
<div class="bootstrap">
<form action="{$postUrl|escape:'htmlall':'UTF-8'}" method="post">
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='Product list' mod='xmlfeeds'}
</div>
<div class="row">
{assign var="totalProducts" value="0"}
{if empty($productListId)}
<input style="width: 300px;" type="text" name="product_list_name" placeholder="{l s='Product list name' mod='xmlfeeds'}" />
<input style="margin-left: 10px;" type="submit" name="add_product_list" value="{l s='Create new list' mod='xmlfeeds'}" class="btn btn-secondary">
<div class="cb"><br></div>
<hr>
{/if}
<select id="product_list_menu" style="width: 300px; float: left;" name="product_list_id">
<option value="0" disabled {if empty($productListId)} selected{/if}>{l s='Select product list' mod='xmlfeeds'}</option>
{foreach $productListGroup as $p}
<option value="{$p.id|escape:'htmlall':'UTF-8'}"{if $p['id'] == $productListId} selected{assign var="totalProducts" value="{$p.total_products|escape:'htmlall':'UTF-8'}"}{/if}>
{$p.name|escape:'htmlall':'UTF-8'} ({$p.total_products|escape:'htmlall':'UTF-8'})
</option>
{/foreach}
</select>
<input id="product_list_select" style="display: none;" type="submit" name="select_product_list" value="Select" class="button">
{if !empty($productListId)}
<a href="{$full_address_no_t|escape:'htmlall':'UTF-8'}&product_list_page=1&delete_product_list={$productListId|escape:'htmlall':'UTF-8'}{$token|escape:'htmlall':'UTF-8'}" onclick="return confirm('{l s='Are you sure you want to delete?' mod='xmlfeeds'}')">
<span class="delete-button-link" style="float: right">{l s='Delete' mod='xmlfeeds'}</span>
<div class="cb"><br></div>
</a>
{/if}
<div class="cb"><br></div>
{if !empty($productListId)}
<div id="product-list-total-selected" class="blmod_mt10" style="font-size: 13px;">
{l s='Total products in the list:' mod='xmlfeeds'} <span>{$totalProducts|escape:'htmlall':'UTF-8'}</span>
</div>
{/if}
</div>
</div>
{if !empty($productListId)}
<div class="panel">
<div class="panel-heading">
<i class="icon-cart-arrow-down"></i> {l s='Search by product name or ID' mod='xmlfeeds'}
</div>
<div class="row">
<div>
<div id="search_mask"></div>
<div style="float: left; width: 300px; z-index: 101; position: relative;">
<input id="search_form_id" autocomplete="off" type="text" class="search_form" name="product" value="" size="50" placeholder="{l s='Search, enter product name or id' mod='xmlfeeds'}"/>
</div>
<div class="autocomplite_clear">{l s='[Clear]' mod='xmlfeeds'}</div>
<div class="cb"></div>
<div id="search_result"></div>
<div class="search_types" style="margin-bottom: 10px;">
<label for="search_name" class="blmod_mr15">
<input id="search_name" type="radio" name="search_type" value="search_name" checked="checked"> <span>{l s='Search by name' mod='xmlfeeds'}</span>
</label>
<label for="search_id">
<input id="search_id" type="radio" name="search_type" value="search_id"> <span>{l s='Search by id' mod='xmlfeeds'} </span>
</label>
<div class="cb"></div>
</div>
<div class="cb"></div>
<ul class="show_with_products">
{if !empty($productList.products)}
{foreach $productList.products as $p}
<li class="search_p_list" id="search_p-{$p.id_product|escape:'htmlall':'UTF-8'}">
<div title="{l s='Remove' mod='xmlfeeds'}" class="search_drop_product product-list-row" id="search_drop-{$p.id_product|escape:'htmlall':'UTF-8'}">
<i class="icon-trash" title="{l s='Remove from list' mod='xmlfeeds'}"></i>
</div>
<div style="float: left;" class="product-list-row">
<div style="float: left; width: 30px; margin-right: 5px;">
{if !empty($p.image)}
<img style="width: 29px;" src="{$p.image|escape:'htmlall':'UTF-8'}" alt="{l s='cover' mod='xmlfeeds'}"/>
{/if}
</div>
<div style="float: left; width: 300px;" class="search_p_name">
{$p.name|escape:'htmlall':'UTF-8'}<br/>
<span class="search_small_text">#{$p.id_product|escape:'htmlall':'UTF-8'}{$p.cat_name|escape:'htmlall':'UTF-8'}</span>
</div>
</div>
<div class="blmod_cb"></div>
</li>
{/foreach}
{/if}
</ul>
<input class="product_hidden" type="hidden" name="product_hidden" value=",{$productList.productIdList|escape:'htmlall':'UTF-8'}," />
<input style="float: right; margin-top: 10px;" type="submit" name="update_product_list" value="{l s='Update list' mod='xmlfeeds'}" class="btn btn-primary">
<div class="cb"></div>
</div>
</div>
</div>
<div class="panel">
<div class="panel-heading">
<i class="icon-folder-open"></i> {l s='Search by product category' mod='xmlfeeds'}
</div>
<div class="row">
<div class="">
<select style="width: 300px; float: left;" name="product_list_category_id">
<option value="0" disabled {if empty($productListCategoryId)} selected{/if}>{l s='Products by category' mod='xmlfeeds'}</option>
{foreach $productListCategories as $c}
<option value="{$c.id_category|escape:'htmlall':'UTF-8'}"{if $productListCategoryId == $c.id_category} selected{/if}>
{$c.name|escape:'htmlall':'UTF-8'} ({if !empty($totalProductsInCategory[$c.id_category])}{$totalProductsInCategory[$c.id_category]|escape:'htmlall':'UTF-8'}{else}0{/if})
</option>
{/foreach}
</select>
<input style="float: left; margin-left: 10px;" type="submit" name="load_product_category" value="{l s='Load products' mod='xmlfeeds'}" class="btn btn-secondary">
<div class="cb"><br></div>
</div>
{if !empty($productListCategoryId)}
<table class="table table-clean">
<thead>
<tr class="cnodrag nodrop">
<th></th>
<th>{l s='ID' mod='xmlfeeds'}</th>
<th>{l s='Image' mod='xmlfeeds'}</th>
<th>{l s='Name' mod='xmlfeeds'}</th>
</tr>
</thead>
<tbody>
{if !empty($productListByCategoryId)}
{foreach $productListByCategoryId as $p}
<tr>
<td>
<input type="checkbox" name="products_by_category[]" value="{$p.id_product|escape:'htmlall':'UTF-8'}"{if !empty($p.list_id)} checked{/if}/>
</td>
<td>{$p.id_product|escape:'htmlall':'UTF-8'}</td>
<td>
{if !empty($p.image)}
<img style="width: 25px;" src="{$p.image|escape:'htmlall':'UTF-8'}" alt="{l s='cover' mod='xmlfeeds'}"/>
{/if}
</td>
<td>{$p.name|escape:'htmlall':'UTF-8'}</td>
</tr>
{/foreach}
{/if}
</tbody>
</table>
{if !empty($productListByCategoryId)}
<input style="float: right; margin-top: 15px;" type="submit" name="update_product_list" value="{l s='Update list' mod='xmlfeeds'}" class="btn btn-primary">
<div class="cb"><br></div>
{else}
{l s='No products found' mod='xmlfeeds'}
{/if}
{/if}
</div>
</div>
<div class="panel">
<div class="panel-heading">
<i class="icon-list-ul"></i> {l s='List by product ID' mod='xmlfeeds'}
</div>
<div class="row">
<textarea style="width: 100%; height: 100px;" name="product_id_list">{$productIdList|escape:'htmlall':'UTF-8'}</textarea>
<div class="bl_comments">[{l s='Insert product IDs separated by commas, example: 5,8,97,45' mod='xmlfeeds'}]</div>
<input style="float: right; margin-top: 0px;" type="submit" name="update_product_list" value="{l s='Update list' mod='xmlfeeds'}" class="btn btn-primary">
<div class="cb"><br></div>
</div>
</div>
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='Display custom XML tags with the product list' mod='xmlfeeds'}
</div>
<div class="row">
<textarea style="width: 100%; height: 100px;" name="custom_xml_tags">{$customXmlTags|escape:'htmlall':'UTF-8'}</textarea>
<div class="bl_comments">[{l s='Make sure that you have entered validate XML code. Example: <mytag>value</mytag>' mod='xmlfeeds'}]</div>
<input style="float: right; margin-top: 0px;" type="submit" name="update_product_list" value="{l s='Update list' mod='xmlfeeds'}" class="btn btn-primary">
<div class="cb"><br></div>
</div>
</div>
{/if}
</form>
</div>
</div>

View File

@@ -0,0 +1,71 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {l s='Create new ' mod='xmlfeeds'}{$typeName|escape:'htmlall':'UTF-8'} {l s='map' mod='xmlfeeds'}
</div>
<div class="row">
<form action="{$requestUri|escape:'htmlall':'UTF-8'}" method="post">
<input type="text" placeholder="{$typeName|escape:'htmlall':'UTF-8'} {l s='map name' mod='xmlfeeds'}" name="product_property_map_name" value="" required/>
<center>
<input style="text-align: center; margin-top: 20px;" class="btn btn-secondary" type="submit" name="create_product_property_map" value="{l s='Create new' mod='xmlfeeds'}">
<input type="hidden" name="product_property_map_type" value="{$typeId|escape:'htmlall':'UTF-8'}">
</center>
<div class="cb"><br></div>
</form>
</div>
</div>
<div class="panel">
<div class="panel-heading">
<i class="icon-cog"></i> {$typeName|escape:'htmlall':'UTF-8'} {l s='mapping' mod='xmlfeeds'}
</div>
<div class="row">
<form style="border-bottom: solid 1px #EAEDEF; margin-bottom: 10px;" action="{$requestUri|escape:'htmlall':'UTF-8'}" method="post">
{if !empty($mapList)}
<input style="float: right;" class="btn btn-secondary" type="submit" name="select_product_property_map" value="{l s='Select' mod='xmlfeeds'}">
{/if}
<select style="float: left; width: 517px; margin-bottom: 15px;" name="map_id">
<option value="0">{l s='None' mod='xmlfeeds'}</option>
{foreach $mapList as $l}
<option value="{$l.id|escape:'htmlall':'UTF-8'}"{if $mapId eq $l.id} selected{/if}>{$l.name|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
<div class="cb"><br></div>
</form>
<form action="{$requestUri|escape:'htmlall':'UTF-8'}" method="post">
{if !empty($mapId)}
<a style="margin-right: 15px;" href="{$fullAdminUrl|escape:'htmlall':'UTF-8'}&{$typeUrl|escape:'htmlall':'UTF-8'}=1&product_property_map_delete={$mapId|escape:'htmlall':'UTF-8'}" class="bl_comments" onclick="return confirm('{l s='Are you sure you want to delete the map?' mod='xmlfeeds'}')">{l s='Delete the map' mod='xmlfeeds'}</a>
<input type="hidden" name="map_id" value="{$mapId|escape:'htmlall':'UTF-8'}">
<input style="float: right;" type="submit" name="update_product_property_map" value="Update" class="btn btn-primary">
<div class="cb"></div>
{foreach $productProperties as $g}
<div id="option_box_2" class="option-box">
<div id="option-box-title_{$g.id|escape:'htmlall':'UTF-8'}" class="option-box-title">{$g.name|escape:'htmlall':'UTF-8'} <i class="icon-angle-down"></i></div>
<div id="option-box-content_{$g.id|escape:'htmlall':'UTF-8'}" class="option-box-content" style="display: none;">
{foreach $g.properties as $p}
<div class="product-property-row">
<label class="t" style="width: 100%!important;">
<div class="product-property-row-name">{$p.name|escape:'htmlall':'UTF-8'}</div>
<input type="text" placeholder="{l s='Enter a new name' mod='xmlfeeds'}" name="property[{$g.id|escape:'htmlall':'UTF-8'}][{$p.id|escape:'htmlall':'UTF-8'}]" value="{if isset($p.value)}{$p.value|escape:'htmlall':'UTF-8'}{/if}">
</label>
</div>
{/foreach}
</div>
</div>
{/foreach}
<input style="float: right;" type="submit" name="update_product_property_map" value="Update" class="btn btn-primary">
{/if}
</form>
</div>
</div>

View File

@@ -0,0 +1,37 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<ul class="search_list_autocomplite">
{if !empty($products)}
{foreach $products as $p}
<li class="search_p_list" id="search_p-{$p.id_product|escape:'htmlall':'UTF-8'}">
<div class="search_drop_product product-list-row" id="search_drop-{$p.id_product|escape:'htmlall':'UTF-8'}">
<i class="icon-trash" title="{l s='Remove from list' mod='xmlfeeds'}"></i>
</div>
<div style="float: left;" class="product-list-row">
<div style="float: left; width: 30px; margin-right: 5px;">
<img alt="{l s='Product' mod='xmlfeeds'}" style="width: 29px;" src="{$p.img_url|escape:'htmlall':'UTF-8'}" />
</div>
<div style="float: left; width: 300px;" class="search_p_name">
{$p.name|escape:'htmlall':'UTF-8'}<br/>
<span class="search_small_text">#{$p.id_product|escape:'htmlall':'UTF-8'}{$p.cat_name|escape:'htmlall':'UTF-8'}</span>
</div>
</div>
<div class="blmod_cb"></div>
</li>
{if $totalProducts > $limit}
<li>...</li>
{/if}
{/foreach}
{/if}
</ul>

View File

@@ -0,0 +1,31 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
{if !empty($feedTypeList)}
{include file="{$tpl_dir}/views/templates/admin/element/feedTypeList.tpl" feedTypeList=$feedTypeList}
{else}
<div class="feed-type-not-found">
<div>
Sorry, we couldn't find any result.
</div>
<div style="margin-top: 5px;">
{l s='Feel free to contact us via' mod='xmlfeeds'} <a href="{$contactUsUrl|escape:'htmlall':'UTF-8'}" target="_blank">{l s='Prestashop Messenger' mod='xmlfeeds'}</a>.
</div>
<div style="margin-top: 5px;">
{l s='We will be very happy to help integrate a new marketplace/channel or just create an individual XML feed.' mod='xmlfeeds'}
</div>
<div style="margin-top: 5px;">
{l s='Of course, if you want, you can always change the settings by yourself and create a custom XML feed by your requirements. Our module will provide a lot of flexibility with XML structure, data filters.' mod='xmlfeeds'}
</div>
</div>
{/if}

View File

@@ -0,0 +1,55 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<div class="panel">
<div class="panel-heading">
<i class="icon-bar-chart"></i> {l s='Statistics' mod='xmlfeeds'}
</div>
<div class="row">
<div>
<table border="0" width="100%" cellpadding="3" cellspacing="0">
<tr>
<td>
{l s='Feed name:' mod='xmlfeeds'} {$feed.name|escape:'htmlall':'UTF-8'}
</td>
</tr>
<tr>
<td>
{l s='Total views:' mod='xmlfeeds'} {$feed.total_views|escape:'htmlall':'UTF-8'}
</td>
</tr>
<tr><td>&nbsp;</td></tr>
</table>
</div>
{if !empty($stat)}
<div class="blmod_clicks_list">
<div id="blmod_clicks_title" class="blmod_clicks_row blmod_clicks_title" style="border-bottom: solid 1px #a0d0eb;">
<div class="blmod_clicks_ip"><a href="{$full_address_no_t|escape:'htmlall':'UTF-8'}&statistics={$statistics|escape:'htmlall':'UTF-8'}&order_name=ip_address{$order|escape:'htmlall':'UTF-8'}{$token|escape:'htmlall':'UTF-8'}">{l s='User IP address' mod='xmlfeeds'}</a></div>
<div class="blmod_clicks_date"><a href="{$full_address_no_t|escape:'htmlall':'UTF-8'}&statistics={$statistics|escape:'htmlall':'UTF-8'}&order_name=date{$order|escape:'htmlall':'UTF-8'}{$token|escape:'htmlall':'UTF-8'}">{l s='Date' mod='xmlfeeds'}</a></div>
<div class="blmod_clicks_url"><a href="{$full_address_no_t|escape:'htmlall':'UTF-8'}&statistics={$statistics|escape:'htmlall':'UTF-8'}&order_name=affiliate_name{$order|escape:'htmlall':'UTF-8'}{$token|escape:'htmlall':'UTF-8'}">{l s='Affiliate' mod='xmlfeeds'}</a></div>
<div class="cb"></div>
</div>
{foreach $stat as $s}
<div class="blmod_clicks_row">
<div class="blmod_clicks_ip">{$s.ip_address|escape:'htmlall':'UTF-8'}</div>
<div class="blmod_clicks_date">{$s.date|escape:'htmlall':'UTF-8'}</div>
<div class="blmod_clicks_url">{$s.affiliate_name|escape:'htmlall':'UTF-8'}</div>
<div class="cb"></div>
</div>
{/foreach}
</div>
<div class="cb"></div><br/>
<div class="blmod_pagination">{$pag.2}</div>
{/if}
</div>
</div>