Multi-vendor (marketplace) functionality #350
Replies: 13 comments
-
I actually has an extension plugin to cover some vendor aspects. But it is made for a custom project, so, I can't publish it in the Marketplace. use Backend\Models\User;
class OrderModel extends ModelBehavior
{
/**
* OrderModel constructor.
*
* @param \Lovata\OrdersShopaholic\Models\Order $model
*/
public function __construct($model)
{
parent::__construct($model);
$model->belongsTo['vendor'] = [
User::class,
'key' => 'manager_id'
];
$model->bindEvent(
'model.beforeSave',
function () use ($model) {
$this->generateOrderNumberExt();
}
);
}
}
class ProductModel extends ModelBehavior
{
/**
* ProductModel constructor.
*
* @param \Lovata\Shopaholic\Models\Product $model
*
* @throws \ApplicationException
*/
public function __construct($model)
{
parent::__construct($model);
$model->belongsToMany['users'] = [
User::class,
'table' => 'planetadeleste_vendorsshopaholic_users_products',
'scope' => 'isNotSuperUser'
];
}
} And a lot of more events and controllers extensions. |
Beta Was this translation helpful? Give feedback.
-
I would be very interested in this feature. Understanding that I would have to work with the permissions to get it to work. Maybe a list of things that have interaction with the permissions would be helpful? |
Beta Was this translation helpful? Give feedback.
-
@it-werxdotca, hi! Yep, could you please share your thoughts about the possible functionality of this plugin? |
Beta Was this translation helpful? Give feedback.
-
I am also very interested in this extension. Some helpful features will be:
|
Beta Was this translation helpful? Give feedback.
-
I am also very interested in this extension. I have used shopaholic for many projects and currently I have to face a Multivendor ecommerce. Do you have plans of a realease of the extension? It would be the ideal time to integrate this new shopaholic feature in my actual project roadmap. |
Beta Was this translation helpful? Give feedback.
-
Hi @elviofernandez, we don't have a specific release date for this. But AFAIK, one of the October CMS vendor's develops such a plugin since last Summer. In case it will have been released, we'll inform you about it in this issue. |
Beta Was this translation helpful? Give feedback.
-
Hi @lautsevich, Do you know what is the state of this extension? If you can contact this vendor you can tell them that we are willing to pay for the plugin. Our intention is not to start from scratch. The company I work, has built its entire ecommerce line with Shopaholic. It would be very interesting to achieve an integration of multivendor for Shopaholic. Another option to keep in mind is that if extension is not in release stage or is not complete, we can contribute to development and testing. |
Beta Was this translation helpful? Give feedback.
-
Hello elviofernandez. As @lautsevich said, we have been working on this since last summer. We don't wont to get paid, we prefer to collaborate on the development of this plugin to speed it's production as much as possible. Shall we setup a team and work together on this? |
Beta Was this translation helpful? Give feedback.
-
Hi @buzmate, please send me an email to [email protected] so we can continue privately |
Beta Was this translation helpful? Give feedback.
-
@buzmate Will this be in a private repository or public? |
Beta Was this translation helpful? Give feedback.
-
There is a Laravel project that runs on 5.6. Though the "multi-vendor" part is sold as an add-on to the core. I found it to be ver clumsy to work with and documentation scattered. But the code is there for possible hints on how to make things work? |
Beta Was this translation helpful? Give feedback.
-
Another idea... Something like the Blog Front plugin? That seems like less hassle then trying to reinvent the horse?
|
Beta Was this translation helpful? Give feedback.
-
This will be available to public in some way, either through OC marketplace or a public repo. But still needs a good amount of work to reach the beta version. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone!
We start gathering requirements for the implementation in Shopaholic multi-vendor functionality. Don't hesitate to provide your thoughts and experience it this domain.
P.S. Please, vote for this feature as well:
Beta Was this translation helpful? Give feedback.
All reactions