• Resolved windrunner

    (@windrunner)


    Hi Rus,

    In the Detail layout, long product descriptions are being cut off and a “read more” link added. Can you please show me where in the code I can turn this off so the full description is displayed?

    You mentioned in an earlier thread post you share the below information…

    To get rid of the “Read More”, you can edit Shortcodes.php in the “Functions” folder. You’d want to edit line 328 to:

    $ProductString .= “<div id=’prod-cat-desc-” . $Product->Item_ID . “‘ class=’prod-cat-desc upcp-detail-desc’>” . $Product->Item_Description;

    and then comment out or delete lines 329-333. Let me know if that works!

    When I go into the shortcode.php, line 328 looks identical to the code shown above and there is no code on lines 329-333 delete. Can you provide more instruction on how to get rid of the “Read more” so the full description will display.

    Thank you.

    http://wordpress.org/plugins/ultimate-product-catalogue/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rustaurius

    (@rustaurius)

    Hi Windrunner,

    The code should look like this:

    $ProductString .= "<div id='prod-cat-desc-" . $Product->Item_ID . "' class='prod-cat-desc upcp-detail-desc'>" . $Product->Item_Description;
    <!--if (strlen($Product->Item_Description) > 240) {
    					  	  $ProductString .= "... <a class='";
    								if ($FancyBoxClass) {$ProductString .= "fancybox";}
    								$ProductString .= "' href='#prod-cat-addt-details-" . $Product->Item_ID . "'>" . __("Read More", 'UPCP') . "</a>";
    } -->

    After you make the changes. I’ll be adding a toggle to the ‘Read more’ link to tomorrow’s release, so that it can be turned off.

    Plugin Author Rustaurius

    (@rustaurius)

    This should be fixed with the recent update, hopefully?

    Thread Starter windrunner

    (@windrunner)

    Hi Rus,

    Yes indeed! I waited for the update to come out and it is wonderful. Thank you for creating the options tab. I am so pleased and grateful.
    Fabulous support as well.
    Thank you again.

    Plugin Author Rustaurius

    (@rustaurius)

    Great to hear it! If you’ve got a chance to rate, always appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Detail Layout – seeking to display full description’ is closed to new replies.