vjboc Posted September 26, 2009 Posted September 26, 2009 How can I remove the short description in the product page. Go here to check it out. http://soundwavedirect.com/store/index.php?cPath=14_25 It is under the product name. Thanks for your help.
Guest Posted September 26, 2009 Posted September 26, 2009 How can I remove the short description in the product page. Go here to check it out. http://soundwavedirect.com/store/index.php?cPath=14_25 It is under the product name. Thanks for your help. Looks like a template, in which case, you need to ask the template provider.
tmundrill Posted September 26, 2009 Posted September 26, 2009 Hello: Solution to remove short descriptions from product pages in osCommerce. Locate: includes\modules\product_listing.php Remove $p_desc = substr(strip_tags($product['products_description']), 0, MAX_DESCR_1).'...<br>'; Was on line 180 for me. Locate: includes\modules\new_products.php Remove $p_desc = ''.substr(strip_tags($product['products_description']), 0, MAX_DESCR_1).' ...'; Was line 36 for me. Best of luck and Kindest Regards Tom
vjboc Posted September 26, 2009 Author Posted September 26, 2009 The template is an oscommerce template. When I uploaded the template to my server it had the oscommerce shopping cart already attached to it. Is there a somewhat of a direction where the code would be if there wasn't a template.
tmundrill Posted September 26, 2009 Posted September 26, 2009 The code will be where I posted above. catalogue\includes\modules\product_listing.php Regards Tom
learwbc4 Posted April 30, 2010 Posted April 30, 2010 i know this is old thread, but i need to know how to edit this very same file with the short description. instead of removing it, i want to know about truncating the amount of characters. more specifically, what i want to know is increasing the truncation. the amount of characters my osc short description is set to is only like 5 or 6 characters. i want to make it many more characters. if at all possible, can someone please help me trace back how that piece of code get's it's info from the full english description? ultimately, what i would like to do is make that piece of code grab text from the full description of a different language, like the spanish or dutch description. any tips or pointers or help would be much appreciated.
vjboc Posted July 31, 2010 Author Posted July 31, 2010 Hello: Solution to remove short descriptions from product pages in osCommerce. Locate: includes\modules\product_listing.php Remove $p_desc = substr(strip_tags($product['products_description']), 0, MAX_DESCR_1).'...<br>'; Was on line 180 for me. Locate: includes\modules\new_products.php Remove $p_desc = ''.substr(strip_tags($product['products_description']), 0, MAX_DESCR_1).' ...'; Was line 36 for me. Best of luck and Kindest Regards Tom Hey I know this is an old post. I removed short description and I put these codes back in and I still have no short description. Somebody please help. What else is needed to have a short description?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.