Hi Jerome,
Our shop is configured as all the products are orderable, and at checkout, user can choose from a vendor dropdown who to "connect" with. Configuration is set to use the same order number for sale and subsale as well. In that way 2 orders are created in the database (sale+subsale), but it looks the same on frontend as we just see the order number. Main vendor and user (who made the order) see the sale type order, subvendor see the subsale type order. Till that point working process logics is clear and working OK.
Just a few questions:
1.) I can edit the order now just with the MAIN vendor on FRONTEND: modify product fields/quantiites or delete them. Editing the ordered items works correctly, and saves after page refresh. But! The order with the same order number - but with type subsale - is not updated to the same. Shouldn't this have to work like that, I mean modifing any of the orders should modify the connected subsale as well?
2.) In an earlier
forum post
we talked over, that in frontend subvendor can not make changes because there could be other vendors' products in the order as well. This is not an option for us, because the above written lines. Could we let the subvendor to modify the products (at least quantity and customfields) as well in the order? And of course if my logic in point 1.) is right, could we connect somehow the not just the sale-subsale update relation but the subsale-sale update direction as well?
3.) For me when I push "Delete" button next to the ordered item in the order list, the loader is spinning and spinning and never stops. Also the deleted item just get non-displayed when page is reloaded. I'm getting this on Firebug console when pushing OK on "Are you sure you want to delete?"
Uncaught TypeError: undefined is not a function
index.php?option=com_hikamarket&ctrl=order&task=show&cid=340&Itemid=152:566
(anonymous function)
index.php?option=com_hikamarket&ctrl=order&task=show&cid=340&Itemid=152:566
xhr.onreadystatechange
hikashop.js?v=232:320
What can cause this?
4.) (Feature) When deleting an item from order list, could we at least put a line in the "History" that "Product X has been deleted"