nicko107 Posted August 11, 2006 Share Posted August 11, 2006 (edited) Hello This contribution add a short description to products in modules and in products listings Short Description in products http://www.oscommerce.com/community/contributions,4452 OVERVIEW: The short description is taken of product description, its taken of firts 80 to 200 charapters of product description. Can customize the number of charapters. Add a "read more" link and a cart icon button to add the product to shopping cart. Its easy to install and no require changes in database. DEMO at: http://www.oscommerce-demo.com/short_description/ CHANGES: This modification applied to: -------------------------------- - What?s new module of column left - Specials module of column right - New Products For month.. in products of central modules - Also Purchased Products central modules that appear in product description - Specials page that listed the products in offer - New Products list - Product listing, list of products of categories, subcategories, products of a manufacturers and search results. *Included instructions for applied to modules of contributions: - Featured Products - in products of central module - Specials on Default.php - in products of central module Include instructions in english and spanish, screenshots, cart icon in black color and white color - (transparent GIF and posibility to multiple languages) cart icon in PSD format to customize it and all files modifieds for new shop without modifications or contributions installed. The function used in contribution to querry database for description are for other contribution, but I can remember the contribution, the credict for it is for the author of this code, I only add the function to remove html and php tags for description taken, and the read more link and cart icon to add shopping cart the product, And the adaptation to the all files that display a products in modules. Is any Know the author of this function please post here or in a new version of contribution. Support forum in spanish at: http://oscommerce.qadram.com/modules.php?n...pic&t=11397 and: http://foros.oscommerce-tutoriales.com/ind...topic,20.0.html Edited August 11, 2006 by nicko107 Quote Link to comment Share on other sites More sharing options...
Guest Posted September 28, 2006 Share Posted September 28, 2006 I would like to know if it's possible that the short description includes the HTML TAGS that i have in Product Description Quote Link to comment Share on other sites More sharing options...
nicko107 Posted September 28, 2006 Author Share Posted September 28, 2006 (edited) I would like to know if it's possible that the short description includes the HTML TAGS that i have in Product Description Hi For prevent unclosed tags I used the function strip_tags: strip_tags($description['products_description']) because if the short description taken for example a <table> without close it could be breack the layout of the page, or other tags can do that, and for prevent this is better used this function. I don?t know if there are other method to do this but including some tags Edited September 28, 2006 by nicko107 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.