Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing locations attribute in import / export menu. #5

Closed
fede-exe opened this issue Apr 18, 2020 · 4 comments
Closed

Missing locations attribute in import / export menu. #5

fede-exe opened this issue Apr 18, 2020 · 4 comments

Comments

@fede-exe
Copy link

In this way if you import an item it is attributed to all the restaurants.

If this is added would really help also add this:
#4 (comment)

@fede-exe
Copy link
Author

fede-exe commented May 3, 2020

@sampoyigi no chance? you are the only one who can add this feature, we have tried several without success.

Thanks

@sampoyigi
Copy link
Collaborator

@fede-exe Nope, I'm not the only one who can add the feature, it is open-sourced so that you can send PR to add features or fix bugs. I can definitely help if you are stuck, share what you've tried here or start a discussion on the forum to get help.

@fede-exe
Copy link
Author

fede-exe commented May 6, 2020

I'm stuck, as other users can't help with this, so I asked for your help. I tried adding in the local extensions> model> menuimport.php

something to make the relation of the item to the location like:

'morphToMany' => [ 'locations' => ['Admin\Models\Locations_model', 'name' => 'locationable'],

but I don't really know which way to go, for example, this is the opinion of another very active user:

It does connect to the admin model for permissions, then to the db. The problem is it does not have any documentation of the extension so ... without properly documentation it requires a lot of time to comprehend the extension and how it works. That's why he doesn't recommend it usage just yet

so please help me with some advise to implement this function, it's very important @sampoyigi

Hope you can help, thanks a lot

@sampoyigi
Copy link
Collaborator

This issue is fairly old and there hasn't been much activity on it. Closing, but please reopen if it still occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants