[Quick Fix] Smart Wizard Orderpage - Duplicate "Advantage" title.

Started by Lawrence, May 15, 2013, 03:19:10 AM

Lawrence

The HostBill Smart Wizard template displays duplicate headers for the 3 "Advantage" paragraphs. The paragraph content is editable, but if you edit the first advantage, it applies towards the second. Here's a quick fix for that.

1. Open the following file.

/path-to-hostbill/templates/orderpages/cart_smartwizard/cart0.tpl

2. Follow the code instructions below.

Code (Replace) Select

    <div class="adventage left">
        <span class="complete-img center"></span>
        {if $opconfig.advantages2head}
            <h3 class="openSansSemiBold text-center">{$opconfig.advantages1head}</h3>
        {/if}
        {if $opconfig.advantages2text}
            <p class="openSansRegular text-center">{$opconfig.advantages2text}</p>
        {/if}
    </div>


Code (With) Select

    <div class="adventage left">
        <span class="complete-img center"></span>
        {if $opconfig.advantages2head}
            <h3 class="openSansSemiBold text-center">{$opconfig.advantages2head}</h3>
        {/if}
        {if $opconfig.advantages2text}
            <p class="openSansRegular text-center">{$opconfig.advantages2text}</p>
        {/if}
    </div>


Naturally save the file, and you'll be good to go. Your Smart Wizard cart should now display all 3 titles.
Skype: sociallarry | AIM: [email]larry.aim@aim.com[/email] | Forum Rules & Information

These forums are hosted by me with no intentions to ever monetize them. These forums are here solely for the benfit of the HostBill community.