[TYPO3-commerce] commerce_couponss
robelix
roland at robelix.com
Wed Nov 28 11:39:45 CET 2007
A quick Follow-up after some more testing:
First of all two quick fixes to get rid of some BE-errors:
1) in ext_tables.sql
order_id varchar(80) DEFAULT '' NOT NULL,
has to be added to the table tx_commercecoupons_coupons
2) in class.tx_commercecoupons_fields.php in the function related_article
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*',
'tx_commercecoupons_articles', 'coupon_id='.$cUid);
needs to be changed to:
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*',
'tx_commercecoupons_articles', 'coupon_id=\''.$cUid.'\'');
I found out, that the syscoupon_special works mostly as expected - At
least this one shows up in the basket. But I still don't understand why
three diffrent types. Is there just some code missing in the hooks - or
is this going to be "something completely diffrent"
And I still don't understand the diffrence between coupons with articles
and coupons without. Is this going to be something like selling coupons
in shop? (A feature I don't need - the coupons are only prizes of a game)
Finally, I expected the coupon to be moved to the "used" folder - Ok,
they cannot be used a second time, so it's just to keep an overview in
the BE.
Roland
More information about the TYPO3-project-commerce
mailing list