Skip to main content

Questions tagged [category-listing]

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

How to Show Certain Category at Multiple Places

I have ecommerce website, developed in Magento 2. I want to show or call certain category at multiple places. Example: Grouts is subcategory and URL is https://xyzabc.co.uk/categories/grouts.html. I ...
Hitesh Royal's user avatar
0 votes
2 answers
31 views

Adding anything after category page URL needs to be ignored

I want to change behavior of Magento Category page URL. For example, if the category page URL is https://magento246p4-beta.com/gear/bags, I want to ensure that any additional text after "bags/&...
Tejas Vyas's user avatar
0 votes
0 answers
12 views

How to show tier price catalog category view page in configurable product option select simple product in magento 2.4

To display tier prices for configurable products in Magento 2.4, you need to make sure that when a simple product (child product) is selected from the configurable product options, the tier prices for ...
Ravindrasinh Zala's user avatar
0 votes
0 answers
29 views

Magento 2: How to sort the attribute based on attribute label?

I have created a custom product attribute with drop-down option and added that attribute in schema.graphqls file but when checking the sorting is happening based on attribute option value not based on ...
MagentoDev's user avatar
0 votes
0 answers
32 views

How to add custom filter on category Page in Magento246

Magento246 how to add custom filter with options on category listing page. Like...https://prnt.sc/7ZtTc1kGqVJR
Keval Chauhan's user avatar
0 votes
1 answer
193 views

Add custom category filter in PLP page in Magento 2.4

I am trying to add the custom category filter in the PLP page in the site in Magento 2.4. Currently, the category filter is coming in the layered navigation, but the same thing we want in the top of ...
Mitul Vadalia's user avatar
0 votes
0 answers
288 views

Added custom field/attribute to magento 2 pageBuilder all content types but the attribute is not displaying on frontend html

I extended magento 2 pageBuilder media content types (image, banner, slide, slider etc..). So if I add any value in that custom field that will be displaying on frontend CMS (home) page correctly but ...
shankar boss's user avatar
  • 1,463
0 votes
0 answers
19 views

Product list pagination not working correctly for category with over 50 products

I have a multistore with 4 stores. Three of the 4 are working correctly as they have under 50 products in the specific category. The one with more than 50, shows next page after the final product, and ...
Marie's user avatar
  • 1
0 votes
1 answer
39 views

Display Out of Stock Products crash

I have Issue Display Out of Stock Products when enabled. Some link category menu are crashed. Deprecated Functionality: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is ...
Roberto Salvatore Di Giorgio's user avatar
0 votes
1 answer
33 views

Static Block in Product Grid with Load More

We want to add a static block to some of our category pages that will take up the first two spots in the product grid. It would look like this finished: For testing purposes, I've just added a ...
cjochum's user avatar
  • 131
4 votes
1 answer
5k views

Uncaught TypeError: url.indexOf is not a function

After Magento Upgrade in latest version product list page showing this error, please suggest me what we can take step to solve this error. jquery.js:10363 Uncaught TypeError: url.indexOf is not a ...
Aashutosh Kumar's user avatar
2 votes
1 answer
136 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'?...
Mohamed Abbas's user avatar
1 vote
0 answers
148 views

Magento 2 Add custom products to product collection on catalog page - pagination not working

I need to add some custom products to category pages. Just to test this I've created twenty dummy products based on the last product in the category list. In ListProduct.php - ...
Doodled's user avatar
  • 21
1 vote
1 answer
39 views

Sorting Families on Plp

First product list A1, A2,A3 Product Family A Second product list B1,B2,B3 Product Family B It shows on PLP such as in this way; Family A Title Family A description A1 A2 A3 Family B Title Family B ...
user109253's user avatar
0 votes
1 answer
308 views

How to move toolbar in left sidebar

Anyone have any idea about How to move toolbar in left sidebar in magento2 category page using XML?
varun's user avatar
  • 1
1 vote
1 answer
96 views

Issue with category and brand listing

I'm facing an issue with Magento 2.4.x, the website is hosted on managed magento server. I'm facing issues with reindex even after reindexing all of the manufacturers are not listing on the front-end, ...
Sandeep Nair's user avatar
0 votes
0 answers
160 views

