Questions tagged [catalog]

It should be used for questions regarding the catalog module.

Filter by
Sorted by
Tagged with
0
votes
1answer
12 views

Quantity within side of add to cart in catalog area

I'm a little new to the magento 2 area and I'm not finding a way to put a quantity counter to be added to the cart next to "add to cart" in the catalog area, as in the illustrative image, I'm using a ...
0
votes
0answers
14 views

Magento 2 - Catalog Search Indexer DB problem

I have a problem with my Catalog Search Indexer. I reindex all indexes by using php bin/magento indexer:reindex command but when indexer starts reindex catalog search process then I have an error that ...
2
votes
0answers
15 views

how to create custom api to get customer collection magento 2?

I am beginner to create API in magento 2. Can anyone help me step by step process to create custom api to get customer collection. Which is better REST & SOAP? Also, How can I test this custom ...
0
votes
0answers
12 views

How to display the latest out of stock items

How to display products out of stock are the most recent on the search and category pages. I debug to the file vendor/magento/module-review/Observer/CatalogBlockProductCollectionBeforeToHtmlObserver....
0
votes
0answers
19 views

Create Product at Magento 2 Using REST in C#

I'm trying to create a simple Product by Rest API. Response.Status = Unauthorization I wonder if the installation or configuration of something is missing Here is my code public void CreateProduct()...
0
votes
0answers
27 views

After Migration inventory_source_item table is empty magneto 2

This Table ( inventory_source_item ) is Empty and which all my product show out of stock, Can anyone, please help me solve this issue
0
votes
0answers
4 views

Magento 2 price drop alert report

In Magento 2 is there a way in admin to get a report with a list of products which customers subscribed for price drop alerts? Because now you just check every product one by one to see if someone is ...
0
votes
1answer
16 views

Error “URL key for specified store already exists” when enable “Anchor” in category in Magento 2.3.2

Categories in two different parent with same url-key. First category in the list is saving fine when we update anything in that. But when I am enabling Anchor => Yes In the second category with ...
0
votes
0answers
27 views

What is the use of Communication.xml in Magento 2 Catalog module

What is the use of following vendor\magento\module-catalog\etc\communication.xml file located in the catalog module in Magento 2? <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
1answer
30 views

Magento 2.3 - limit certain categories products

We have a few categories which function like "bestsellers" categories; these categories can hold any number of products, but I'd like to show only the top four. So I figured to create an observer ...
0
votes
2answers
40 views

How to programmatically add suffix to the catalog title in Magento 2.2?

I need to add the suffix to the catalog page title programmatically for SEO. Currently in view source code i am getting catalog category page title like <h1 class="page-title" id="page-title-...
1
vote
0answers
12 views

How to get all attributes of a product which Start with 'wdb_' in Magento 2?

I want to get all attributes of a product which start with "wdb_" in custom tab. For this, I am getting each attribute manually. For example: wdb_carat, wdb_info, wdb_clarity etc... My Code is: ...
0
votes
2answers
51 views

Magento 2 : Can't able to override controller

I need to override this below controller : Magento\Catalog\Controller\Adminhtml\Product\Attribute\Validate.php But, I can't able to override. I need to customize checkUniqueOption() function. di....
0
votes
0answers
12 views

Magento 2: Category Pages custom sortby: getCollection()->order(…) not taking effect

So I have a bit of an issue. I am trying to create a custom sort order in the magneto 2 catalogue pages using a calculation between two price fields. I am currently editing Magento\Catalog\Block\...
0
votes
2answers
42 views

Magento 2 Get custom attribute values in phtml

I want to populate attribute(Gender) values in select dropdown on listing page. On selecting specific value of the gender attribute, the product list should be filtered. The gender attribute has 3 ...
0
votes
0answers
14 views

Magento 2.3x - Sort By Position Fallback Direction

