Jump to content
  • 0

Jak usunąć prostokąt o dostępności.


p.golab

Question

3 answers to this question

Recommended Posts

  • 0


{*if (!$PS_CATALOG_MODE && $PS_STOCK_MANAGEMENT && ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}

{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}

<span class="availability">

{if ($product.allow_oosp || $product.quantity > 0)}

<span class="{if $product.quantity <= 0 && isset($product.allow_oosp) && !$product.allow_oosp} label-danger{elseif $product.quantity <= 0} label-warning{else} label-success{/if}">

{if $product.quantity <= 0}{if $product.allow_oosp}{if isset($product.available_later) && $product.available_later}{$product.available_later}{else}{l s='In Stock'}{/if}{else}{l s='Out of stock'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock'}{/if}{/if}

</span>

{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}

<span class="label-warning">

{l s='Product available with different options'}

</span>

{else}

<span class="label-danger">

{l s='Out of stock'}

</span>

{/if}

</span>

{/if}

{/if*}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...