[BUG] Backend phocacartitem "vendor id"

Phoca Cart - complex e-commerce extension
schultz-it-solutions
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 Nov 2012, 18:15

[BUG] Backend phocacartitem "vendor id"

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [BUG] Backend phocacartitem "vendor id"

Post 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
If you find Phoca extensions useful, please support the project
Post Reply