first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<div class="form-group {if isset($additionDescriptionHidden) && $additionDescriptionHidden}hidden{/if}" {if isset($additionDescriptionHidden) && $additionDescriptionHidden}style="display: none;"{/if}>
<div class="xallegro-description-additional-wrapper">
<label for="xallegro_description_additional_{$additionDescriptionKey}">
<a class="btn xallegro-description-additional-move">{if version_compare($smarty.const._PS_VERSION_, '1.7.0.0', '>=')}<i class="material-icons">drag_indicator</i>{else}<i class="icon-bars"></i>{/if}</a>
<span class="xallegro-description-additional-tag">{literal}{{/literal}product_description_additional_{$additionDescriptionKey + 1}{literal}}{/literal}</span>
<a class="btn xallegro-description-additional-delete">{if version_compare($smarty.const._PS_VERSION_, '1.7.0.0', '>=')}<i class="material-icons">delete</i>{else}<i class="icon-trash"></i>{/if}</a>
</label>
<div class="xallegro-description-additional-inner">
<textarea
id="xallegro_description_additional_{$additionDescriptionKey}"
name="xallegro_description_additional[]"
class="textarea-autosize xallegro_description_additional_{$additionDescriptionKey}" style="width: 100%;"
>{if version_compare($smarty.const._PS_VERSION_, '1.7.0.0', '>=')}{$additionDescriptionValue nofilter}{else}{$additionDescriptionValue}{/if}</textarea>
</div>
</div>
</div>

View File

@@ -0,0 +1,16 @@
<div class="form-group clearfix">
<div class="xallegro-image-additional-wrapper clearfix">
<img src="{$additionalImage}" alt="" class="imgm img-thumbnail">
<span class="img-description">
<strong>{l s='Dodatkowe zdjęcie' mod='x13allegro'} {$additionalImageKey}</strong><br>
{l s='wymiary' mod='x13allegro'}: {$additionalImageWidth}x{$additionalImageHeight}<br>
{l s='rozmiar' mod='x13allegro'}: {$additionalImageSize} MB
</span>
<a class="btn xallegro-image-additional-delete" data-name="{$additionalImageName}">
{if version_compare($smarty.const._PS_VERSION_, '1.7.0.0', '>=')}<i class="material-icons">delete</i>{else}<i class="icon-trash"></i>{/if}
</a>
<a class="btn xallegro-image-additional-update" data-name="{$additionalImageName}">
{if version_compare($smarty.const._PS_VERSION_, '1.7.0.0', '>=')}<i class="material-icons">edit</i>{else}<i class="icon-edit"></i>{/if}
</a>
</div>
</div>

View File

