Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [visibility]

Question about visibility of product(s)

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

Issue with URL Keys for variant products now appearing on Frontend

We are experiencing an issue with our Magento store: New URLs are being generated upon saving products, pointing to the configurable's product variant, and causing them to appear on the frontend. Here'...
Medipost Web support's user avatar
0 votes
2 answers
424 views

Filtering Product Collection on the basis of visibility

I want to remove the products from the product collection that are set Non-Individually Visible. Here is my code: $validProductsCollection = $this->collectionFactory->create(); $...
Rana Zain's user avatar
  • 658
0 votes
3 answers
54 views

How to automate the visibility of a product for a specific date?

I'm trying to configure the visibility of some products for a specific date, but I can't find what configuration I should select for this action to take place.
Erick Vernaza's user avatar
3 votes
0 answers
358 views

Magento 2.4.2 : Disabled Products are visible in Frontend

Products, that are disabled in our backend, are still shown in the frontend. Even after changing the visibility to "not visible individually" or just "catalog", they still appear ...
Farina's user avatar
  • 31
0 votes
0 answers
34 views

Multistore configurable item still showing after status = "disabled" and visibility = "Not visible individually"

To start: "Display Out of Stock Products" is also set to "No". So that's not the problem. So i have a configurable item with two simple items. One of them is specifically for the ...
Always_home's user avatar
1 vote
1 answer
457 views

Catalog Category permissions keeps on changing automatically in Magento 2.4.1 Enterprise Edition

We are using Magento 2.4.1 Enterprise Edition. Suddenly our built-in catalog category permissions keeps on changing automatically (category permissions are set to "Deny"). which caused PLP ...
Bilal Amjad's user avatar
0 votes
1 answer
657 views

Hide simple product on product list page Magento 2

I have simple products and configurable products on my M2 and i would like to hide child of configurable on product list page but still getting them on the filters part. If i set 'Not visible ...
Jordan's user avatar
  • 3
0 votes
1 answer
683 views

Magento 2 - display "Not display individually" product on listing page

I want to display "Not display individually" visibility product display on listing page. Please help and thanks in advance
bhagwandernase's user avatar
0 votes
0 answers
3k views

Magento 2 : ko observable variable checking in template file

I have created a custom payment method using knockout js. I want to display a form only for selecting a drop-down value "Add new card". I have created a KO variable and assign the value initially as ...
Jancy Abraham's user avatar
0 votes
0 answers
28 views

ERP changes visibility status of products

We are facing a stupid problem. Our Magento 2 shop is connected to an external ERP system. Our ERP system sends back the status to the shop as it should, once the products are shipped and sets the ...
Ben's user avatar
  • 141
0 votes
2 answers
629 views

Magento 2 product visible on backend only

I have a few products that are mainly used for partner orders and should not be on visible on frontend. But visible on backend order creations! In other words an internal product. I'm only looking ...
Mac A.'s user avatar
  • 280
2 votes
2 answers
1k views

Some added products in cross sells not visible in frontend Magento 2

I have added few products in cross-sells but some are visible and some are not visible in the UI(frontend). I referred to a Magento bug that only 2 items were visible in the backend https://github....
summu's user avatar
  • 847
1 vote
0 answers
201 views

Products visibility and indexer

in magento 2 one of products wasn't visible on front-page. After running command line indexer:reindex product is showing. Why do I need run indexer:reindex ? In system -> index management already ...
jpu's user avatar
  • 121
0 votes
1 answer
275 views

Wishlist added products icon not active in Magento 2.3

Wishlist added products icon not active or color change in product detail page and listing. But added products are present in "MY WISH LIST" in Magento 2.3
Shafeel Sha's user avatar
  • 1,395
0 votes
1 answer
1k views

Update product visibility to search only programmaticallly. $product->setVisibility(3) does not work, break the script

I have this script to update product attributes, everything else run fine until i added this line below of code to update visibility to search only. I know i can update it through catalog product grid,...
Mage Explorer's user avatar
0 votes
3 answers
590 views

Magento2.2: How to change the default functionality of search in visibility

I want to change the default functionality of search in visibility. When product Visibility is set to Search or Not Visible Individually it should not appear in the search dropdown, search results, or ...
Bhakti Thakkar's user avatar
1 vote
0 answers
58 views

changed default store for website - now some products do not work properly anymore

Assume we have one website and we have two stores for that website: StoreA and StoreB, plus a store view for each store of course, StoreA_view and StoreB_view. The default store for the website was ...
fritzmg's user avatar
  • 747
3 votes
4 answers
8k views

M2 Importer: Value for 'visibility' attribute contains incorrect value

If the importer runs with cronjob I get always the same errors on all lines: Value for 'visibility' attribute contains incorrect value, see acceptable values on settings specified for Admin in ...
Michael's user avatar
  • 71
3 votes
0 answers
115 views

Magento hierarchical attributes

Does anyone know how to make product attributes visible only when they exist? Ex. you have a T-shirt, models are Spiderman and Thor (model attribute), and available on red, blue and green (color ...
Kalnea's user avatar
  • 31
0 votes
1 answer
2k views

Using Magento 2 Rest API to filter on product visibility

I want to retrieve only products that are listed as visible in both catalog and search, yet can't find any confirmed way to do this. The obvious solution I was hoping would work (shown below) ...
AdamJones's user avatar
0 votes
1 answer
65 views

What is the role of visibility filter in colections Magento 2?

I am getting Order Items, from order collection by Order ID but as from the attached screen shot (Order 15) I am getting one product data two times. Can any body explain the reason and what will be ...
Ajwad Syed's user avatar
  • 1,591
0 votes
0 answers
43 views

Show product only if it's related

I need to hide a product from catalog and search. So on my product page in visibility I set No visible individually, but I need to show it if it is related to another product and this other product ...
Morgan Tartreau's user avatar
3 votes
0 answers
1k views

Magento 2 : Data binding in Payment Method Selection

I want to display a custom field in "cash on delivery" payment method. I have created a custom module for this. But the field displays in all payment methods. Here is my code html <div class="...
Jancy Abraham's user avatar
3 votes
2 answers
3k views

Magento2 admin grid ui component form hide multiple fields based on php condition

I have so many fields in my admin grid form which made using UI component. I want to hide some of the fields using php condition. I know that it can done using DataProvider file and I also followed ...
Pratik Navapara's user avatar
1 vote
1 answer
1k views

Magento 2 - How can I change product visibility value using plugin afterSave or beforeSave method?

I have created a plugin and I want to change product visibility value on product save but it's not working. ProductAfterSave.php namespace Vendor\Module\Plugin; class ProductAfterSave { public ...
Mr. Nanhe's user avatar
  • 139
2 votes
1 answer
2k views

Magento 2 - How to use plugin to change product visiblity after saving product from backend?

I am new in Magento 2 and I want to change product visibility after saving product from backend using plugin. For this I have created custom module and plugin, but I am not sure that we can achieve ...
Mr. Nanhe's user avatar
  • 139
0 votes
2 answers
4k views

Magento 2 Product Import Problem

I got an Error on Magento 2 Product Import - which says: Value for 'visibility' attribute contains incorrect value, see acceptable values on settings specified for Admin in row(s): 1 Invalid value in ...
FullSystem's user avatar
4 votes
2 answers
7k views

Update product visibility Magento2

I am creating a product programmatically, trying to set the visibility with below code $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $product = $objectManager->create('\...
Jafar Pinjar's user avatar
  • 1,929
0 votes
0 answers
217 views

How to control price visibility of product from Magento 2 admin panel?

I want to control the price visibility of products from admin panel. actually, I create an attribute price-control as a display on the following image. if price control set to yes, the price of the ...
Mohd Hasan's user avatar
0 votes
1 answer
1k views

Magento 2 : How to get product attributes in my module block function which are visible on frontend?

Issue is I am getting all the attribute collection not the attributes which are visible on frontend I am unable to filter them as the data which is coming is from Table: eav_attribute from there we ...
Gurjeet Singh's user avatar
1 vote
1 answer
388 views

Magento 2 - product is showing via url, but it isn't appearing in the frontend

I'm having a problem with Magento 2, I've created a configurable product like how I do it every time. However, some products aren't showing in the frontend of the categories, If I try opening it up ...
Xavien's user avatar
  • 11
3 votes
3 answers
2k views

Export simple product using script in magento2 [closed]

How we get simple product collection with visibility 4 (catalog/search) with script in Magento 2?
meet's user avatar
  • 373
5 votes
3 answers
5k views

Magento 2: Hide tier price element

Custom theme using Magento 2.2.1 in developer mode, inheriting from the Magento/blank theme. When selecting an item from a sizing dropdown on a product page, created using a configurable product, an ...
Muckee's user avatar
  • 699
12 votes
1 answer
1k views

How to override a static method in Magento2

Plugin Interceptors and overriding with preference does not work on static methods. Need to override getOptionArray method in Magento\Catalog\Model\Product\Visibility to return a custom visibility ...
user3339988's user avatar
0 votes
1 answer
226 views

set out of stock configurable products visibility to search

A configurable product is out of stock when all its simple products are out of stock. I would like to set the visibility to search for all configurable products which are out of stock in bulk. Can ...
Reshad Zazai's user avatar
0 votes
0 answers
36 views

Product not visible in list product and search

I have a strange problem. http://lady-wine.com/en/brunello-di-montalcino-castelgiocondo-marchesi-de.html This product is currently visible if I insert link directly but it's not visible with ...
alessandro's user avatar
2 votes
1 answer
7k views

Get Visibility of product Magento 2

I want to know how to get visibility of product using Magento 2. I have a product that is set to "not visible individually" and want to remove it from a collection. I have tried below methods: $...
harri's user avatar
  • 5,475