I have a site migrated from M1 to M2 - on M1, the categories defaulted to "Best Value" for the sort order - the products within these categories commonly have mulitple instances where the position is ...
0
votes
0answers
17 views

How to create a category in Magento using SQL

My attempts at creating a category with PHP fails while flat_categories are enabled in the system. Reference here. So, I want to create a new category in Magento 2 using SQL. How would I do that?
0
votes
0answers
24 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
37 views

Override “Out Of Stock” message

Okay, I'm a dufus. I am trying to override the "Out of Stock" message displayed on the product page to "Sold Out". Currently using Magento 2.3. Create an i18n folder in my custom theme folder, en_Us....
0
votes
0answers
19 views

Display product brand in catalog grid list

I need to show the product brand in the frontend general catalog grid list. Actually it's displaying the product image above and below it the product name and price. I found the file I need to edit ...
0
votes
1answer
18 views

Create Magento 2 Bundles with different quantities of the same product

I'm currently running Magento 2.3.2. The Company I work for sells a number of products in bundles of varying quantities which we call "Stacks". For example a product can be sold in bundles of either ...
0
votes
0answers
15 views

Get current product categories of current store only in Magento 2

I made the following in Magento 1 for a multi-store website: $rootCategory = Mage::getModel('catalog/category')->load( Mage::app()->getStore()->getRootCategoryId() ); $sameStoreCategories = ...
1
vote
0answers
15 views

How to get catalog in stock on frontend?

I have done everything everyone subscribes everywhere From reindex, in stock, manage all, quantity, databases check, double check But products just don't appear on front end because it says out of ...
1
vote
0answers
17 views

Store, websites Magento 2 catalog

I'm very confused. I exported all my products and saw I have the same product in default store and "no store", I mean, my catalog have the same products twice. Not sure what it causes and how this ...
0
votes
0answers
9 views

Magento2 - Force load Product page after 'Add To Cart' is selected on Catalog page

In Magento-2.3.2, How can we always make the Product page load after 'Add To Cart' is selected on Catalog page? Thanks!
0
votes
1answer
29 views

Magento2 : Override Category List page with No dependency on Other Custom Module

I want to override category.products.list to display 1 custom attribute value to each product in list. and i know i can override product/list.phtml to my module and there i can customize code in loop ...
0
votes
0answers
28 views

Magento 2 Image Cache Files are not Updating in Product Catalog

I'm currently experiencing an intermittent issue with my product images in my installation of Magento 2.3.2. Essentially I upload a new image to replace an existing image, the image updates in the ...
0
votes
0answers
19 views

Magento2 configurable product not showing original price on list.phtml

Magento2.2.5 On a configurable product where each child product has the same special price assigned what i want is on the category listing to show the special price and then the original price ...
0
votes
0answers
29 views

Magento 2: Show price for out of stock configurable products

I have Magento 2 site with multiple store views. My requirement is that, I want to show price for out of stock configurable product price when I tried to get product id in final-price.phtml in that ...
1
vote
1answer
33 views

Unable to update or delete a product

I have several thousands of items that are currently disabled. I'm now trying to delete them via the Catalog > Products page but I get an error message for some of the products. I cannot make any ...
1
vote
1answer
46 views

Custom custom options magento 2

Looking for some advices/ideas Magento 2 offer us Custom Options in catalog section. In Backend, we can add custom options like below picture and it appear on frontend like My question is I want ...
0
votes
1answer
30 views

Magento 2 Change base image when attribute is selected on catalog page

I want to change the base image depending on the color which is selected. So if i select "Olive Green", all the products with olive color single products must change the base images to the black ...
0
votes
1answer
66 views

Magento2- How to get the price (product price+ static price) without catalog price rule applied

Magento2- How to get the product price without catalog price rule applied. I want to add an additional price percentage to all the product before the catalog rule applied. Basically what I want is : ...
1
vote
0answers
26 views

Magento 2 - Upload image file using inline edit

