[TYPO3-commerce] add "new" to product in a time range
Morten Olesen
mo at idefa.dk
Mon Jun 21 14:17:13 CEST 2010
Hi Rob,
Yeah I see that it's reusing $this->cObj rather than making it's own :|
You will have to write a hook to achive it then - there is an
undocumented hook in pibase (function renderProduct) that might help;
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['commerce/lib/class.tx_commerce_pibase.php']['product'][]
= '...';
$markerArray =
$hookObj->additionalMarkerProduct($markerArray,$myProduct,$this);
/Morten Olesen
On 2010-06-21 09:40, Rob De Vries wrote:
> Hey Morten,
>
> It does not work because the value crdate doesn't come from the produkt item but
> from the tt_content item.
>
> for ex:
> plugin.tx_commerce_pi1.singleView.products.fields.title {
> append = TEXT
> append.field = crdate
> }
>
> will give the crdate of the tt_content element that holds the produkt listing.
> I have no idea how to get the crdate of the produkt itself.
>
> Rob
>
More information about the TYPO3-project-commerce
mailing list