freakdesign / shopify-custom-fields

A javascript tool to emulate Custom Fields within the Shopify dashboard.
http://freakdesign.com.au/pages/shopify-custom-fields
132 stars 24 forks source link

Custom Field not found #45

Open Mobashir1995 opened 7 years ago

Mobashir1995 commented 7 years ago

After every time of reloading my browser, Custom Field tab will disappear from my shopify admin. Can anyone please help me how can I solve this issue? I also don't find any Custom Field option under "SETTINGS > GENERAL" to add any field. Thanks for any help

freakdesign commented 7 years ago

After every time of reloading my browser, Custom Field tab will disappear from my shopify admin.

There's nothing to solve here. The Chrome extension is run manually by the user. If the browser or tab reloads then then custom JavaScript added to the page is removed. There is no plans to make the tool run automatically.

I also don't find any Custom Field option under "SETTINGS > GENERAL" to add any field.

In the instructions it would have said to use a ShopifyFD for that (or any other metafield editing tool of your choice).

Mobashir1995 commented 7 years ago

That's looking great. Now it is working for me on chrome. But I can't be able to use it on other browsers. I also want to know something from you. Don't you think it is necessary to run the tool automatically? Because after save any product, page, collection, or settings we'll need to click on the bookmark icon to reload it. It is boring for many persons to do the same things again and again. So, it'll be very helpful for everyone, if you implement this idea. Hope that you would like my thought. Thank you.

freakdesign commented 7 years ago

Some pages in the Shopify Admin will reload the page entirely. Others won't do a full reload since the content is loaded with AJAX.

I do 100% understand why autoload would be convenient and I had considered adding it. I opted against that.

Having it autoload would require additional permissions to be set on the extension that I don't want to see. Right now the extension requires zero permissions and only runs when the user explicitly wants it to.

At this stage if you need it to autoload I'd suggesting cloning this project and building your own Extension with that built in.

If others are wanting to see autoload I'd be interested in hearing about it.

Mobashir1995 commented 7 years ago

That's fine. Can you please tell me how I can I use it on other browsers. And which part of code should I need to change to customize it for autoloading.