Jump to content

Disable Feature Highlights


Tengri

Recommended Posts

Hello.

 

I don't understand how disable this issue. I read this but don't undestand.

 

1. I replace {$product.description} to {$product.featuresdesc}.

2. Second moment I don't get. What that mean?

 

On my *orderforms/mytemplate/product.tpl I see only this code:

 

{foreach from=$product.features key=feature item=value}

 

Where the <span class="prodfeature"><span class="feature">{$feature}</span><br />{$value}</span>

{/foreach} ? Where remove? I don't understand.

Link to comment
Share on other sites

the documentation is out of date and written for the "Modern" order-form template... if you were using "Standard_Cart", you would remove...

 

                                        {foreach $product.features as $feature => $value}
                                           <li id="product{$product@iteration}-feature{$value@iteration}">
                                               <span class="feature-value">{$value}</span>
                                               {$feature}
                                           </li>
                                       {/foreach}

Link to comment
Share on other sites

Hello.

 

Thank you for your response. In my code I don't see this code. I use Premium Comparison theme.

 

the documentation is out of date and written for the "Modern" order-form template... if you were using "Standard_Cart", you would remove...

 

                                        {foreach $product.features as $feature => $value}
                                           <li id="product{$product@iteration}-feature{$value@iteration}">
                                               <span class="feature-value">{$value}</span>
                                               {$feature}
                                           </li>
                                       {/foreach}

Link to comment
Share on other sites

For premium comparison (templates/orderforms/premium_comparison), in products.tpl , line 99

                                       {foreach $product.features as $feature => $value}
                                           <li id="product{$product@iteration}-feature{$value@iteration}">
                                               {$value} {$feature}
                                           </li>
                                       {foreachelse}
                                           <li id="product{$product@iteration}-description">
                                               {$product.description}
                                           </li>
                                       {/foreach}

Remove all of that

 

I do not see any form of

{$product.featuresdesc} 

in there, so this might not be necessary in this specific template.

 

Make sure you save this as a custom order form, and select that order form. Otherwise, all your work will be erased on update

Link to comment
Share on other sites

I delete 99 line. And get this: 2016-10-02_13-59-28.png

 

For premium comparison (templates/orderforms/premium_comparison), in products.tpl , line 99

                                       {foreach $product.features as $feature => $value}
                                           <li id="product{$product@iteration}-feature{$value@iteration}">
                                               {$value} {$feature}
                                           </li>
                                       {foreachelse}
                                           <li id="product{$product@iteration}-description">
                                               {$product.description}
                                           </li>
                                       {/foreach}

Remove all of that

 

I do not see any form of

{$product.featuresdesc} 

in there, so this might not be necessary in this specific template.

 

Make sure you save this as a custom order form, and select that order form. Otherwise, all your work will be erased on update

Link to comment
Share on other sites

Hello. I remove code and get this: https://yadi.sk/i/ErwFMz4Nw49pK

 

For premium comparison (templates/orderforms/premium_comparison), in products.tpl , line 99

                                       {foreach $product.features as $feature => $value}
                                           <li id="product{$product@iteration}-feature{$value@iteration}">
                                               {$value} {$feature}
                                           </li>
                                       {foreachelse}
                                           <li id="product{$product@iteration}-description">
                                               {$product.description}
                                           </li>
                                       {/foreach}

Remove all of that

 

I do not see any form of

{$product.featuresdesc} 

in there, so this might not be necessary in this specific template.

 

Make sure you save this as a custom order form, and select that order form. Otherwise, all your work will be erased on update

Link to comment
Share on other sites

Hello. I remove code and get this: https://yadi.sk/i/ErwFMz4Nw49pK

to get rid of the white space and the drop shadow, instead of just removing...

 

                                        {foreach $product.features as $feature => $value} 
                                           <li id="product{$product@iteration}-feature{$value@iteration}"> 
                                               {$value} {$feature} 
                                           </li> 
                                       {foreachelse} 
                                           <li id="product{$product@iteration}-description"> 
                                               {$product.description} 
                                           </li> 
                                       {/foreach}  

remove the <ul> and </ul> too (or remark it out)...

 

                                    <!--
                                   <ul>
                                       {foreach $product.features as $feature => $value}
                                           <li id="product{$product@iteration}-feature{$value@iteration}">
                                               {$value} {$feature}
                                           </li>
                                       {foreachelse}
                                           <li id="product{$product@iteration}-description">
                                               {$product.description}
                                           </li>
                                       {/foreach}
                                   </ul>
                                   -->

Link to comment
Share on other sites

No, I mean this is empty. I enter words, but when I remove this code order form empty. No text.

i'm confused... if all you want to do is enter a normal description, then you don't need to make any template code changes. :)

 

5QRNBS2.png

 

6KXFwvd.png

 

if you want to use Premium Comparison, but not use feature highlights, then simply don't use colons ":" in your descriptions - or if you have to use a colon, use the html equivalent code. :idea:

 

8JRor9H.png

 

y5sS2yI.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated