Questions tagged [visibility]
Question about visibility of product(s)
39 questions
0
votes
0
answers
24
views
Visibility settings not working properly for a product in magento 2 via graphQL
The product (SKU-K1234) setting for Visibility is Catalog, but the product still visbile while searching product via graphQL
For example
If i use a query to search a same product like below, it works ...
0
votes
1
answer
47
views
Product is visible when the visibility is set as 'catalog' while quering via graphQL in magento 2
For example, a product visibility has been saved as only "catalog", but the product still visibile while searching a product at frontend. (I have checked by searching the product with ...
0
votes
1
answer
51
views
What is the difference between VISIBILITY_IN_SEARCH , VISIBILITY_IN_CATALOG , VISIBILITY_BOTH in magento 2
I am new bee to magento, I just confused with the product visbility
VISIBILITY_IN_SEARCH
VISIBILITY_IN_CATALOG
VISIBILITY_BOTH
How the product will display on the frontend for the above option ...
0
votes
0
answers
24
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'...
0
votes
2
answers
625
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();
$...
0
votes
3
answers
85
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.
4
votes
0
answers
424
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 ...
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 ...
1
vote
1
answer
518
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 ...
0
votes
1
answer
709
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 ...
0
votes
1
answer
799
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
0
votes
0
answers
30
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 ...
0
votes
2
answers
658
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 ...
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....
1
vote
0
answers
206
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 ...
0
votes
1
answer
276
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
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,...
0
votes
3
answers
648
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 ...
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 ...
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 ...
3
votes
0
answers
116
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 ...
0
votes
1
answer
3k
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) ...
0
votes
1
answer
66
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 ...
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 ...
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="...
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 ...
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 ...
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 ...
0
votes
2
answers
5k
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 ...
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('\...
0
votes
0
answers
219
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 ...
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 ...
1
vote
1
answer
471
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 ...
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?
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 ...
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
...
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 ...
0
votes
0
answers
37
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 ...
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:
$...