{* * @author EcomZone * @copyright EcomZone * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 *}

{l s='EcomZone Configuration' mod='ecomzone'}

{l s='Product Synchronization' mod='ecomzone'}

{l s='Last synchronization:' mod='ecomzone'} {if $ECOMZONE_LAST_SYNC}{$ECOMZONE_LAST_SYNC}{else}{l s='Never' mod='ecomzone'}{/if}

{l s='Product Preview' mod='ecomzone'}

{if isset($API_PRODUCTS) && $API_PRODUCTS}
{foreach from=$API_PRODUCTS item=product} {/foreach}
{l s='SKU' mod='ecomzone'} {l s='Name' mod='ecomzone'} {l s='Price' mod='ecomzone'} {l s='Stock' mod='ecomzone'} {l s='Status' mod='ecomzone'}
{$product.sku|escape:'html':'UTF-8'} {$product.product_name|escape:'html':'UTF-8'} {$product.product_price|escape:'html':'UTF-8'} {$product.stock|escape:'html':'UTF-8'} {if isset($product.sync_status)} {$product.sync_status|escape:'html':'UTF-8'} {/if}
{if isset($PAGINATION)}
    {for $page=1 to $PAGINATION.total_pages}
  • {$page}
  • {/for}
{/if} {/if}
{if isset($SYNC_PROGRESS)}

{l s='Sync Progress' mod='ecomzone'}

{$SYNC_PROGRESS.percentage}%

{l s='Processed:' mod='ecomzone'} {$SYNC_PROGRESS.processed} / {$SYNC_PROGRESS.total}

{/if}

{l s='Recent Activity Log' mod='ecomzone'}

{if isset($ACTIVITY_LOG) && $ACTIVITY_LOG} {foreach from=$ACTIVITY_LOG item=log} {/foreach} {else} {/if}
{l s='Time' mod='ecomzone'} {l s='Level' mod='ecomzone'} {l s='Message' mod='ecomzone'} {l s='Details' mod='ecomzone'}
{$log.timestamp|escape:'html':'UTF-8'} {$log.level|escape:'html':'UTF-8'} {$log.message|escape:'html':'UTF-8'} {if $log.details} {/if}
{l s='No activity logs available' mod='ecomzone'}