Jump to content

Edit History

astralabe

astralabe

personnellement j'ai déplacé

if !$configuration.taxes_enabled}
            {l s='No tax' d='Shop.Theme.Catalog'}
        {elseif $configuration.display_taxes_label}
            <span class="price">{$product.labels.tax_long}</span>
        {/if}

dans le fichier \themes\*****\templates\catalog\_partials\product-prices.tpl cela commençait à la ligne 86 chez moi et je l'ai mis à la ligne 51 avant </div>

ce qui donne la div complète :

        <div class="current-price">
          <span class="current-price-display price{if $product.has_discount} current-price-discount{/if}">{$product.price}</span>
          {if $product.has_discount}
            {if $product.discount_type === 'percentage'}
              <span class="discount discount-percentage">{l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]}</span>
            {else}
              <span class="discount discount-amount">
                  {l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]}
              </span>
            {/if}
          {/if}
        {* deplace *}
          {if !$configuration.taxes_enabled}
            {l s='No tax' d='Shop.Theme.Catalog'}
        {elseif $configuration.display_taxes_label}
            <span class="price">{$product.labels.tax_long}</span>
        {/if}
        {* fin deplace *}
        </div>

 

astralabe

astralabe

perrsonelement j'ai déplacé

if !$configuration.taxes_enabled}
            {l s='No tax' d='Shop.Theme.Catalog'}
        {elseif $configuration.display_taxes_label}
            <span class="price">{$product.labels.tax_long}</span>
        {/if}

dans le fichier \themes\*****\templates\catalog\_partials\product-prices.tpl cela commancais a la ligne 86 chez mois et je l'es mit a la ligne 51 avant </div>

ce qui donne la div complete :

        <div class="current-price">
          <span class="current-price-display price{if $product.has_discount} current-price-discount{/if}">{$product.price}</span>
          {if $product.has_discount}
            {if $product.discount_type === 'percentage'}
              <span class="discount discount-percentage">{l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]}</span>
            {else}
              <span class="discount discount-amount">
                  {l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]}
              </span>
            {/if}
          {/if}
        {* deplace *}
          {if !$configuration.taxes_enabled}
            {l s='No tax' d='Shop.Theme.Catalog'}
        {elseif $configuration.display_taxes_label}
            <span class="price">{$product.labels.tax_long}</span>
        {/if}
        {* fin deplace *}
        </div>

 

×
×
  • Create New...