Page 1 of 1

[BUG] Backend phocacartitem "vendor id"

Posted: 24 Oct 2024, 12:59
by schultz-it-solutions
The dropdown for "vendor ID" does correctly show the vendor(s).
However the actual fieldname is the "owner_id" and any selection done in this field will actually be stored in the "owner_id" field in the database.
kind regards
Ruediger

Re: [BUG] Backend phocacartitem "vendor id"

Posted: 25 Oct 2024, 11:09
by Jan
Hi,

yes, this is correct, we have two types of vendors in Phoca Cart:
- one that can be assigned to product (owner_id) ... e.g. some external vendor whose goods we sell
- one that can sell this product in e.g. POS system (vendor_id) ... e.g. internal vendor logged in in POS to sell different products

So internaly this is divided in vendor_id (POS) and owner_id (due to backward compatibility, this solution was selected)

Jan