@@ -0,0 +1,66 @@
<div class="form-group clearfix">
<label for="xallegro_sync_price" class="control-label form-control-label col-lg-3">
<span>{l s='Aktualizuj cenę na Allegro' mod='x13allegro'}</span>
</label>
<div class="col-lg-3">
<select class="custom-select" name="xallegro_sync_price" id="xallegro_sync_price">
<option value="" {if $syncPrice === null}selected="selected"{/if}>{l s='użyj ustawienia z wszystkich kont (jeśli istnieje) lub globalnej opcji konta' mod='x13allegro'}</option>
{foreach $syncPriceList as $key => $value}
<option value="{$value.id}" {if $syncPrice !== null && $syncPrice == $value.id}selected="selected"{/if}>{$value.name}</option>
{/foreach}
</select>
<div class="help-block form-text">
{l s='Domyśle ustawienie dla wybranego konta' mod='x13allegro'}: {$syncPriceList[$syncPriceDefault]['name']}
</div>
</div>
</div>
<div class="form-group clearfix">
<div class="col-lg-7">
<table class="table">
<thead>
<tr>
<th scope="col">{l s='Ceny indywidualne' mod='x13allegro'}</th>
<th scope="col" style="width: 100px;">{l s='Cena/wpływ' mod='x13allegro'}</th>
<th scope="col" style="width: 225px;">{l s='Typ modyfikacji' mod='x13allegro'}</th>
</tr>
</thead>
<tbody>
{foreach $prices as $row}
<tr>
<td>
{if !$row.id_product_attribute}
<a title="{l s='Zmiana ceny dla produktu głównego spowoduje narzucenie wpływu na wszystkie jego kombinacje (jeśli istnieją)' mod='x13allegro'}" class="xallegro-custom-price-helper">
{if version_compare($smarty.const._PS_VERSION_, '1.7.0.0', '>=')}<i class="material-icons">help_outline</i>{else}<i class="icon icon-question-circle" aria-hidden="true"></i>{/if}
</a>
{/if}
{$row.label}
{if !$row.id_product_attribute}
(produkt główny)
{/if}
</td>
<td>
<input {if $row.disabled}readonly{/if} type="text" class="form-control width-xs allegro-price-input{if $row.id_product_attribute} with-combinations{else} wo-combinations{/if}" name="xallegro_custom_price[{$row.id_product_attribute}][value]" value="{$row.value}" data-cast="float" data-cast-unsigned="{if $row.method == $impactMethodPrice}false{else}true{/if}">
</td>
<td>
<select name="xallegro_custom_price[{$row.id_product_attribute}][method]" class="form-control allegro-price-method{if $row.id_product_attribute} with-combinations{else} wo-combinations{/if} {if $row.disabled}readonly{/if}">
<option {if $row.method == $impactMethodPrice}selected{/if} value="{$impactMethodPrice}">{l s='Cena końcowa' mod='x13allegro'}</option>
<option {if $row.method == $impactMethodAmount}selected{/if} value="{$impactMethodAmount}">{l s='Wpływ na cenę (wartość)' mod='x13allegro'}</option>
<option {if $row.method == $impactMethodPercentage}selected{/if} value="{$impactMethodPercentage}">{l s='Wpływ na cenę (procent)' mod='x13allegro'}</option>
</select>
</td>
</tr>
{/foreach}
</tbody>
</table>
<p class="text-muted">
<button class="btn btn-default" id="xallegro_custom_prices_delete">
{l s='Usuń wszystkie ceny indywidualne dla tego produktu' mod='x13allegro'}
</button>
</p>
</div>
</div>

View File

@@ -0,0 +1,33 @@
<div class="form-group clearfix">
<label for="xallegro_sync_quantity_allegro" class="control-label form-control-label col-lg-3">
<span>{l s='Aktualizuj stany magazynowe w Allegro' mod='x13allegro'}</span>
</label>
<div class="col-lg-3">
<select class="custom-select" name="xallegro_sync_quantity_allegro" id="xallegro_sync_quantity_allegro">
<option value="" {if $syncQuantityAllegro === null}selected="selected"{/if}>{l s='użyj ustawienia z wszystkich kont (jeśli istnieje) lub globalnej opcji konta' mod='x13allegro'}</option>
<option value="1" {if $syncQuantityAllegro !== null && $syncQuantityAllegro == '1'}selected="selected"{/if}>{l s='Tak' mod='x13allegro'}</option>
<option value="0" {if $syncQuantityAllegro !== null && $syncQuantityAllegro == '0'}selected="selected"{/if}>{l s='Nie' mod='x13allegro'}</option>
</select>
<div class="help-block form-text">
{l s='Domyśle ustawienie dla wybranego konta' mod='x13allegro'}: {if $syncQuantityAllegroDefault}{l s='Tak' mod='x13allegro'}{else}{l s='Nie' mod='x13allegro'}{/if}
</div>
</div>
</div>
<div class="form-group clearfix">
<label for="xallegro_auto_renew" class="control-label form-control-label col-lg-3">
<span>{l s='Włącz auto wznawianie ofert' mod='x13allegro'}</span>
</label>
<div class="col-lg-3">
<select class="custom-select" name="xallegro_auto_renew" id="xallegro_auto_renew">
<option value="" {if $autoRenew === null}selected="selected"{/if}>{l s='użyj ustawienia z wszystkich kont (jeśli istnieje) lub globalnej opcji konta' mod='x13allegro'}</option>
<option value="1" {if $autoRenew !== null && $autoRenew == '1'}selected="selected"{/if}>{l s='Tak' mod='x13allegro'}</option>
<option value="0" {if $autoRenew !== null && $autoRenew == '0'}selected="selected"{/if}>{l s='Nie' mod='x13allegro'}</option>
</select>
<div class="help-block form-text">
{l s='Domyśle ustawienie dla wybranego konta' mod='x13allegro'}: {if $autoRenewDefault}{l s='Tak' mod='x13allegro'}{else}{l s='Nie' mod='x13allegro'}{/if}
</div>
</div>
</div>

