-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Hello,
I build a plugin : the idea is to add a hidden product into the current cart when, during the checkout an option (custom field order) is checked in additonal information.
with onBeforeOrderCreate I've no problem to verify if this option is checked and in this case, add product with php code $cartClass->update(product_id,quantity), the cart contain the new added product but not the order.
why ? it's before order create no ?
Thanks !