Jump to content
thirty bees forum

Question

Posted

As i can see from product-wide.tpl:

 

{if !empty($features)}
        <section id="product-features" class="page-product-box">
          <h3 class="page-product-heading">{l s='Data sheet'}</h3>
          <div class="table-responsive">
            <table class="table table-bordered table-condensed table-hover table-data-sheet">
              {foreach from=$features item=feature}
                <tr class="{cycle values="odd,even"}">
                  {if isset($feature.value)}
                    <td>{$feature.name|escape:'html':'UTF-8'}</td>
                    <td>{$feature.value|escape:'html':'UTF-8'}</td>
                  {/if}
                </tr>
              {/foreach}
            </table>
          </div>
        </section>
      {/if}

      {if isset($product) && $product->description}
        <section id="product-description" class="page-product-box">
          <h3 class="page-product-heading">{l s='More info'}</h3>
          <div  class="rte">{$product->description}</div>
        </section>
      {/if}
And i change that to:
{if isset($product) && $product->description}
        <section id="product-description" class="page-product-box">
          <h3 class="page-product-heading">{l s='More info'}</h3>
          <div  class="rte">{$product->description}</div>
        </section>
      {/if}

	{if !empty($features)}
        <section id="product-features" class="page-product-box">
          <h3 class="page-product-heading">{l s='Data sheet'}</h3>
          <div class="table-responsive">
            <table class="table table-bordered table-condensed table-hover table-data-sheet">
              {foreach from=$features item=feature}
                <tr class="{cycle values="odd,even"}">
                  {if isset($feature.value)}
                    <td>{$feature.name|escape:'html':'UTF-8'}</td>
                    <td>{$feature.value|escape:'html':'UTF-8'}</td>
                  {/if}
                </tr>
              {/foreach}
            </table>
          </div>
        </section>
      {/if}

Data Sheet is still top of description box.

1 answer to this question

Recommended Posts

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...