Files
kupshop/admin/templates/window/import.xml_feed.tpl
2025-08-02 16:30:27 +02:00

79 lines
3.6 KiB
Smarty

{extends "../window.tpl"}
{block title}
Import
{/block}
{block tabs}
{windowTab id='flap0' label="Import zboží"}
{/block}
{block tabsContent}
<div id="flap0" class="tab-pane fade active in boxStatic box" label="Import">
<div class="row">
<div class="col-md-2 control-label">
<label>Ukládání</label>
</div>
<div class="col-md-3">
<input type="radio" name="dbSave" value="insert_new" checked id="pWH1" />
<label for="pWH1">
pridat ke stávajícímu zboží</label>
</div>
</div>
<div class="row">
<div class="col-md-5 col-md-offset-2">
<input type="radio" name="dbSave" value="delete_and_insert_new" id="pWH2" />
<label for="pWH2">
smazat stávající zboží a pridat importované</label>
</div>
</div>
<div class="row">
<div class="col-md-5 col-md-offset-2">
<input type="radio" name="dbSave" value="update" id="pWH3" />
<label for="pWH3">
upravit stávající zboží stejného kódu</label>
</div>
</div>
<div class="form-group">
<div class="col-md-5 col-md-offset-2">
<input type="checkbox" name="downloadImages" value="yes" id="phH1" checked />
<label for="phH1">
stáhnout obrázky</label>
</div>
</div>
<div class="form-group">
<div class="col-md-2 control-label"><label>Formát kódu</label></div>
<div class="col-md-3"><input type="text" name="codePattern" class="form-control input-sm" value="id=([-0-9A-Za-z]+)" />Regulární výraz pro získání KÓDU z URL produktu
</div>
</div>
<div class="form-group">
<div class="col-md-2 control-label"><label>URL XML souboru</label></div>
<div class="col-md-3"><input type="text" name="feedUrl" class="form-control input-sm" value="http://" />
</div>
</div>
<div class="form-group">
<div class="col-md-2 control-label">
<label>XSLT soubor</label>
</div>
<div class="col-md-4">
<input type="file" class="filestyle" name="xsltFile" data-iconName="glyphicon-folder-open" data-buttonText="Přidat soubor"/>
Pokud feed neodpovida standardu, aplikujte XSLT transformaci pro pred-upravu feedu
</div>
</div>
</div>
{/block}
{block buttonsLeft}
{/block}
{block buttonsRight}
<div class="col-md-2 col-md-offset-10">
<input type="hidden" name="type" value="xmlFeed" />
<input type="submit" name="Submit" class="btn btn-primary btn-block" value="Importovat">
</div>
{/block}