[TYPO3-commerce] RFC Bug: #28958: Preserve alternating article listings in pi3 for basket view
Marcus Krause
marcus#exp2011 at t3sec.info
Sat Aug 13 10:39:02 CEST 2011
Hi!
This is an SVN patch request.
Type:
Bug
References:
http://forge.typo3.org/issues/28958
Problem:
Method tx_commerce_pibase::makeBasketView() renders a given basket to a
template. It can deal with alternating article listings (subparts) to
provide an odd/even row styling.
The method will test for given article listing subparts and will only
use those which it actually finds within the template.
Most of the method calls for makeBasketView() in pi3 provide an array
"array('###LISTING_ARTICLE###', '###LISTING_ARTICLE2###')" for method
parameter "$lineTemplate".
Unfortunately this is not the case for every method call in pi3.
In detail, method calls in tx_commerce_pi3::finishIt() and
tx_commerce_pi3::generateMail() are affected.
Solution:
This issue is about to hand over the (alternating article listing
subparts) array for all tx_commerce_pibase::makeBasketView() method
calls in pi3.
Notes:
This bug prevents e.g. an alternating article listing in generated mails.
Regards,
Marcus.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 28958.diff
Type: text/x-diff
Size: 1529 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-commerce/attachments/20110813/bf84a8af/attachment.diff>
More information about the TYPO3-team-commerce
mailing list