{# app/templates/admin/marketplace.html #} {% extends "admin/base.html" %} {% from 'shared/macros/pagination.html' import pagination %} {% from 'shared/macros/alerts.html' import alert_dynamic, error_state %} {% from 'shared/macros/modals.html' import job_details_modal %} {% from 'shared/macros/tables.html' import table_wrapper, table_header %} {% from 'shared/macros/headers.html' import page_header_flex, refresh_button %} {% from 'shared/macros/inputs.html' import number_stepper %} {% from 'shared/macros/tabs.html' import tabs_nav, tab_button, tab_panel, endtab_panel %} {% block title %}Marketplace Import{% endblock %} {% block alpine_data %}adminMarketplace(){% endblock %} {% block content %} {% call page_header_flex(title='Marketplace Import', subtitle='Import products from external marketplaces') %} {{ refresh_button(onclick='refreshJobs()') }} {% endcall %} {{ alert_dynamic(type='success', message_var='successMessage', show_condition='successMessage') }} {{ error_state('Error', show_condition='error') }}

Start New Import

{% call tabs_nav(tab_var='activeImportTab') %} {{ tab_button('letzshop', 'Letzshop', tab_var='activeImportTab', icon='shopping-cart', onclick="switchMarketplace('letzshop')") }} {{ tab_button('codeswholesale', 'CodesWholesale', tab_var='activeImportTab', icon='code', onclick="switchMarketplace('codeswholesale')") }} {% endcall %} {{ tab_panel('letzshop', tab_var='activeImportTab') }}

Select the vendor to import products for

Enter the URL of the Letzshop CSV feed

Select the language of the CSV feed

{{ number_stepper(model='importForm.batch_size', min=100, max=5000, step=100, label='Batch Size') }}

Number of products to process per batch (100-5000)

This vendor has no Letzshop CSV URLs configured

{{ endtab_panel() }} {{ tab_panel('codeswholesale', tab_var='activeImportTab') }}

CodesWholesale Integration

Import digital game keys and software licenses from CodesWholesale API.

Coming soon - This feature is under development

{{ endtab_panel() }}

Loading import jobs...

You haven't triggered any imports yet

Start a new import using the form above

{% call table_wrapper() %} {{ table_header(['Job ID', 'Vendor', 'Marketplace', 'Status', 'Progress', 'Started', 'Duration', 'Actions']) }} {% endcall %} {{ pagination(show_condition="!loading && pagination.total > 0") }}
{{ job_details_modal() }} {% endblock %} {% block extra_scripts %} {% endblock %}