Questions tagged [category-products]
Questions related to Category Products Management and the relation between categories and products.
534
questions
0
votes
0
answers
18
views
Magento - Product Listing Sort By not working
For reference, I am working with Magento 2.4
I have tried the solutions from other posts on this forum and online and I cannot seem to get my magento app products sorted in the order I want. I have ...
0
votes
1
answer
41
views
How to change the color of price of simple and configurable products in magento2?
I want to change the color of price of simple and configurable products on the category page.
Not on the product page.
Simple products price be blue and configurable products price be red.
0
votes
0
answers
11
views
im trying to create a dynamic category that will display all products that are on sale - included in catalog pricing rule
ive created a catalog pricing rule on some products in order to make a dynamic category that displays all items on sale, it works fine for new products but doesnt work on configurable products, to my ...
0
votes
1
answer
16
views
how to get the name of the category that the user used to add the product to the cart. Magento 1.9
I need to get at cart what category the product came from. The problem is that the product is added to several different categories, and I need the category in which the user accessed to add the ...
0
votes
1
answer
38
views
We can't find products matching the selection - M2.4.2
In my website some times category page shows "We can't find products matching the selection." When i run "indexer:reindex"
it shows
Catalog Search index exception: Could not ping ...
0
votes
0
answers
44
views
Category being assigned to configurable and simple products
We've assigned only configurable products to the categories on our site and so far, we've been having zero issues with it, since only configurable products are shown on front-end and simple products ...
1
vote
0
answers
34
views
How to add category filter with OR condition in product collection?
I'm using magento v2.4.1 and i have a custom attribute name landmark, and i want to filter a product collection using landmark attribute and category id using OR condition. Currently i'm doing it like ...
0
votes
0
answers
8
views
Customer-specific products - alternative to shared catalogues
On magento 2:
Im looking to add some products and limit them so that only specific customers can view / search / order.
We can't used the shared catalogues / customer groups function, as we are using ...
0
votes
2
answers
31
views
Products on category pages keep disappearing until reindex
The products on my website in the category achieves pages keep disappearing and I have to run indexer reindex every 24 hours or so. I tried both Reindex by schedule and Update on save but the problem ...
0
votes
1
answer
88
views
how to create or update product attribute value for specific categories? Magento 2
I created an numeric attribute, and product has assigned 2 categories (parent category and subcategory), is it possible update product attribute only for subcategory? or is it possible create custom ...
0
votes
1
answer
36
views
add salable quantity column in product in categories section
I want to add salable quantity in the product in categories section in adminside. In below image I want to add salable quantity column instead of QTY and get corresponding values.
0
votes
1
answer
40
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 ...
0
votes
1
answer
36
views
Magento 2 Admin - Base table or view not found
I have 5 different domains for a Magento 2 installation - 4 websites and 1 admin side.
I got a spontaneous exception when I'm trying to get access to an admin login form by admin URL(it was ok before, ...
0
votes
0
answers
31
views
Position column not showing for catalog => category for assigned products backend magento 2.3 EE
Hi @all, for me Position column not showing for Catalog => Categories => Products in Category for all categories for assigned products in Admin Panel.
Please help me if any idea !!
0
votes
0
answers
26
views
Adding bulk delete category products on Save
I am using Magento 2.4 enterprise edition and the Admin Products in Category Tap is using Magento visual merchandiser (Magento_VisualMerchandiser) module which removes the bulk select checkbox column ...
0
votes
1
answer
540
views
Product tabs are not showing in product detail page
product tabs are not showing on the product detail page and reviews are coming down to Description.
I had created a custom tab and this one also does not show
http://18.169.225.50/calacatta-matt-...
0
votes
1
answer
89
views
Product position in category not saved correctly
I have a strange problem in our Magento 2.4 installation.
In a product category you are able to specify the position of a given product by entering a value in the position column. This helps to ...
0
votes
1
answer
35
views
Magento2 Add Custom Sort By Option ( Special Price Low - High)
I Want to Add New Sort By Option Like (Special Price From Low To High).
Does any one know how i can do this ?
0
votes
2
answers
33
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
0
answers
84
views
Show Latest/New products first on Category Pages - Sorting Order
I want to show New product first on category pages. Right now all latest products are showing in last pages of categories. But i want to show on first page. anyone can help me on this issue. I am ...
0
votes
0
answers
14
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
0
answers
71
views
Magento Pagination Issue Magento 2.4.2
I had selected the 24 Items per page and it gives two paginations, after that when I click the 36 items per page when the pagination is 2 the page shows there is no error. How to fix this issue.
0
votes
1
answer
13
views
How to add a `from to` filter for the Products in Category grid
I extended this class: Magento\Catalog\Block\Adminhtml\Category\Tab\Produc to add another column qty. This is how I added the column:
protected function _prepareColumns()
{
parent::_prepareColumns(...
0
votes
0
answers
34
views
Add column attribute in product in category grid
I want to add a column of a newly created boolean attribute, but it doesn't work, I have read blogs where they give the same advice but it hasn't worked
I have followed the following steps:
Create ...
0
votes
0
answers
28
views
How to change the product list page to drop down refresh?
I have two themes, one for PC and one for mobile. I want to change the product list page of mobile to the dropdown refresh mode.(Slide up to the bottom automatically loads the next page) What should I ...
0
votes
2
answers
230
views
Fastest way to assign multiple products to the same category programmatically?
I am working in a process to will weekly updating a list of products and assign them to a sales category. The list could have 2000 products or more each time. Right now I am using the method ...
0
votes
0
answers
15
views
How to add product name in parent category in magento 2
i have one parent category like name is :- "test". So i want to show product name in test sub-category.Like this structure.
Test - main category
- Tops - product name
0
votes
0
answers
124
views
Magento 2: Show disabled subcategory products in parent category
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 subcategory products are not showing in the parent ...
1
vote
1
answer
102
views
Magento 2.3.5: Sorting Products with text type attribute with Flat Catalog Product Function on causes wrong sorting
I created a text type attribute called display_order with the following settings.
Catalog Input Type for Store Owner - Text Field
Used for Sorting in Product Listing - Yes
The display_order text for ...
3
votes
1
answer
218
views
Null condition present on Category Products Collection Query
Currently I am on Magento 2.4.2 which was upgraded from 2.3.0. The issue which I am facing right now is that I am not able to see any products displayed on category page.
After debugging the below ...
3
votes
0
answers
106
views
Products not appearing on category page after upgrade from 2.3.0 to 2.4.2
I have upgraded my Magento v2.3.0 to v2.4.2 running on Mysql 8. Everything went well except products not showing up on category page.
Below is the class responsible to fetch products on category page.
...
0
votes
2
answers
552
views
Sort products by In stock in magento 2.4
Can we sort products In stock only.
see the below screenshot.
0
votes
1
answer
120
views
How to manage products in category on store view Basis
I have multiple store views with same root category, also with the same categories for all the store-views. Can we add different products in a category on the basis of store view.
If not, is there any ...
1
vote
1
answer
202
views
Catalog Category permissions keeps on changing automatically in Magento 2.4.1 Enterprise Edition
We are using Magento 2.4.1 Enterprise Edition. Suddenly our built-in catalog category permissions keeps on changing automatically (category permissions are set to "Deny"). which caused PLP ...
1
vote
0
answers
35
views
Category "Match products by rule" not considering store price
We are using category "Match products by rule" option for assigning products to categories. We have multiple stores with different currencies. When we save a category at the store level ...
0
votes
1
answer
840
views
Magento 2: Sort category page collection by custom attribute
I need to sort the product collection in category page by a custom attribute inventory_status. The attribute is of type int. I need to add the sort with the existing sorting applied.
For example, if ...
0
votes
1
answer
382
views
Catalog product / Category redirecting to 404 page, Add To Cart not working
I got issue on Magento stroefront, there was no products showing on any category page. If I open any product direct and try to item to cart. Then it shows empty cart page. Admin panel working fine.
...
0
votes
1
answer
364
views
How to change the price of a product on the category page?
I am building a module for customer specific pricing. Here is psuedocode for altering the price for a specific product. This works on the product page and through the checkout journey.
$_product = $...
0
votes
0
answers
350
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
3
answers
157
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
1
answer
36
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
1
answer
106
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 ...
4
votes
0
answers
1k
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
1
answer
654
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
0
answers
708
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
2
answers
44
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
0
answers
61
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
1
answer
43
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
2
answers
33
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
1
answer
30
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="...