how to show the sku of product with out of stock error message in magento 2 - magento2

I am trying work on multi bundle products but when trying to add to cart the product is showing out of stock.
I want to show the sku of the product with which the error is created so that I can get the idea of the related product from bundle options
check screenshot here

From cart, you can get all available products. From there you can check each product and add an error message if the product is currently out of stock.

Related

Mini cart is not refreshing when user switch the store from one store to another Magento 2

I have added a product from Store A and mini cart showing the correct number of items, then I have switched to Store B mini cart is empty. But when I go to https://www.valleyspice.com/checkout/cart and refresh this page, the mini cart is not empty. I am using Magento 2.2.1
First of all, Magento manages quote store wise. So ideally, if you add the product in store A, then it will not reflect in store B. Another thing is that product should also be assigned to both stores.

Delete single product from Facebook Product Catalog

I'm working on adding Dynamic Product Ads to our app. I've created a Product Catalog through the Facebook Business Manager and successfully uploaded a CSV file of our entire product catalog. I'm also in the process of setting up a daily refresh of the products.
My question is - how do I make an immediate DELETE request for a specific product? If a user deletes a product I don't want to wait a whole day for the product feed to be refreshed and risk the user seeing an ad for a deleted product. The docs make it seem like that isn't supported... but I can't believe that's the case.
Relevant from the Facebook docs:
Update Invidividual Product
Product Item Reference (I think this is deprecated - DELETE request to /{product_item_id} did not succeed).
How about using the rules in Product Sets to exclude that product/s and then working with the Product Sets with the ads.
I got the product OFF facebook by editing the data source CSV, and under the availability column, I added discontinued. That removed it from Facebook after being imported from shopify.
Sorry for being late to the party.
I'm actually coping with this right now, and the only thing I can find in the API stating about individual products is actually when it comes to the Catalog Batch
To send item updates, use the /{catalog_id}/batch endpoint.
To create, update, or delete items in your catalog, make an HTTP POST
call to:
https://graph.facebook.com/<API_VERSION>/<CATALOG_ID>/batch?requests=

Magento 2 downloadable product does not appear in my downloadable products when in grouped product

When i create grouped product in magento 2 with simple product and downloadable product (book and ebook) after making purchase link to download product is not showing up in My Downloadable Product.
Even after checking tables downloadable_link_purchased and downloadable_link_purchased_item tables there aren't any entries in they are empty.
You can reproduce this error on magento 2
This bug has been logged with magento: https://github.com/magento/magento2/issues/7413
Is anyone able to let me know how i can debug this. How the checkout works in magento, just need some one to point me in the right direction.

Scanning Barcodes using Redlaser sdk

I am using redlaser sdk for scanning the barcode of products. I want to get the details of the scanned product like name, price etc. But now i am getting only the TIN number of the products while scanning. How can i retrieve the product details from that TIN number within the iPhone code. I have checked the Redlaser iPhone application and there product details are showing after scanning. RedLaser iPhone application uses different services to collect price information (including Google and TheFind.com). How can i collect the product details from this TIN number i am getting from? Kindly give a solution for getting the details.
Thanks in advance for your replies,
You cannot display all the details of a product by simply getting the TIN number.you have two options to achieve this(as I know)
1.You should have a database which ha details of product for perticular set of TIN numbers
which is updated regularly.
2.You should use web services i.e. connecting to website to fetch details of a particular
TIN.
You can try this link "http://code.google.com/apis/shopping/search/v1/getting_started.html#intro" that you have provided for getting the product details using TIN number. You can implement the corresponding API in the application.
You can try this...
http://www.upcdatabase.com/xmlrpc.asp this is the api link for upc codes.

InApp purchase Product ID

I have n number of items to download from my server through apples InApp Purchase in iPhone. They fall under the price range of 0.99$ to 9.99$. Should i create n different product id's or 9 product id's are enough by making product id's as consumable and use same product id for different contents. (I have logic in my app to check whether user has already downloaded the content)
ONE product id for each of your product. This also covers consumables.
Completely distinctable. If you have a magazine with 12 issues a year, you must make one product id for each of these.
When I pay for a product with a specific product ID, I can demand all content linked to that id.