Questions tagged [products]

Questions about products in the Magento catalog in general

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

Magento 2.4.2 not showing products in category pages after update, here the log

Magento 2.4.2 not showing products in category pages after update, this is what I get into the var\log\exception.log: main.CRITICAL: Class Magento\Catalog\Helper\HelperNew does not exist {"...
0
votes
0answers
8 views

magento EE v2,4.1 products disappear from category pages, or appearing on wrong category pages

I have a magento EE v2.4.1 website. my products disappear from PLP (category pages) automatically sometimes or appear on wrong category pages. this issue seems to be due to indexing, because when we ...
0
votes
1answer
17 views

use webp pictures for products

I use a magento2 webshop https://www.agoshop.at and I will use webp pictures for my products. I have convert a jpg to webp format and try to upload this webp picture to a product but the filetyp will ...
0
votes
2answers
157 views

Magento 2.4.2 not showing products in category pages after version update

I have updated my Magento from 2.3.0 to 2.4.2, and seems to work fine, but one thing, if I go in any category page, I see no products, and even if I search for, I see no results. On the homepage there ...
0
votes
1answer
12 views

Magento 2 Get In Cart Product Brand, Variant and Quantity

in Magento 2 I am trying to get below details of the product from the customer cart Name ID Price Brand Category Variant Quantity This process I added in observer during customer proceed to checkout ...
0
votes
1answer
33 views

How to get product list by multiple categories with multiple SKUs in Magento 2.3.5

I'm trying to get product collection by Multiple Category Ids with Multiple SKUs. The result has been coming wrong. I can't understand where I'm wrong. The code is given below <?php namespace ...
2
votes
2answers
165 views

Magento 2 product grid admin panel not showing the special price value

I'm using a Magento 2.4.0 installation, and I've added special price and cost to my product grid in Products / Inventory / Catalog. Now I have the special price and cost into the grid, but both show 0....
0
votes
0answers
15 views

Best option to bulk import products and images?

What's the best option to migrate/bulk import products from one Magento 2 instance to another, that includes the product images???
0
votes
0answers
11 views

Grouped Products showing lowest price

Is there a way to show the highest price when using grouped products? Currently I have a grouped product with 3 simple products inside and it is showing the £25 instead of the £300+ one. You can view ...
1
vote
1answer
15 views

Magento Export page spinner keeps rolling

I am exporting products from native Magento features. After exporting it says Message is added to the queue, wait to get your file soon. Make sure your cron job is running to export the file. And the ...
0
votes
0answers
18 views

Searching for Products via searchCriteria endpoints (rest/V1/products?searchCriteria) is obscured, but via SKU (rest/V1/products/SKU) is not obscured?

When I try to ping for all products via a simple searchCriteria (rest/V1/products?searchCriteria[pageSize]=1), the total_count is a fraction of the full number of items in our catalog. Or when I ...
0
votes
1answer
22 views

Magento 2 graphQL Get Select attribute option labels in Products Query

I want to get the attribute label value along with the id in the Products graphQL query. like color { id: 12, label: black }, size{ id: 15, label: xl } Currently, it returns the id only. How can I ...
0
votes
1answer
13 views

How to show multiple products in detail view on custom page?

I want to show multiple products in full detail view on a custom page. Please, anyone, suggest to me the steps to follow for achieving that idea. my Magento version is 2.3. The screenshot is attached ...
0
votes
4answers
45 views

Get all items from cart

I have a custom module where I want to get all items from the cart and take a custom attribute(days_to_dispatch), but I don't know why I don't see that attribute and others(description, ...
0
votes
1answer
57 views

How to show products on homepage by category in Magento 2

I am trying to show products on the Homepage by category. {{block type="catalog/product_list" column_count="4" category_id="158125" template="catalog/product/list....
1
vote
2answers
65 views

How do I get all products that are displayed on a page?

I am trying to get all the products which are displayed on the current page. The information is used for tracking cookies on the page.ready call. It was possible to get the product from the product ...
0
votes
0answers
12 views

I can't associate simple products to configurable ones if they have 0 quantity

I use the following code to associate (I call it from a loop) simple products to a configurable one. it works fine except if the id of the product correspont to a product with 0 quantities, in which ...
0
votes
0answers
13 views

Adding a suffix/unique URL for bundled products

I currently have bundled products that are broken down by size. For example, Grey T Shirt (Bundle) Small T Shirt Medium T Shirt Large T Shirt Currently the url is example.com/greytshirt Is there a ...
0
votes
1answer
30 views

Magento 2: Error on reindex

I have recently upgrade my instance from Magento 2.3.0 to 2.4.3 and products are not showing on the frontend. When I run php bin/magento indexer:reindex command I get this error: Any help will be ...
0
votes
2answers
28 views

frontend error category products not getting displayed

I am trying to access the product listing on the frontend But I am getting this error. Parse error: syntax error, unexpected 'else' (T_ELSE) in C:\xampp\htdocs\testmastersdirect\mastersdirect.masters-...
0
votes
1answer
24 views

Custom Model not updating in catalog_product_save_after event

I ran into weird issue. I am trying to update my custom model/table in catalog_product_save_after event but it always creates new entry in the DB instead of updating older one. I'm doing this way : ...
0
votes
0answers
12 views

Magento 2 - Aftert importing products with CSV number of products imported is wrong

I have imported products via CSV file upload using Magento 2 import. In total I have imported 50401 products. I have a problem, the number of imported products is not equal to the number of found ...
0
votes
0answers
18 views

Added product not visible, After double save of same product it visible

I and my team member added lots of product from the admin panel but some of them is not visible. But when we go to edit and re-save a particular product individually without changing anything then it ...
0
votes
2answers
16 views

Increase the width of the product table in the order confirmation template

I'm trying to help my friend out who has a Magento Store, (2.3.6). I'm a little new to Magento but am experienced with PHP, HTML, CSS. Order confirmation emails are coming through badly formatted and ...
0
votes
1answer
18 views

Product Catalog Images URL construction

I have a rather strange issue on Magento 2 (2.3.3) where product images are not loading. Grid and List view show an error 500 for (some) product images, which seem to have additional slugs versus what ...
0
votes
0answers
19 views

Combination of grouped or bundled product with simple products

I'm trying to create a product which makes perfect sense to me, but can't get it to work: Customer would be able to select a kit of two products OR one of the two separate items either by a simple ...
0
votes
0answers
67 views

Magento 2 Add Button in Edit Product page and land back there after POST request

So, as the title says, I want to add an Admin button in the Edit Product Admin page. That button, when pressed, will call the respective controller of a URL, sending along the product id, the ...
0
votes
1answer
36 views

How to get ordered products withing a date range in magento 2 programmatically?

I want to get the products ordered within a date range for a report. As the result, I need like, product, product type, product Qty. I tried to load all orders and get the sum of products, it want ...
0
votes
0answers
14 views

How can I set a product downloadable but optionally shippable?

I run a Magento 2.4.2 store which contains only downloadable products but those products could be (with a extra charge) shippable. What's the easy way to set them? Should I insert a downloadable ...
0
votes
3answers
68 views

Magento 2: existing products doesn't load regular price through a cron job

Everything was work fine. But now from cron doesn't load productFactory right! Can somebody please help me? public function __construct( Context $context, \Magento\Checkout\Model\Session $...
0
votes
0answers
29 views

What is the correct way to configure Magento, so that products will be visible on storefront?

I am completely new to magento. Trying to add some products on store, product saved successfully. But it is not visible on storefront. Checked all the configuration settings, all are correct. I found ...
0
votes
0answers
12 views

Is it possible to make the magento filter load a phtml code inside?

Staff in magento 2, in 2-column layout, in the first column there is a value filter and in the second column the products. Is it possible to make the filter load inside the product column?. I need the ...
0
votes
0answers
12 views

Set Product Image From Image Gallery

Is there any way to get an image for a new product direct from image gallery? i want to categorize photos into folders on image gallery and then putting them into the products. My Magento version is 2....
0
votes
1answer
36 views

Magento 2 REST APIs fetch results by store code

When i am trying to fetch the orders, & customers & products collection by using store code I am getting another store results aswell. Did any one facing the issue in the magento 2.4 version? ...
0
votes
0answers
40 views

Magento 2.3: products are out of stock only on the product details page

I have a multistore site with simple products that appear to have positive quantities from the backend and are set as "available" in stock. I've checked and I'm sure all other store views ...
0
votes
0answers
49 views

Magento 2.4 stock_item in /v1/products API

The stock_item seems deprecated in the Magento /V1/products endpoint there is some mentioned here: Magento 2: Get Product Stock status details in Rest API Magento 2: Rest API add "stock_item"...
0
votes
1answer
82 views

Magento 2: Export All Products with their custom options

I want to export all products with their custom options through database.
0
votes
1answer
55 views

Magento 2 | Exclude duplicate Item ID from a collection before foreach

When I foreach my collection filtered by tier price, qty and customer group I get the error: "Item (Magento \ Catalog \ Model \ Product \ Interceptor) with the same ID already exists". This ...
0
votes
3answers
504 views

Magento 2 | Item with the same ID already exists when join tables

In my class I have filtered my collection by tier price and quantity. If I put the display of only 3 products the code works, while if I set the display for all products I get this problem: Item (...
0
votes
1answer
30 views

How to create a block with random products and style grid?

I'm starting to play with magento 2 and wanted to create a list of 10 random products that I can place anywhere (e.g. home) with a grid style. May I know, How I can get 10 random products, but I don't ...
0
votes
0answers
31 views

Magento 2, programmatically create configurable products

Hello I have the necessity of creating both simpe and configurable products. This is what (following online guidelines) I have right now: $bootstrap = Bootstrap::create(BP, $params); $objectManager = $...
0
votes
1answer
11 views

Magento 2: Product status doesn't change after changing to another status

When I changed the status of the product from visible to invisible and when I view the product (in the admin panel) it displays correctly but on the table shows the preview status (see attached ). and ...
0
votes
0answers
22 views

Magento 2 Cross Sell products layout are breaking in shopping cart page even in default Theme

We are facing a issue with the Cross Sell products layout in shopping cart page. The product items that are rendered are not loading in proper HTML structure and resulting the items layout to beak. ...
0
votes
1answer
67 views

Magento 2.4.2 stock wrong on productpage

I have installed magento 2.4.2 community edition as multistore. The configurable products are uploaded with a csv from the supplier. On the page with all products I get the right message that the ...
0
votes
1answer
23 views

Load products for specific store Magento 2

$products = $this->productFactory->create() ->setStoreId($store_id) //this is not working ->getCollection() ...
0
votes
1answer
21 views

How can Enable Product (a [website] scope property) can have different values in one specific store view vs All Store?

I have 1 website, 1 store and 2 store views (for English and Finnish languages.), If "Enable product" scope is website. Then how come it can have different values between these Scope: ...
1
vote
1answer
26 views

what is the table of products in magento 2?

I want to know what is the table in the magento 2 database, which stores the product information as the description. I found a table called "quote_item" but there are a lot less products ...
1
vote
1answer
196 views

Fetching SKUs containing a "/" (forward slash character) from the /rest/v1/products/ REST API endpoint?

A lot of our SKUs have spaces and forward slashes in them (eg: "PRODUCT1-DARK BLUE" and "PRODUCT2-DARK/RED". I'm able to curl to the products with spaces via url encoding:     # ...
0
votes
1answer
81 views

Magento 2.3.3 Hide product that are missing product image

Im using Magento2 v2.3.3 Open source. My store consist of around 76000 products and some of them are missing product images. Is it possible without much coding to hide products on the frontend that ...
0
votes
3answers
141 views

Magento 2 certain products hide out of stock products at storefront

I wanted to show all out of products at front store, so I went Store> Configuration > Catalog > Inventory and set yes Display Out of Stock Products option But I have to hide certain out of ...

1
2 3 4 5
20