View File

@@ -0,0 +1,36 @@
<div class="form-group clearfix">
<label for="xallegro_auction_title" class="control-label form-control-label col-lg-3">
<span>{l s='Tytuł oferty' mod='x13allegro'}</span>
</label>
<div class="col-lg-9">
<input id="xallegro_auction_title" type="text" name="xallegro_auction_title" class="form-control" value="{$titlePattern|escape}">
</div>
<div class="col-lg-9 col-lg-offset-3">
<div id="xallegro_title_count" class="help-block form-text" {if $titleCount === false}style="display: none;"{/if}>
<p>{l s='Ilość znaków' mod='x13allegro'}: <strong><span class="xallegro_title_counter">{$titleCount|intval}</span>/{$titleMaxSize|intval}</strong></p>
</div>
<div class="help-block form-text">
{l s='Domyślny tytuł oferty' mod='x13allegro'}: <b>{$titlePatternDefault}</b><br>
</div>
<div class="help-block form-text">
<a href="#" id="xallegro_show_title_pattens">{l s='Pokaż dostępne znaczniki' mod='x13allegro'}</a>
</div>
<div id="xallegro_title_patterns" class="help-block form-text" style="display: none;">
<span class="x13allegro_black" style="color:#222">{l s='{product_id}' mod='x13allegro'}</span> - ID produktu<br>
<span class="x13allegro_black" style="color:#222">{l s='{product_name}' mod='x13allegro'}</span> - Nazwa produktu<br>
<span class="x13allegro_black" style="color:#222">{l s='{product_name_attribute}' mod='x13allegro'}</span> - Nazwa atrybutu<br>
<span class="x13allegro_black" style="color:#222">{l s='{product_short_desc}' mod='x13allegro'}</span> - Krótki opis<br>
<span class="x13allegro_black" style="color:#222">{l s='{product_reference}' mod='x13allegro'}</span> - Kod referencyjny (indeks) produktu<br>
<span class="x13allegro_black" style="color:#222">{l s='{product_ean13}' mod='x13allegro'}</span> - Kod EAN13<br>
<span class="x13allegro_black" style="color:#222">{l s='{product_weight}' mod='x13allegro'}</span> - Waga produktu<br>
<span class="x13allegro_black" style="color:#222">{l s='{product_price}' mod='x13allegro'}</span> - Cena produktu<br>
<span class="x13allegro_black" style="color:#222">{l s='{manufacturer_name}' mod='x13allegro'}</span> - Nazwa producenta<br>
<span class="x13allegro_black" style="color:#222">{l s='{attribute_group_X}' mod='x13allegro'}</span> - Nazwa i wartość grupy atrybutów X (grupa atrybutów musi być przypisana do kombinacji produktu)<br>
<span class="x13allegro_black" style="color:#222">{l s='{attribute_group_value_X}' mod='x13allegro'}</span> - Wartość grupy atrybutów X (grupa atrybutów musi być przypisana do kombinacji produktu)<br>
<span class="x13allegro_black" style="color:#222">{l s='{feature_X}' mod='x13allegro'}</span> - Nazwa i wartość cechy X (cecha musi być przypisana do produktu)<br>
<span class="x13allegro_black" style="color:#222">{l s='{feature_value_X}' mod='x13allegro'}</span> - Wartość cechy X (cecha musi być przypisana do produktu)<br>
</div>
</div>
</div>