Jump to content

Jak wyświetlić nazwę "BESTSELLER" przy produkcie, tak jak "NOWE""


Prestaraf

Recommended Posts

 

kod nowości:

{if isset($product.new) && $product.new == 1}
	<a class="new-box" href="{$product.link|escape:'html':'UTF-8'}">
		<span class="new-label">{l s='New'}</span>
	</a>
{/if}	

niestety kod poniżej nie działa:

{if isset($best_sellers) }
  <a class="best-box" href="{$product.link|escape:'html':'UTF-8'}">
      <span class="new-label">BESTSELLER</span>
  </a>
{/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...