Tengri Posted October 1, 2016 Share Posted October 1, 2016 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. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 1, 2016 Share Posted October 1, 2016 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} 0 Quote Link to comment Share on other sites More sharing options...
Tengri Posted October 1, 2016 Author Share Posted October 1, 2016 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} 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted October 1, 2016 Share Posted October 1, 2016 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 0 Quote Link to comment Share on other sites More sharing options...
Tengri Posted October 2, 2016 Author Share Posted October 2, 2016 I delete 99 line. And get this: 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 0 Quote Link to comment Share on other sites More sharing options...
Tengri Posted October 2, 2016 Author Share Posted October 2, 2016 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 0 Quote Link to comment Share on other sites More sharing options...
Tengri Posted October 2, 2016 Author Share Posted October 2, 2016 This is a product.tpl from /orderforms/MyTemplate/product.tpl - https://yadi.sk/d/0DPrJsX1w4B9o And this from premium_comprasion /orderforms/premium_comparasion/product.tpl - https://yadi.sk/d/Z6UEuHSXw4BSw 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 2, 2016 Share Posted October 2, 2016 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> --> 0 Quote Link to comment Share on other sites More sharing options...
Tengri Posted October 2, 2016 Author Share Posted October 2, 2016 No, I mean this is empty. I enter words, but when I remove this code order form empty. No text. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 3, 2016 Share Posted October 3, 2016 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. 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.