Questions tagged [catalog]
It should be used for questions regarding the catalog module.
1,077
questions
0
votes
1
answer
24
views
Catalog search index process error indexation process
I did a new installation of Magento (2.4.6-p2) and did the data migration from Magento 1.
Everything seems to work, except the catalog pages, which give the following error on the frontend:
Error: ...
1
vote
1
answer
41
views
wysiwyg editor does not show all folder after upgrading to Magento 2.4.6
I just upgraded to Magento 2.4.6 from 2.4.0. The issue i am facing is the editor is not showing images folder in storage_root. It is just showing me two folder catalog/category and Wyswig folder. I am ...
0
votes
1
answer
25
views
Disable admin user category Drag and Drop for Magento2
I am looking into if it is indeed possible to disable the ability for a user to drag / move and drop categories in the Magento2 admin panel.
Any guidance or suggestions on how to accomplish this on ...
0
votes
0
answers
22
views
Change the order of the images
Does anyone know if it is possible to change the order of the images already imported through a CSV template?
Example this is the loaded order
I want to alternate it by this order
I appreciate the ...
1
vote
2
answers
51
views
How to show category image?
The category image is not visible on the description page.
How can I display it on the page?
app\design\frontend[base][theme]\Magento_Catalog\templates\category\description.phtml
0
votes
0
answers
28
views
Magento2 graphql query to create product?
How to Create Product using graphql is there any mutation for this I couldn't find a single tutorial nor mutation in core module-catalog-graph-ql.
0
votes
0
answers
16
views
Add new filter in the Panel column of the Product Catalogue
I want to add a new search filter in the product admin panel, but I don't know where to enable this option, if anyone has any idea if this can be enabled per individual user or only the super admin ...
0
votes
1
answer
32
views
List products via API
I wanted to fetch all the products from a Magento store using the REST API. Can anyone help me with a curl request?
Thanks
0
votes
1
answer
162
views
Magneto 2.4.6-p3 products not showing in catalog or search
I have seen this question asked so many different ways and for various Magento versions. I've spun up Magento 2.4.6-p3 and after bringing up the frontend and checking the admin backend, I don't get ...
0
votes
0
answers
22
views
remove same product from two widget
In our magento 2 store.
We have 3 sections
Featured Products
Trending Products
Top Picks
in this section the products are showing, but problem is product can have all these 3 attributes selected.
i ...
0
votes
1
answer
31
views
get Image thumbnail Resize in custom Class magento 2
I am getting my images in the array.
I need to check the if image in the array is empty then it should be replaced with the thumbnail image.
Here is my code :
if (is_null($imageData->getData('...
0
votes
0
answers
12
views
Sebwite category side bar Link showing error 404
I installed the Sebwite side-bar category extension successfully for the project, I'm currently working on and it is showing perfectly on the front end.
I created a separate root category for the ...
0
votes
1
answer
25
views
Export of products in CSV files
Does anyone know why the CSV export file does not appear, when I make the export I get the notification that it is ready, however, the file is not found, this should appear with the date on which the ...
0
votes
0
answers
30
views
magento 2 sort by name is not showing full products
Magento 2.4 on the category page when sort by selected is name then products are not showing all products
sort by position is working fine
sort by price is working fine
Example Total 31 products in X ...
0
votes
1
answer
43
views
Magento 2 Display compare block only when the number of products to compare > 0
On the catalog page I only want to display the block-compare if the number of products to compare > 0. Now I still see the title of the comparison block, I don't want to see anything.
This is my ...
1
vote
1
answer
71
views
Save products in restricted user roles
I am using Magento 2.4.5, where i have created user roles with access to catalog, marketing and sales. But those users are not able to save Products. When they try adding new product or editing ...
0
votes
2
answers
90
views
Remove Category Description IF the category is filtered
Magento 2.4.6
I need to remove the category description from the category page IF one of the filters is used.
Ideally, it will be removed from the HTML, but as this is a usability issue more than SEO, ...
0
votes
0
answers
170
views
Magento 2 After Upgrade Error Unable to apply data patch Magento\Catalog\Setup\Patch\Data\UpdateMultiselectAttributesBackendTypes
After Upgrading to Magento 2.4.6.-p1 , we are getting error on setup:upgrade
Unable to apply data patch
Magento\Catalog\Setup\Patch\Data\UpdateMultiselectAttributesBackendTypes
for module ...
0
votes
1
answer
92
views
Magento 2.4 exclude categories in the catalog product search
I have to exclude some categories from the product search, I have tried many ways but I can't exclude specific categories, I know that a product can be set not to appear in the search result, but I ...
0
votes
2
answers
205
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
2
answers
79
views
Scable qty going to nagative value
In Magento2 Scalable qty going to nagative value.
Is there anyone have idea which cases Scalable Qty going to nagative value?
0
votes
0
answers
17
views
how to remove a product from a specific web site, using a template whose fields are required to perform the action
Currently I want to delete specific products from a website massively as it is a huge list of SKUs so I want to do it through a template and I have the first 2 fields but I need a third one what would ...
1
vote
0
answers
30
views
Magento 2 + Add inlineEdit feature in related products grid on admin product edit page
I want to add an inlineEdit feature same as admin customer grid, in related products grid on admin product edit page. For that I extended Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Related ...
0
votes
0
answers
40
views
I want to validate custom catalog rule in conditions
I want to validate the custom catalog rule that I added in catalog rule conditions but I don't know the process to do the same.
I have added these 3 rules to check if product is new or not
Product is ...
0
votes
1
answer
89
views
Can you restore old Magento catalog and product data?
our Magento catalog database has undergone an update which mixed items together and caused chaos.
Can we somehow extract old product data (product numbers, categories, which products were contained in ...
0
votes
1
answer
35
views
Complete data is not saving in the Table
Actually I am getting the data of the catalog_category_entity in my custom grid and delete the record. Before delete I want to save the complete data in my custom table. But only saves the three ...
0
votes
1
answer
471
views
How to set or Update product qty for Magento 2.4.5-p1 OR Latest Magento Version?
I have following code to automatically create products in magento 2.4.5-p1.
<?php
/**
* Copyright © All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
...
0
votes
0
answers
77
views
This product doesn't exist
If I try to access any product on the admin backend side this is the error that I'm encountering: This product doesn't exist.
And this is the PDO exception from the exception log file:
(PDOException(...
1
vote
1
answer
153
views
Add Superscript to price decimal display
I want to change the HTML formatting of the price across the entire frontend. Is there a possible way to add <sup> tag to price decimals in Magento displayed all across the website?
The current ...
0
votes
2
answers
167
views
Magento 2.4 How to disabled / hide "Delete" from Catalog Products Actions
I have an improvement problem;
I want to restrict some more things from that user. I want to block "delete" the product
Magento 2.4 How to disable/hide "Delete" from Catalog ...
3
votes
4
answers
577
views
Unable to add video youtube url in product page as also got error The preview image information is unavailable. Check your connection and try again
Unable to add video youtube url in product page as also got error
The preview image information is unavailable. Check your connection and try again.
I am using magento 2.4.4-p1 version
2
votes
1
answer
91
views
Magento2 how to remove catalog product listing url with special characters?
How to remove catalog product list url with unwanted string and special character for XSS Vulnerability fix, i need to completely remove the special characters if any.
Example : 'magento url'?...
0
votes
1
answer
106
views
The way to overwrite list.phtml
A bit new to Magento but need to do next thing:
Hierarchial catalog(HC) [Category > Subcategory('s) > Products]
I found on the web that i can rewrite app/design/frontend/Vendor/theme/...
3
votes
2
answers
1k
views
Magento 2 : getting index table error after save product from backend after version upgrade from 2.4.3 to 2.4.5
SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 1, query was: INSERT INTO catalog_product_index_price SELECT ip_tmp.* FROM ...
1
vote
1
answer
161
views
Remove title and category description from category pages except first
i need to remove (not displaying:none or similar) title and category description from category catalog pages different from first page.
I mean, when i click on pages on pagination selector, i want ...
3
votes
0
answers
176
views
Magento 2.4.4 upgrade after custom sorting filter Ascending/Discending order not working with porto theme?
I have upgrade Magento version 2.3.7 to Magento 2.4.4, before upgrade custom sorting option is working fine.after upgrade popularity asc/desc sorting is not working. we are currently using smartwave ...
1
vote
0
answers
307
views
Magento 2.3.2 > Some products images are broken and some are not loading correctly in frontend
I'm a new to magento and don't know much about magento, Recently I have installed a custom theme in magento2 and then some products images became broken and some are having images with src=".../...
2
votes
0
answers
315
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 ...
1
vote
1
answer
193
views
Export Full Catalog button
How do I enable the Export Full Catalog button or similar option on this page that does not appear in my installation.
0
votes
0
answers
93
views
Magento 2.4.3 Configurable Disappears From Catalog when simple count exceeds 325
One for the Gurus!
I have a configurable with 3 Attributes: Product type, Colour and Height.
When I exceed 325 simple products within the configurable the product will disappear from the category it ...
0
votes
0
answers
309
views
Magento 2: How to display multiple prices for same product?
I would like to display multiple prices for the same product and customer can select any one of the product price and place an order. But as per my understanding I think this is not achievable by ...
1
vote
1
answer
37
views
Magento2.4: Which files are used to render this advance inventory pop up?
I want to find out which files are used to render This advance inventory pop up from the catalog product edit option? and stock status option where are those values coming from
1
vote
1
answer
2k
views
Elastic search error in magento 2.4.3 ((code=killed, signal=KILL))
when i check the the elasitcsearch status using this command :
sudo /etc/init.d/elasticsearch status
i got this:
elasticsearch.service - Elasticsearch
Loaded: loaded (/etc/systemd/system/...
0
votes
2
answers
33
views
How to remove extra dash from virtual category page meta title
I have a few virtual categories set up in my top menu. When I go to a specific brand the meta title on my browsers tab shows a dash character "-" before the Brand Name.
Looking for a ...
0
votes
1
answer
32
views
How to get all Products of all Websites/Stores?
I tried getting all products of all websites via the ProductCollection like this:
$stores = $this->storeManager->getStores();
foreach ($stores as $store) {
try {
...
1
vote
0
answers
90
views
How to exclude category products from catalog search results
What's is the best approach to exclude some category products from search result based on category custom attribute
0
votes
1
answer
443
views
Restrict access to some categories for not logged in customers
What's the best approach for restricting access to some categories and products in those categories on front-end for not logged in customers.
we need to hide category from the menu and catalog search, ...
0
votes
1
answer
647
views
Magento 2.4.3 CatalogSearch blank page when I search something
I'm having a problem searching for products.
When I try to perform a search and press the enter key, I am directed to the catalogsearch/result page, but the latter is completely empty, without any ...
0
votes
2
answers
653
views
Magento 2 how to add loading lazy to image product?
I'm trying to add the tag , loading="lazy" to the template that I've found that prints the image, but it´s not working.
app/design/frontend/Vendor/Theme/Magento_Catalog/web/template/product/...
0
votes
2
answers
243
views
Magento 2 products not paginating in admin panel
I'm working on an e-commerce that have many thousands of products, something like 80,000 products.
The problem is that when I go to Products page, it keeps loading and then crashes or return a 504 ...