{hook key=product_listing_base_section_panel_top module_data=$module_data} {* *} {if $listing_version == "v1"}

{if !$module_data.products_image || $module_data.products_image == 'product:noimage.gif'} {img img='no_image.png' type=t_img class="image center product-image productImageBorder img-responsive" alt=$module_data.products_name|escape:"html"} {else} {img img=$module_data.products_image type=m_ewevelationsthumb class="image center product-image productImageBorder img-responsive" alt=$module_data.products_name|escape:"html"} {/if}

{$module_data.products_name}

{if defined('CONFIG_EW_EVELATIONS_PLUGIN_LISTING_NORATING') && $smarty.const.CONFIG_EW_EVELATIONS_PLUGIN_LISTING_NORATING|trim == '1'} {if $module_data.shipping_status || $module_data.stock_image}
{if $module_data.stock_image}{img img=$module_data.stock_image.image type=t_img_stockrules alt=$module_data.stock_image.name}{/if}
{/if} {else} {if $module_data.review_stars_rating}
{/if} {/if} {if $module_data.show_stock}

{txt key=TEXT_STOCK} {$module_data.products_quantity|round} {if $module_data.products_unit_name}{$module_data.products_unit_name}{/if}

{/if} {if $smarty.const._CUST_STATUS_SHOW_PRICE eq '1' and $module_data.products_price.formated neq ''} {if defined('CONFIG_EW_EVELATIONS_PLUGIN_LISTING_FOOTERTAX') && $smarty.const.CONFIG_EW_EVELATIONS_PLUGIN_LISTING_FOOTERTAX|trim == '1'}

{$module_data.products_price.formated}*

{if $module_data.base_price}

{$module_data.base_price.price} {txt key=TEXT_SHIPPING_BASE_PER} {$module_data.base_price.vpe.name}

{/if} {else}

{$module_data.products_price.formated}

{if $module_data.base_price}

{$module_data.base_price.price} {txt key=TEXT_SHIPPING_BASE_PER} {$module_data.base_price.vpe.name}

{/if} {if $module_data.products_shipping_link}

{$module_data.products_tax_info.tax_desc} {if !$module_data.products_digital}{txt key=TEXT_EXCL_SHIPPING}{/if}

{else}

{$module_data.products_tax_info.tax_desc} {if !$module_data.products_digital}{txt key=TEXT_EXCL_SHIPPING}{/if}

{/if} {/if} {/if} {if $module_data.date_available|trim != ""}
{/if}
{/if} {* *} {if $listing_version == "v2"}

{$module_data.products_name}

{if defined('CONFIG_EW_EVELATIONS_PLUGIN_LISTING_NORATING') && $smarty.const.CONFIG_EW_EVELATIONS_PLUGIN_LISTING_NORATING|trim == '1'} {if $module_data.shipping_status || $module_data.stock_image}
{if $module_data.stock_image}{img img=$module_data.stock_image.image type=t_img_stockrules alt=$module_data.stock_image.name}{/if}
{/if} {else} {if $module_data.review_stars_rating}
{/if} {/if} {if $smarty.const._CUST_STATUS_SHOW_PRICE eq '1' and $module_data.products_price.formated neq ''} {if defined('CONFIG_EW_EVELATIONS_PLUGIN_LISTING_FOOTERTAX') && $smarty.const.CONFIG_EW_EVELATIONS_PLUGIN_LISTING_FOOTERTAX|trim == '1'}

{$module_data.products_price.formated}*

{if $module_data.base_price}

{$module_data.base_price.price} {txt key=TEXT_SHIPPING_BASE_PER} {$module_data.base_price.vpe.name}

{/if} {else}

{$module_data.products_price.formated}

{if $module_data.base_price}

{$module_data.base_price.price} {txt key=TEXT_SHIPPING_BASE_PER} {$module_data.base_price.vpe.name}

{/if} {if $module_data.products_shipping_link}

{$module_data.products_tax_info.tax_desc} {if !$module_data.products_digital}{txt key=TEXT_EXCL_SHIPPING}{/if}

{else}

{$module_data.products_tax_info.tax_desc} {if !$module_data.products_digital}{txt key=TEXT_EXCL_SHIPPING}{/if}

{/if} {/if} {/if} {if $module_data.products_short_description|strip_tags|trim != ''}
{$module_data.products_short_description}
{elseif $module_data.products_description|strip_tags|trim != ''}
{$module_data.products_description|strip_tags|truncate:140:'...'}
{/if} {if $module_data.date_available!=''}

  {txt key=TEXT_PRODUCT_AVAILABLE} {$module_data.date_available|date_format:"%A, %d.%m.%Y"}

{else}
{/if} {if defined('CONFIG_EW_EVELATIONS_PLUGIN_LISTING_CARTBUTTON') && $smarty.const.CONFIG_EW_EVELATIONS_PLUGIN_LISTING_CARTBUTTON|trim == '1'} {if $module_data.allow_add_cart eq 'true'} {form type=form name=product id={"product_listing_add_cart_{$module_data.products_id}"} action='dynamic' link_params=getParams method=post} {form type=hidden name=action value=add_product} {form type=hidden name=product value=$module_data.products_id} {form type=hidden name=qty value=1} {form type=hidden name=gotoCart value=$smarty.const._STORE_GOTO_CART_DIRECTLY} {form type=formend} {/if} {/if} {txt key=BUTTON_TO_ARTICLE}
{/if} {hook key=product_listing_base_section_panel_bottom module_data=$module_data}