Jump to content

Edit History

se.ehsan

se.ehsan

hello 

On 1/22/2018 at 7:01 AM, Tiago said:

Yes and seams not to work for me! No idea what i have to do but thanks for the help

hello dear 

you should put below code in product.tpl after line: 

<span class="sr-only">{l s='Price' d='Shop.Theme.Catalog'}</span>

          <!-- changes here -->
              {if $product.price_amount == 0}
                <span itemprop="price" class="price">Call for Price!</span>
              {else}
              <span itemprop="price" class="price">{$product.price}</span>
              {/if}
                <!-- finish here -->

 

and below code in product-prices.tpl after line :

    <meta itemprop="priceCurrency" content="{$currency.iso_code}">   

 {if $product.price_amount == 0}
                       <!-- changes here  <div class="current-price">    -->
              <span itemprop="price" content="{$product.price_amount}">Call for Price!</span>
                      {else}
                            <div class="current-price">
            <span itemprop="price" content="{$product.price_amount}">{$product.price}</span>
                         {/if}

 

se.ehsan

se.ehsan

hello 

On 1/22/2018 at 7:01 AM, Tiago said:

Yes and seams not to work for me! No idea what i have to do but thanks for the help

hello dear 

you should put below code in product.tpl after line: 

<span class="sr-only">{l s='Price' d='Shop.Theme.Catalog'}</span>

          <!-- changes here -->
              {if $product.price_amount == 0}
                <span itemprop="price" class="price">Call for Price!</span>
              {else}
              <span itemprop="price" class="price">{$product.price}</span>
              {/if}
                <!-- finish here -->

 

and below code in product-prices.tpl after line :

    <meta itemprop="priceCurrency" content="{$currency.iso_code}">   

 {if $product.price_amount == 1}
                       <!-- changes here  <div class="current-price">    -->
              <span itemprop="price" content="{$product.price_amount}">Call for Price!</span>
                      {else}
                            <div class="current-price">
            <span itemprop="price" content="{$product.price_amount}">{$product.price}</span>
                         {/if}

 

×
×
  • Create New...