Magento 2: Product's Layered Navigation Filter DIsplay Type API

I am working on Rest API. I want a product filter type (checkbox, multiple selections,yes/no) so that mobile filters can be shown based on that. For example on website filters showing like this : How ...
Krupali's user avatar
  • 1,150
0 votes
2 answers
41 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 ...
Infinri's user avatar
  • 131
0 votes
1 answer
671 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, ...
Anass Hl's user avatar
0 votes
1 answer
380 views

How can i move Strategery InfiniteScroll "Load More" button?

I installed Strategery InfiniteScroll to my Magento 2 project. The plugin provides an option to display a "load more" btn at the bottom of the listing page. However there's a problem. The ...
Annak942's user avatar
0 votes
1 answer
62 views

sub-category with photos in magento2

I would like to create a sub-category with photos on my site. How could you do that? As on the example pages and screenshot. https://www.moebel.de/wohnen https://www.home24.de/wohn-accessoires/
tricksi's user avatar
  • 45
0 votes
1 answer
50 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 ...
Bilal Amjad's user avatar
1 vote
1 answer
789 views

How can I display the categories and subcategories in my admin form like in the product page?

I am trying to add the categories and subcategories in a small panel Exactly like the one in the product panel and I want to add it in here instead of this XML field like the "toOptionArray"...
Zyzzx's user avatar
  • 81
0 votes
1 answer
2k views

How to get product collection total with pagination in magento 2

I have implemented pagination with limit & offset but when I am fetching the collection total after applying multiple filters then it's giving the wrong total count. $layer = $...
Jitendra Patel's user avatar
0 votes
1 answer
193 views

Magento2: Get Category list by using admin Authentication Token?

I want to get Category list by authorization bearer key by helper function. I have created custom api module and created helper Data.php and created function for getting generated bearer key. public ...
Ravi Varma's user avatar
0 votes
0 answers
55 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 ...
Bob's user avatar
  • 15
0 votes
2 answers
851 views

Product name on multiple lines

I am using Magento 2.4.2 and the latest porto theme and i would line the product name to be listed on 2 lines and then if still longer then show an ellipsis. I would like to do this anywhere where i ...
Alex Smith's user avatar
0 votes
1 answer
228 views

Magento 2: Product listing page event

So I want to update the price of a specific products in product listing page programatically. To update, I created product attribute and I would like to take that value and update the price in an ...
Shivani Singh's user avatar
2 votes
0 answers
187 views

Uncaught TypeError: $(...).AddFotoramaVideoEvents is not a function magento 2.3.6

I am facing this uncaught type error in swatch-renderer.js on listing page in magento 2.3.6 Till now i have tried 2 solutions but no luck: 1: added following lines catalog_category_view.xml <...
Umair Nasir Ahmad's user avatar
0 votes
1 answer
606 views

Repeat a product on category listing page after list of 9 Products

I have a scenario, i want to list a marketing/ads product on interval of 9 product on category listing page. So every 10th number of product is a marketing/ads product. For example i add following ...
Raghwendra Ojha's user avatar
2 votes
1 answer
84 views

Product are not displaying on Category page after Data Migration

