unfortunatly this refers to the listing when you get into Featured Items from the category list. I've had to customize the featured_products.php file to change how list looks. I've made a customized buy now button and more info button. Also the description was not being displayed and I had to add that too.Originally Posted by kobra
I wanted to add a button regardless of the links that were already there. I got that done with some customization of the featured_products.php file.You should check the current function as even if there is not a more info, clicking the image and other areas of a listing takes you to the Product Info page.
the problem is that in Admin > configuration > featured listing secion controls only the listing that looks like the product listing. The center boxe for featured products on the front page are not crontrolled through this UI and does not have a customization setup that I desire. No probelm, I'm a programmer I can go in and find out where it is and make my own customizations. If you look at the page http://markham.kirkhamsystems.dyndns.org you will see that I have a customized "featured products" center box. There is no way to display descriptions, add to cart buttons or more info buttons to the center box. the suggestion you give leads to the next quote.This is also in the admin for several of the product screens like the product listing page:
Admin > configuration > product listing > Display Product Description
in Admin > configuration > product listing > Display Product Description one is able to control the amount of the description that is displayed on the listing. Since I want this on the front page, I would like to know what function(s) are used to do this as I beleive the system would take into account HTML code and properly strip and replace codes if necessary.Describe this in specific detail???
For example if there is 300 characters in a descriptions, and some of that is HTML like <table...><tr><td>some text</td></tr><tr><td> ... text at the end </td></tr></table> if I just go in and do a substring of the first 20 characters all I get is <table ...><tr><td>some text </tr>(end of substring) all of a sudden I got a broken table and that is what I want to avoid. I think I may have found the function(s) I want but it looks like it strips the html away and provides an unstructured string. it's
zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listi ng->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION)



