SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1
Topic An omission in product's long description 4034 Views

An omission in product's long description

11 May 2013 at 3:56pm

Hi guys!
Really nice work for open source project.
I used Silverstripe for a couple of projects and now I have one for Silvercart. I am very satisfied with the results.

I want to point you to one omission.
When my client started testing the project he found that product's long description doesn't parses right in the frontend. Short codes remains in frontend in format <a href="[sitetree_link id=N]">.
The quick decision is to create a ShortcodeParser and parse the description before return it.

$parser = new ShortcodeParser();
$parser->register('sitetree_link', array('SiteTree', 'link_shortcode_handler'));
return $parser->parse($longDescription);

I want to congratulate you again for the good job!
Regards
Borislav

Re: An omission in product's long description

14 May 2013 at 11:37am

Hi mrProper,

thanks for your feedback, your kind words and your hint. We'll fix that soon.

Cheers
Ramon