Questions tagged [category-products]

Questions related to Category Products Management and the relation between categories and products.

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

Magento 2 product collection category filter category position sort

Hi i am trying to get product collection with category filter and category position sorting but it not working i tried below way $collection = $this->_productCollectionFactory->create(); ...
0
votes
0answers
6 views

How does catalog_category_product ( Category Products ) reindexer works according to mysql in Magento 2

I want to know about catalog_category_product ( Category Products ) indexer in Magento 2 like how it will work according to mysql. Like in which table's it will enter the data then further which table ...
0
votes
3answers
33 views

Products by category are not displayed on the frontend (Magento 2.4.0)

After having made a stormy migration from magento 1.8.1.0 to Magento 2.4.0 in the backend I can see all the categories and their products, however in the frontend when selecting any of the categories ...
0
votes
0answers
11 views

Unique Products in Product Collection Filtered with Category Array in Magento 1.9

I have tried below 3 method but it is not giving correct products as per cateory id array. First Way $_productCollection = Mage::getResourceModel('catalog/product_collection') ->...
0
votes
1answer
12 views

ViewModel modification makes existing list.phtml break

I recently made a modification to catalog-category-view.xml and overrode category.products.list. It seemed to work at the time, I had badges displaying on a rendered page. Now the template file errors ...
0
votes
0answers
10 views

Magento 2 category sort in admin product add page issue

The categories are shown in the product add/edit page of the admin page is not sorted by a position as in the admin category tree. As shown above I have this type of sorting on the admin page. But as ...
2
votes
0answers
32 views

Magento 2.4 - Elastic Search Out of Stock products at end of Product Listings

