DylzEn Posted October 16, 2012 Share Posted October 16, 2012 Hello everyone. I hope you can help me once again with the site I'm building and I thank you in advance for all the support you give us everyday. Now to my problem. The products on the site I'm building often have the very same name and they differ from some details explained in the short and long descriptions, so from a list of product or from a search it's impossible to distinguish them. And most importantly, I can't distinguish them from the "New Order" email that I receive when someone makes an order, because in that email only the name of the product is shown. Basically, there's 5 different places I'd like to show the descriptions in. 1) Product page 2) Featured products on the homepage 3) New products block 4) Top sellers block 5) Search results page 6) New Order email template Now, I've managed to make this work in the product page, in the new products block and in the featured products block, but I can't seem to find a way to do it with the other 3 places. I added this line to "blocknewproducts.tpl" to make the descriptions show in the new products block: <div align="center" class="item-desc"><a href="{$product.link}">{$product.description_short|strip_tags:'UTF-8'|truncate:75:'...'}</a><br /></div> {if $product.description}<div align="center" class="item-desc"><a href="{$product.link}">{$product.description|strip_tags:'UTF-8'|truncate:75:'...'}</a><br /></div>{/if} That works. Unfortunately, only the short description works for the top sellers block and the search results list, that is I can't display the long descriptions at all in those cases. Most importantly, I'd like to add the descriptions next to the product name in the "new_order.html", otherwise I could not distinguish the products when I receive an order. Thank you for your time guys, and sorry for the wall of text. I hope you can help me out with these problems. Best regards, Dylan Link to comment Share on other sites More sharing options...
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 accountSign in
Already have an account? Sign in here.
Sign In Now