[TYPO3-shop] Problem with user % discount field
Franz Holzinger
franz at fholzinger.com
Thu May 11 22:29:14 CEST 2006
RF a écrit :
>
> When I set a number < 10 for the discount % in the user's form and I
> "save" ... the number became 10.
>
This is a bug in
tt_products/ext_tables.php
'tt_products_discount' => Array (
'exclude' => 1,
'label' =>
'LLL:EXT:'.TT_PRODUCTS_EXTkey.'/locallang_db.xml:fe_users.tt_products_discount',
'config' => Array (
'type' => 'input',
'size' => '4',
'max' => '4',
'eval' => 'int',
'checkbox' => '0',
'range' => Array (
'upper' => '1000',
'lower' => '10'
),
'default' => 0
)
),
Change it to
'lower' => '1'
And clear your backend cache.
> Is it possible to set a discount for all user under a group?
>
> For example: 5% of discount for all user under "user group"=2.
Not yet implemented.
Greets,
Franz
More information about the TYPO3-project-tt-products
mailing list