question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing the product tags

See original GitHub issue

Hi Gomah, I would like to get the product tags, but can’t get it from the API

Screen Shot 2021-01-21 at 11 31 12 am

Could you please help me to check it? Thank you so much!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Gomahcommented, Jan 21, 2021

You can use the following example if you want to add extra fields:

// Build a custom products query using the unoptimized version of the SDK
const productsQuery = this.$shopify.graphQLClient.query((root) => {
  root.addConnection('products', { args: { first: 10 } }, (product) => {
    product.add('tags'); // Add fields to be returned
  });
});

// Call the send method with the custom products query
const result = await this.$shopify.graphQLClient.send(productsQuery);

// Do something with the products
console.log({ products: result.model });

Example from: https://github.com/Shopify/js-buy-sdk#fetching-products-1

0reactions
Gomahcommented, Mar 12, 2021

@febdao I assume it’s fixed? Closing for now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sometimes, product tags are missing on products
Product Attributes are a collection of Tags and these are applied to products based on attribute sets. Tags associated with products might be...
Read more >
Missing product tags - WordPress.org
Hi There,. I am missing product tags from my product page. The previous developer has hidden it, but I want to show them...
Read more >
Troubleshoot Product Tagging Issues for Shopping Partners
The shopping partner doesn't have permission to tag products: Go to your Shopping Partner Permissions in Settings to manage product tagging for shopping ......
Read more >
Product tags disappear randomly removing products from ...
We are trying to frantically track down which products are missing and have no clear path on the issue. Any information on this...
Read more >
Product tag feature removed on stencil? Also missing product ...
Also missing product images on category/product pages. ... and model, and then sent you to a page with all products that contained the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found