I am using inline edit for product grid. Now i can edit product name and other field but i cant upload any image. <editor> <editorType>text</editorType> </editor> ...
1
vote
3answers
101 views

Magento 2 - Override phtml files not working

I am working on Magento 2 and I override few PHTML files from vendor/magento/module-catalog/view/frontend/templates/product/list/items.phtml to app/design/frontend/vendor/module/Magento_Catalog/...
0
votes
0answers
20 views

Magento 2 - Add an input field for every product in product listing in admin

I want to add input field in every row for every product in product listing. How could I achieve it? Above image is from magento 1.9 and I want to do something like that. Any help is appreciated.
0
votes
2answers
107 views

Magento 2.3.0 Remove amazon pay button from different pages if current product in cart

I need to develop a feature in my custom module, I would like to hide Amazon pay button from product page, cart page, mini cart, shipping page upon condition. If the current product is in the cart ...
0
votes
0answers
24 views

How to turn on formatting

The current page formatting has been turn off. I checked the format is still present in the codes but not showing on the actual website. Please help.
3
votes
0answers
71 views

Magento 2.3 Result page blank if an item is found

I am trying to search for products on my Magento 2.3 site. When the result is empty (there are no products found) it just shows a page saying there are no products found. Perfect! But when there is a ...
0
votes
1answer
22 views

Magento 2 - Second level category has no head

I tried making a 3 layer category system as pictured below. For the category "Liquid Spice Blends" everything works well, the layout gets loaded and everything. But for the test element as shown ...
0
votes
0answers
25 views

error message not getting replace

On product page, I am doing add to cart with quantity more than the allowed in cart. Page is getting refreshed and I am seeing the error message on the page. After that I am adding single quantity and ...
0
votes
0answers
23 views

Magento 1.9 on Aruba Shared Hosting causes Execution error - PCRE limits exceeded (-8) when uploading images

I'm on a shared host, an Italian service named Aruba Business, for information to who knows it. I have a Magento 1.9.2.1 When I'm trying to upload an image, using the flash uploader, on the product ...
0
votes
0answers
23 views

Magento 2: sellrapido import product using brandsdistribution

When I try to import products from sellrapido to magento 2, it gives me this error on var/log/exeption.log: Next Exception: Report ID: webapi-5d24af47428bd; Message: Property "IsFilterableInGrid" ...
0
votes
1answer
38 views

Magento 2 admin catalog save button not working

yesterday I have imported some products in my store, today when I was trying to do some changes in product edit functionality is not working. Even the Save button is not clickable I checked logs no ...
0
votes
2answers
33 views

Magento 2 Related Product Image is not Accurate

In Related Product Slider, All Images are of different size and default Magento is not resizing them. Screenshot : https://prnt.sc/oax7yl I want to show all images of the same size. In view.xml, I ...
1
vote
0answers
13 views

Add image options programmatically in custom attribute not working

I want to add new custom option to upload image like extension : https://shop.emiprotechnologies.com/documentation/custom-option-image-for-magento-2 . So basically , i override some file to add new ...
1
vote
1answer
79 views

Magento2 get ID of product in price template default.phtml

How can I get the ID of product in Magento 2, in tempalte vendor/magento/module-catalog/view/base/templates/product/price/amount/default.phtml I copied it to my theme: /app/design/frontend/xxx/ddd/...
0
votes
0answers
65 views

Magento 2.3.1: Showing configurable products price in products grid

I'm trying to display the price of configurable products.After I imported it from a csv the price was there but if I save it the product price disappears. I would like to know how to show the price ...
6
votes
3answers
138 views

How to keep products synchronized in two shops

How can I transfer all products from one shop to another after clicking a button? We have a shop which is a copy of our real shop. We need to keep the products, prices, etc. synchronized in both ...
0
votes
2answers
29 views

Products visible only on the search page

Products are visible only on the search page, but not available on the category page. Admin products visibility on Catalog and Search: Category page screen: Category page filters show the count of ...