Javascript Bookmarklet to filter & adjust amazon seller "manage inventory" table

Closed Posted 2 years ago Paid on delivery
Closed Paid on delivery

Looking for a keen javascript developer to build a small bookmarklet (Chrome) to perform the following tasks:

- cycle through all visible products on the amazon seller central "Manage inventory" page

- hide all elements (child-products of variants AND stand-alone products) that don't have an "Active" status

- count the remaining "Active" child elements for each variant-parent, rewrite the parent from "Variations (n)" to "Variations (m)" where n is the original number of variations (including all statuses) and m is the number of "Active" variations belonging to the current parent

- hide all parent rows which do not have any "Active" variation children left

We already have a partly running bookmarklet, however the jQuery available on the Amazon SellerCentral Manage Inventory page does not feature the .nextUntil() concept. Therefore we need a workaround for his piece.

Here is the partly operation code (note: based on German version of the inventory management page, replace "Varianten" by "Variations" for the english version):

$('.myTable > tbody > tr').not('*:contains("Active"), *:contains("Varianten")').css('display', 'none');

$('.mt-variations-row-parent').each((index, el) => $(el).find("td[data-column='status']").append(`Varianten (${$(el).nextUntil(":not(.mt-variations-row-child)").length})`) );

$('.mt-variations-row-parent:contains("Varianten (0)")').toggle();

JavaScript Google Chrome jQuery / Prototype Amazon

Project ID: #30957890

About the project

4 proposals Remote project Active 2 years ago

4 freelancers are bidding on average €21 for this job

vbtise

Experienced JavaScript Developer With +15 Years Of Experience We can build you a Javascript Bookmarklet to filter & adjust the Amazon seller inventory table. Recently, We have developed a similar bookmarklet for a U More

€25 EUR in 7 days
(35 Reviews)
6.7
LyraDev

Hi, I'm a javascript developer with 8+ years of experience and have written many similar bookmarklets and userscripts to this project, so I am confident that I will be able to complete everything you are asking for qui More

€19 EUR in 3 days
(0 Reviews)
0.0