Hi,
ich habe in einem modul folgendes hinzugefügt
‘extend’ => array(
…
‘thankyou’ => ‘company/gg_manufacturer/application/controllers/gg_manufacturer_thankyou’,
),
Hier erhalte ich dann folgende Fehlermeldung
["[object] (OxidEsales\\Eshop\\Core\\Exception\\SystemComponentException(code: 0): Function 'getPaymentInstructions' does not exist or is not accessible!
(gg_manufacturer_thankyou)\n at /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Base.php:76)\n[stacktrace]\n#0
/var/www/oxideshop/source/tmp/smarty/7b0127072f73ad240bb766ea9e6a5137^%%33^334^334F7E49%%thankyou.tpl.php(41):
OxidEsales\\EshopCommunity\\Core\\Base->__call('getPaymentInstr...', Array)\n#1
/var/www/oxideshop/vendor/smarty/smarty/libs/Smarty.class.php(1270): include('/var/www/oxides...')\n#2
/var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(488):
Smarty->fetch('page/checkout/t...', 'ox|0|0|1|0|ssl')\n#3 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(344):
OxidEsales\\EshopCommunity\\Core\\ShopControl->_render(Object(gg_manufacturer_thankyou))\n#4
/var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(276):
OxidEsales\\EshopCommunity\\Core\\ShopControl->formOutput(Object(gg_manufacturer_thankyou))\n#5
/var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(137):
OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', NULL, NULL, NULL)\n#6
/var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(26):
OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#7
/var/www/oxideshop/source/index.php(15):
OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#8
{main}\n"] []
Die Funktion getPaymentInstructions gehört wohl zum Paypal Modul (obwohl ich im test mit Vorkasse bezahlt habe)
Ich vermute mal ich muss eine überladungsherachie einhalten ?
Wie finde ich die Klasse/ den Controller den ich erweitern muss, wenn ich etwas in die Thankyou.tpl einfügen möchte und diese vermutlich bereits erweitert wurde.
Oder gibts hier eine andere Lösung?