Questions tagged [products]

Questions about products in the Magento catalog in general

361 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

magento 2 Product description tab image problem gets smaller?

As shown in the image bellow im importing image in product discription with original size is (826px x 8191px) but after importing it it's getting smaller and resized to (152px x 1507px). how can i ...
0
votes
0answers
83 views

Notice: Undefined index: is_in_stock in vendor/magento/module-configurable-product/Model/Product/VariationHandler

When attempting to create Configurable products, we are receiving the error below. I've disabled any 3rd party modules I thought could be causing the issue, we were using both ...
0
votes
0answers
45 views

How to filter product by stock quantity?

I am trying to get results of products by stock quantity filter i use this inside the constructor of my helper class. \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $product_lib ...
0
votes
1answer
37 views

How to get product collection of a particular category depending upon the custom attribute value in magento 2

I have created an attribute for product like enable/disable to show product in slider in frontend. How can i get the product collection of the product enabled for this attribute value using category ...
0
votes
0answers
37 views

Move only error message on product view page

can I just move the error message (You cannot use decimal quantity for this product.) under product.info.price?
0
votes
1answer
288 views

Magento 2 Product Detailed Page(PDP) Varnish PageCache Test Failed

I've created some Magento2 Extension, I've uploaded those code into the Magento2 Market place. In that market place, there has some kind of code validation procedure, and I've written my code as per ...
0
votes
0answers
34 views

While Saving a Product I get this error A technical problem with the server created an error

While Saving a Product I get this error A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later. Out of 145 Products ...
0
votes
0answers
69 views

M2 - Preselecting a customizable option in a simple product by URL

Is it possible to select a customizable option (size) of a simple product by URL? Or is that only working for configurable products? I basically need one URL per size/option for each product. How can ...
0
votes
0answers
22 views

Magneto 2 Share a catalog to our privileged customers

I need to share magento2 products with some of our valued customers first rather than publishing them online. They will purchase items if they want but in magento2 how can we generate a special URL ...
0
votes
0answers
203 views

Magento 2 category list page - add template - get product attribute

I want to add a custom template inside the category list page. Therefore I added the following inside my catalog_category_view.xml; <block class="Magento\Catalog\Block\Category\View" name="...
0
votes
0answers
75 views

Product page Image Gallery Loading Issue

I'm getting images of product and using custom slider to load the product images in product details page, The product is loading normally but sometimes when we refresh the page, Images wont showup. ...
0
votes
1answer
41 views

Magento1.9 - List of all in stock product brands to main menu

I have listed all brands to the main menu using below code and it gives all available brands. $attributeId = Mage::getResourceModel('eav/entity_attribute')->getIdByCode('catalog_product','brand'); ...
0
votes
2answers
352 views

How to get all products programmatically in Magento 1.9?

I am trying to export all enable, disable, visible for both, not visible, the only catalog, only search. as well if there are 2 stores and assign different products. So I want all products if any ...
0
votes
0answers
28 views

Magento2.3: Products are not displaying at all in Category page

I have created a simple product and attached with one of the category. However, the product is not displaying at all when I go to the corresponding category page. I can only browse the product when I ...
0
votes
0answers
34 views

Display product collection without limit in Magento 1

I created a custom module that redirects your homepage to a landing page (CMS Page) that is a campaign page, for example, black friday. I've created a new layout for the page, layout that uses a ...
0
votes
1answer
28 views

Product Feed empty with no reasons

I did a mistake today and deleted all the "Product feeds" today instead of generating them. I'm re-creating them and it's working for France, UK and Germany. For no reason it is not working for USA ...
0
votes
2answers
19 views

Magento 2 product error

When i do a google search for our products and click the link redirects to /search/ instead of the actual product. Some are working and some are not. I would appreciate some help on this issue.
0
votes
1answer
118 views

Products are not visible after update 2.2.8 -> 2.3.3 (CE)

After update the category view won't show any products: "we can't find products matching the selection" Some products will show up if I filter the results enough, but usually none will show up. I ...
0
votes
0answers
57 views

Magento 2.3.2 getting error after manually deleted products from mysql

I had deleted product using "DELETE FROM catalog_product_entity" in Magento 2.3.2. I am getting stuck in reindexing about error `catalogsearch_fulltext_scope2`' exists., query was: CREATE TABLE IF ...
0
votes
0answers
55 views

products csv import categories not updated in magento2

I'm importing product sku and category ids using product import in magento2. but not working please anyone help me. eg: sku,category_ids test_123,2,5,12 thanks
0
votes
0answers
290 views

Magento 2 GraphQL: Filter Products by custom attribute

I am using Magento 2.3.3 and GraphQL to get a list of products. I want to query products by a custom attribute that I created in the admin. Couldn't find in the documentation how to. It is possible.....
0
votes
0answers
195 views

Magento 2 Mini cart items are shown twice

I have Magento 2 and I enabled ajax add to cart and the mini cart. I added 5 products to my cart, it shows a count of 5 but when I click on the cart icon to show the listing it shows the product list ...
0
votes
1answer
24 views

Loading collection of products from a Category with admin filters

I am currently working on a project where it loads a collection of products with a CategoryFilter. $category = $this->categoryFactory->create()->load($categoryId); $collection = $this-&...
0
votes
0answers
91 views

why magento2 is Showing multiple images on product detail page?

why magento2 is showing multiple images on product detail page? I am importing just base image through CSV file. I just want that one image on product detail page. but on product detail page i am ...
0
votes
0answers
28 views

Magento 2: Products not showing in search but in catalog is ok

I have a problem with my catalog. Products are visible in catalog category view pages (I can do any action - add to cart, buy...) but when I want to search any product then not showing in search ...
0
votes
1answer
559 views

Magento 2 how to add a widget Recently viewed products

If you have add product review and rating and approved admin side. After you have seen on recently view product.
0
votes
1answer
470 views

Magento2.3: How to move sku above product title?

I want to move the sku above the product title. But the problem I'm facing is that I can see two of the sku's in the product page(one is under product title and another is parallel to price). Please ...
0
votes
1answer
238 views

Magento 2 : How to hide add product button from admin panel

How I can hide add product button from admin panel? see image below for more clarification.
0
votes
0answers
136 views

Magento 2 Facing Problem :Could not save product “3194” with position 0 to category 12

I am facing a problem whenever I go into catalog->products->edit product and delete the category from product and click on save button the error is coming. Could not save product "3194" with ...
0
votes
0answers
20 views

Magento 2.2.1 - Unable to save changes in product category

Need your help to assist me on this problem. I have been working on this for almost 3 hour. I click save button but nothing appear plus the product is not saved. As my effort.. 1) Flush the ...
0
votes
1answer
24 views

How to get products with the available dates?

I have created product attributes "Available from" and "Available to" with the input types date. I want to get products from the available dates while searching. How can I achieve that result? ...
0
votes
0answers
91 views

Magento2: How can solve this error “{”error“:”invalid_grant“} ” on product save by admin?

When I am saving product by admin then it is showing error "{"error":"invalid_grant"}" and product is not showing in frontend also. How can resolve this?
0
votes
1answer
2k views

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails

when i update my any product from magento admin back end below error come SQL STATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (db ...
0
votes
0answers
75 views

how i can display label in only Inclusive of tax price before in magento 2

Exclusive word comes for both prices Hi I want to add a label before the product inclusive of price in magento 2 but I added a label using this answer https://magento.stackexchange.com/a/...
0
votes
1answer
54 views

Hide products category disabled

I have disabled a category of products that are only for Christmas, but if I use the search engine, the products appear although the category is disabled. How can I do so that the products are also ...
0
votes
1answer
62 views

Associated Category List from Products in a Particular Category

I am working on a site where product brands have been set up as categories. Each product has at least 2 categories, one for brand and others for product categories. On the page for Brand-X, rather ...
0
votes
0answers
32 views

After update to Magento 2.3.1 the visibilty of Products ist wrong

After I had "stupidly" made an update to Magento 2.31. I have the problem that my configurable child-products are displayed in the frontend. In the admin-article-overview, the value is shown as "...
0
votes
1answer
76 views

Magento 2.3: saving configurable products lead to erasing price

When I create a new configurable product and then I add the configurations price field gets disabled and erased. Is there any way to fix this or just take the first configuration price? Also in ...
0
votes
1answer
68 views

Magento2: Issues with duplicate simple product

I have duplicate a simple product. The original simple product has: SKU: pld942 URL: pld942.html after duplicate: SKU: pld942-1 URL: pld942-1.html I set in duplicate product: enable weight qty ...
0
votes
1answer
250 views

checking both updated_at and created_at filter with OR condition for product collection

Hello Please help me to updated this query to apply updated_at filter too with OR condition. Here If I want to add 'updated_at' too in the filter with the same condition like 'created_at' then what ...
0
votes
0answers
64 views

No valid data sent magento product export

Trying to export products from Magento using system import-export function and getting the error no valid data sent Initially, I was trying to export a few thousand products I then tried to export ...
0
votes
1answer
56 views

How to set a start and end time for Product Status

Am I able to set a start and end time for product status? I'm running an ecom store and would like to know if I can set a date & time for product to enable/disable. For example, if I am ...
0
votes
1answer
515 views

Sort product collection on stock status in magento2.3

I want to sort my list.phtml and catalogsearch by availability. Mean that when category page or search result page loads, first show "in stock" product and at the end show out of stock items. Don't ...
0
votes
1answer
136 views

How to update Schedule Update in product in magento 2.3?

I have few question to ask for my understand about Schedule Update What is Save as New Update Option? What is the Update name should add here ? attribute code or just a name? 3.What is Assign to ...
0
votes
0answers
34 views

Recent viewed product conflcit with infiniteScroll

I have installed the Infinite scroll extension On my category Listing page. I have also added the feature of recent viewed product, but it not compatible with infinite scoll. I have done the changes ...
0
votes
0answers
51 views

Get the list of most seller combined products with its orders

I want to get the most frequently sold product combinations, along with number of orders ( and Orders if possible). I have customized the Magento tables for my warehouse activities and the sample ...
0
votes
0answers
35 views

Magento 2 generate product data based on cron job

I am developing an admin module which has the functionality to generate product csv in format XML, CSV and txt. I am inserting a row for each format in the database. So when we click on generate ...
0
votes
0answers
46 views

Add parent url to simple product screen

I need to add a block on a simple product page which contains a url link to the parent if it exists. Block would be positioned under the short description. I have seen lots of code examples (some are ...
0
votes
1answer
357 views

Unable to get Not Visible Individually products magento 2

I am using DI \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory in my class and get all products using $collect = $this->collectionFactory->create()->...
0
votes
1answer
330 views

Magento 2.2.4 Attribute “manufacturer” only showing in simple product, not in other product types

I've created attribute manufacturer. It only shows when I add simple product, but when I whant to add other type of product, attribute is not showing.

1
4
5
6 7 8