[TYPO3-commerce] Hook for canMakeCheckoutOwnTests()

Morten Haggren mh at idefa.dk
Tue Mar 6 07:58:52 CET 2012


Hi Uwe,

File a bug report here:
http://forge.typo3.org/projects/extension-commerce/issues

The line
http://forge.typo3.org/projects/extension-commerce/repository/entry/trunk/pi3/class.tx_commerce_pi3.php#L1888

Should be something like
  $params = array('checks' => $checks, 'myCheck' => &$myCheck);



On 2012-03-05 09:48, Uwe Steinmann wrote:
> Hi,
>
> has anybody ever used the hook canMakeCheckoutOwnTests()?
>
> I'm trying to implement a minіmum order total but only for certain
> postcode areas. Without the restriction on postcode areas it is quite
> simple, but in order to take the postcode into account I need the
> delivery address. That also requires to check for the current step.
>
> Taking all this together canMakeCheckoutOwnTests() doesn't work anymore
> because it is missing most of the information.
> canMakeCheckoutOwnAdvancedTests() is an option, but it cannot modify the
> return value $myCheck.
>
> It looks like this hook has never been used.
>
> Can anybody enlight me?
>
>    Uwe
>


-- 
/Morten Haggren


More information about the TYPO3-project-commerce mailing list