I need to display Out of Stock products at end of the Listing in category page. I have overided the SetCollection method in Toolbar.php using around method(upto magento 2.3.5 without elasticsearch it ...
0
votes
0answers
23 views

Magento 1.9.4.5 - Dataflow Advanced Profiles - Add Category Names to Products Export CSV File

I have been beating my head against a wall for a few days now trying to figure out a workaround to Export all of my Products. I have around 6500 products currently and trying to use the standard ...
0
votes
0answers
12 views

I want to apply condition only on sub categories of specific Category ID

I have root category default this has sub category Shop then shop has further sub category Collection Now collection has a further sub category list Tree Structure: ROOT |-Shop |--Collection |---...
0
votes
1answer
55 views

Categories not showing products in frontend after migration from Magento 1.7.2 to 2.3.5

Just want to preface this by saying this is my first time using Magento 2 so I apologize if I'm missing something easy here; I always try all I can before reaching out as the last thing I want to do ...
0
votes
0answers
101 views

Magento 2.4 Elastic Search Categories Emptying

I have recently updated to Magento 2.4 and on my test site it works perfectly fine. However, on my production site my categories randomly empty. To fix it, I manually run the bin/magento index:reindex ...
0
votes
0answers
17 views

Magento 2.3 how to show the configurable product options as drop downs on category page

I have followed the link Magento2 + Need to display Configurable Drop Down option on category page but the dropdown are display none and are empty with no options . If any one has done this type of ...
0
votes
0answers
12 views

Magento 2.4.0 Toolbar showing wrong result after applying custom filter in *LayerPlugin

I've overridden the Layer.php file using the plugin, to show product based on Multi-source location. But now I have the wrong number of elements in the toolbar (I have 4 products displayed but still ...
0
votes
2answers
34 views

Magento 2 Image in product detail not showing

I have created many products manually and uploaded images to them, only in list is showing the image, but when I click on product to see the details it's not showing. I have run php bin/magento ...
1
vote
0answers
38 views

How to load category products in batches? Enable “Allow All Products per Page” without compromising performance

TLTR: How to load category products in batches? I want to show ALL products for a category and remove the pagination. However, that poses a huge performance concern that I need to address. Let's ...
1
vote
1answer
23 views

How to import products using csv file

I want to import all products from csv to my magento 1.9.x store so can anyone have idea so please share with me. Thanks in Advance.
0
votes
1answer
18 views

How to include js on category pages Magento 1?

Hello i am using magento 1 i am not sure how can i include the below js in magento category pages frontend. <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.css&...
0
votes
1answer
16 views

Magento-1.9: How to manage products as per my wish in owl corousel slider for my home page slider?

I'm trying to set up a category products list on my homepage following this tutorial. <div class="hide-ratting owl-top-narrow" id="featured_product"> {{block type="...
0
votes
1answer
46 views

how to use the collection walk iterator in magento2

I have 50k products in my website and want update tier price . i have existing tier price for products, but based on existing product price i need to update customer price. i have created external ...
4
votes
3answers
2k views

Magento 2.x Elasticsearch Category Products Not Showing

I tried to upgrade my Magento 2.3.5 install to Magento 2.4.0, but am unable to get category pages to display products. Everything is in Docker, so I am using Elasticsearch 7.6 and have specified ...
1
vote
0answers
341 views

catalog_product index does not exist yet. Make sure everything is reindexed

In our production site using Magento 2.3.4 and Smile-SA elasticsuite extension with elasticsuite 6.x. After manual reindex site working well. But some time shows an error. main.CRITICAL: ...
0
votes
1answer
16 views

Assign category programatically to products in Magento 2.3.4

I want to assign promo category to products which have special price. Should I create a custom module or create a php file in root directory? I found this solution: How add category programmatically ...
0
votes
1answer
32 views

There has been an error processing your request. In Maganto category 2 category section

Notice: Undefined property: Plazathemes\Override\Controller\Adminhtml\Category\Edit\Interceptor::$storeManager in /home/e7iys871maju/public_html/thehighstreet/app/code/Plazathemes/Override/Controller/...
0
votes
1answer
26 views

My magento 2.2.4 homepage loads while other pages refuses to load

When I open my magento homepage it loads successfully while catalog search, categories and product page load a http 500 error. Copy of my .htaccess files is thus; ######################################...
1
vote
1answer
45 views

Error when getBlock('category.products.list') in Observer

public function __construct( Config $pageConfig, Category $categoryHelper, UrlInterface $urlBuilder ){ $this->pageConfig = $pageConfig; $this->...
0
votes
0answers
41 views

Blank product Image on category page Magento 2

When i upload images from admin for a product of low size it give blank product image on category page but when i upload image of large size,then it shows properly ,
0
votes
1answer
49 views

Magento 2.3.5 Categories Automatically Unassigned/Removed From The Product

After upgrading to the latest Magento 2.3.5, Assigned categories have automatically removed from the product after sometime add/edit products. Example: I have assigned the following categories in one ...
1
vote
1answer
37 views

How to set a minimum qty 2 of specific category - Magento2

How to set minimum qty for specific category? For example: I have 2 categories. one - test second - test2 For test categories products : I want minimum qty should be 2. and test2 categories customer ...
1
vote
0answers
17 views

Add editable attribute column in products in category grid

I have added an extra editable attribute column in "Products in category" grid. I am using the below link to add the column. Add filtrable attribute column in products in category grid Here ...
1
vote
1answer
26 views

magento2: Category and product page not working properly - Luma Child

I've created a child theme of the Luma theme with basic theme files. I've default.xml files on the theme layout and web folder (for js and CSS). All pages are working fine but when I started adding ...
0
votes
1answer
334 views

Magento 2 - Color swatches not display in Category Page

My site in Magento 2.3.5 does not display color samples on the category page. Instead, they appear on the home page and on the product page. In the backend I set everything correctly to display the ...
0
votes
0answers
51 views

Your product selection is empty for the selected Store View

Which among you have a solution for this problem: When I add a new category, I always received the same messageYour product selection is empty for the selected Store View. If you are running a multi-...
0
votes
0answers
33 views

How to hide the products base on the category in magento 2.3

I need to hide the products based on the category. To Do : If i need to hide the products which are assigned on the particular category called Shirts, all products of this category need to hide. How ...
0
votes
1answer
13 views

Can't find category_ids in of each product in product collection

How can we include category_ids in product collection getData? Join field didn't work for me. For example, look at the below code Mage::getModel('catalog/product')->getCollection() -&...
0
votes
0answers
19 views

Show disabled subcategory's products in Parent Category page Magento 2

I'm using Magento 2.3.4 and I have an anchor parent category that has some disabled subcategories. When i disabled these subcategories, all the subcategories products are not showing in the parent ...
0
votes
0answers
18 views

How to remove Specific Category name from URL when product is load

Can it possible to Remove Specific Category from URL when Product is Load. For Example, if Category Name Like this Product Subject Presenters 1) when we click in Product Category Load all ...
0
votes
0answers
11 views

Products does not load up in slider in magento 2

i have added one slider block for product on my category page Refer : https://wazoodle01.wsisites.net/fabrics/pre-activated.html The images under Our best seller , sometime appears and sometimes not. ...
0
votes
0answers
30 views

How to get only parent product with pagination using Magento2

I need to fetch only the parent products as per category ID using magento2 end point but as per my code I am getting also the children products. I am explaining my code below. $quoteUrl ='https://...
0
votes
1answer
30 views

How to get all the products from category in magento 2

I want to get all the products from Category, and its child categories in magento 2 How can i get that? I have some products assign to main category whereas some assign to child categories. i want to ...
0
votes
1answer
63 views

Magento2 Show products from a specific category on homepage

I am trying to load a custom phtml on my homepage that would show products from a specific category within an owl carousel. My issue is I am notable to get the product listing to work. Code here ...
0
votes
0answers
13 views

Magento 2 Website has no categories

I'm doing a multi website and multi webstore Magento site. Currently I have this architecture: 5 websites, 25 webstores (5 webstores per website) and 25 storeviews (1 storeview pero webstore). Below ...
1
vote
0answers
27 views

Magento 2.3.2 - Products with same position in category sorting issue?

We recently migrated a store from M1 to M2.3 - the site has thousands of products and hundreds of categories. Within each category, there are several instances whereby more than one product has the ...
0
votes
0answers
22 views

Display products on parent category page

I'm working with Magento 1.9, I have a page of category where I show my subcategories and I choose the subcategory to see products. I want to display products that belong to the subcategory in their ...
0
votes
0answers
22 views

How to get Product Search as like category on my custom admin form in Magento 2.3.x?

I want to get the Product search and selection in my custom admin form, as like as we get product search on Admin Category Page. like below image. How could I get this in my custom admin form. Is ...
0
votes
0answers
33 views

Magento 2 multistore create products and category per store

I have this architecture in Magento 2: Websites: 5 Webstores: 25 (5 per websites) Storeviews: 25 (1 per webstore) Each webstore has it's own Root Category (category of products). I'm facing the ...
0
votes
1answer
155 views

SQL code to get the Product details with category tree heirarchy

I'm using Magento 1.9, We have a requirement to show the product details with category tree heirarchy. Have searched this in google and haven't find any answers. I have to create a report(using a BI ...
0
votes
1answer
70 views

Get list of products on current category page in custom block magento 2.3

I want to get the list of products currently visible on category page in a custom block. I tried using <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
37 views

How to add product category to page title as data attribute?

I am brand new to Magento and am a Wordpress developer and am trying to get my bearings on something that seems like it should be simple to accomplish. I am trying to simply add a data-attribute to my ...
0
votes
0answers
14 views

How to add Custom Products to specific Category at Category Edit Page? Want to save custom product collection!

Want to save custom product to Specific Categories!
1
vote
1answer
276 views

Magento 1.9 - How to write script for bulk update values in table using csv?

Try to bulk update label name in catalog_product_entity_media_gallery_value, CSV formate : Workout: <?php require_once 'app/Mage.php'; umask("0"); Mage::app(); ini_set('display_errors',"1"); ...

1
2 3 4 5
11