main.CRITICAL: { "error": { "root_cause": [ { "type": "illegal_argument_exception", "reason": "Text fields are not ...
Richa Shah's user avatar
0 votes
1 answer
105 views

CATEGORY filter appearing two times

In Layered navigation There are two filters of same name appearing two times how can I remove the above one: We want to remove the first CATEGORY FILTER AND make the second to be displayed only?
Anonymous Record's user avatar
0 votes
1 answer
985 views

Magento 2 - Category List Sort by Position with Sub Category Not Working

A little background, I'm trying to do a custom Category listing, but at the moment it seems the Category not being sort as I seen on Admin. Here's the code that I've done so far $current_store ...
wandyyd's user avatar
1 vote
0 answers
2k views

Magento 2: Disabled products are still visible in Frontend

I have disabled the product from admin panel but still the product are visible in the frontend. Expectation: Product should not visible in frontend when disabled it via admin. Actual Result: Products ...
MagentoDev's user avatar
1 vote
1 answer
335 views

Magento 2 how to remove Category name With ID

here am using Magento 2.3 here category displaying category with its ID, How to Hide or Remove these Ids. Can I get help? thank you in advance.
Praveen Negimani's user avatar
0 votes
4 answers
1k views

Magento 2 Categorty page blank with following error

Magento 2 Categorty page blank with following error Fatal error: Uncaught Error: Cannot instantiate interface Magento\InventorySalesApi\Api\StockResolverInterface in /var/www/vhosts/blueridge.co.uk/...
OneBelowZero's user avatar
0 votes
0 answers
46 views

Magento2 - Controller creates duplicate categories

I am creating a custom module to get categories and regarding products from API and uploading them to the site. After creating a controller for Categories, in the backend, there are duplicate ...
karanrp's user avatar
  • 121
0 votes
1 answer
37 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; ######################################...
devmike's user avatar
0 votes
1 answer
71 views

Display Sub Categories list on a Category Page in Magento 2.3

How To Display Sub Categories list on a Category Page in Magento 2.3 root_catalog |-First |-Shoes |-T-shirts |-Brands |-Demo |-Test
Ravindrasinh Zala's user avatar
1 vote
2 answers
2k views

Magento 2.3 sort categories alphabetically

I want to sort the categories in a Magento 2.3.1 install in alphabetical order (on the frontend!). I'm aware of the fact that you can sort it by dragging it in the Magento admin panel. But since the ...
MartinE's user avatar
  • 520
0 votes
1 answer
152 views

Unable to sort PLP with Configurable products based on discount (special_price)

I have configurable products in my PLP and I want to sort with "special_price" attribute. I edited the special_price attribute from admin and allowed it to be sortable in storefront. But I ...
Narendra Vyas's user avatar
0 votes
1 answer
847 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 ...
Linu's user avatar
  • 51
0 votes
3 answers
104 views

Get Magento product from url key

I want to get product details from url key. Is there a way to get product details from url_key, I am new to Magento and could not find any such way, please help I tried below code but it is not ...
user1799722's user avatar
1 vote
3 answers
3k views

How to change layout of all category in magento to 1 column

i have about 100 catgory in admin, is there way to change layout of all catgory to 1column i can do it from backend,but doing one by one will take too much time, is there way to do it quickly i ...
user1799722's user avatar
0 votes
1 answer
1k views

Magento 2.3 getResource is deprecated, what is the alternative?

I have a product attribute label get in category page below way. <?php $tablecolor = $_product->getResource()->getAttribute('xyz'); // attribute name $attrTestValue = $tablecolor->...
Rakesh Donga's user avatar
  • 5,394
0 votes
0 answers
115 views

How to get top 3 most purchased category list in magento 2?

There are modules that get top best selling products list but I want to get the topmost purchased categories list instead of products. Please help me with this. Is there any free module available? ...
Kowsigan Atsayam's user avatar
2 votes
3 answers
5k views

We can't find products matching the selection in magento 2.3

On every listing page, I'm getting We can't find products matching the selection. I followed this also but dint helped We can't find products matching the selection. I'm attaching a screenshot for ...
AjayKr's user avatar
  • 145
1 vote
1 answer
305 views

Magento 2.3 After changing product all categories are unassigned

I have a problem with Magento 2.3.3. We have a lot of normal products and also use Group and Bundle products. All products are assign to a category (or multiply categories) and also displayed in ...
Beendeluxe's user avatar
1 vote
0 answers
234 views

show loader after every category on home page in magento2 [closed]

On my home page I am showing all products with its categories once on page load. But i wanted to do like for after scrolling down ,after each category product list before next category I wanted to ...
Maruti_magento2's user avatar
0 votes
1 answer
464 views

Magento 2: Setting div position on category page

<div class="alocolumns clearfix"> <div class="column main"></div> <div class="sidebar sidebar-main"></div> </div> I need this way <div class="...
Rahul Singh's user avatar
  • 1,650