Questions tagged [disabled-products]

Denotes questions related to Disabled Product Collection

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Magento 2.3 - Product update using Bulk import by CSV partially working

sku product_online product_websites store_view_code 6250105 2 base san_antonio_english If i import the above CSV formate for disabling products i am ...
0
votes
1answer
44 views

Why my Disabled product collection gives empty array in magento 2?

I want to get disabled product id's in my system but it gives me an empty array. Here is screenshot of my products.When i grab disabled product by using this code $updatedproids = []; $...
0
votes
1answer
18 views

How to get disabled products id's and products price in magento 2 by using SQL Query?

I want to get disabled products id's and products price in magento 2 by using SQL Query ? By using this i'm getting disabled product but how to get price for that products. SELECT entity_id FROM `...
0
votes
2answers
50 views

How to get only disabled product in Magento 2 Controller?

How to get only disabled product In Controller I have getting all the products <?php namespace Mageplaza\HelloWorld\Controller\Index; use Magento\Catalog\Model\Product\Attribute\Source\Status; use ...
0
votes
0answers
40 views

How to exclude disabled or out of stock products from sitemap.xml in Magento 2.3

How to remove disabled products and out of stock products from sitemap.xml. Currently, all URLs are showing in the sitemap. I am using Magento 2.3
2
votes
2answers
57 views

Magento 2.3.2 Collection foreach didn't get disabled product

I am using Magento 2.3.2. I am filtering collection if product ids found in array. before foreach if I am printing collection I am getting data. But in foreach I am not getting any data. $productIds ...