Questions tagged [list-view]

The tag has no usage guidance.

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

Products not loading on Load More in magento 2.3

The load more button is not working for loading products as shown here. https://prnt.sc/p45em5 When i click on load more it shows Loading. https://prnt.sc/p45f11 But then again it show load ...
0
votes
1answer
102 views

Magento 2 Custom Product Collection Size Problem after Removing Products from Collection

In Category list view I want to create a custom collection where some products are not shown OR the entire collection is re-sorted. To test this I created an observer for the event ...
0
votes
0answers
132 views

Magento 2 dynamic custom column in UI listing, sorting not working

I have create two columns "Sending" and "Remaining". The value of them is based on the "In stock" column. When i tried to sort the order of one of column then it doesn't work. It gives me an error. eq ...
3
votes
1answer
53 views

Error while running bin/magento setup:di:compile

After running bin/magento setup:di:compile I get the following error. Errors during compilation: Vendor\Module\Ui\Component\DataProvider\OutfitProvider Incompatible argument type: Required ...
4
votes
1answer
56 views

Add product grid in custom module using ui component

I have followed this solution Magento 2 : How to add a product grid in custom module using ui component? but i am getting this What i am doing wrong can any one help me on this. Edit Controller ...
1
vote
0answers
13 views

Open Model containing Ui Listing

I have Two tables table1 has id and other fields and table2 which has id, foreign key of table1 and other fields. I have create a ui listing for table1 and added a button to go in table2 ui listing. ...
0
votes
1answer
137 views

Get child category name and image - Magento 2.3

I'm new to magento, i like to create own module for getting child category name and image in category page. Created Vendor name as "Sub" and modulename as "Categories" app/code/Sub/Categories/View/...
0
votes
0answers
68 views

How to move add to cart at the last for each product in product list page magento 2?

How to move add to cart at the last for each product in product list page magento 2?
0
votes
0answers
17 views

Hide Column using php Class

I am having column created using UI component. Now i want this column to be hidden when certain condition is matched. <column name="qty" class="Vendor\Model\Ui\Component\Listing\Column\Temp"> ...
0
votes
0answers
43 views

Set inline edit disable for certain row

I have created Inline editing in list using ui component. The Inline editing works fine. Now i want to disable certain row base on some condition. How can i do it?
0
votes
1answer
272 views

Disable inline edit in ui listing

I have created a custom module where i add data. This data is displayed on the grid. On the grid i have enable inline editing. Now i want to disable this inline editing only when certain condition is ...
4
votes
2answers
1k views

How to customize product list page in Magento 2

I am new to Magento and want to customize the product list page. I want to add some text on the product if that product is available in more options(already configured this in admin). Something like ...
1
vote
1answer
433 views

How to show products from subcategories in a category page

I need to list products in a category page sorted by subcategory with respective subcategory name before the products. With static blocks I can display the name of the subcategory on the category page ...
2
votes
3answers
3k views

Magento2 How to Check any simple product is a child of grouped product

In a list page of Magento 2, I want to check that @ every product "Is it a child of any grouped product or not?" if yes then I want to change their URL link when I click on add-to-cart it should be ...
0
votes
1answer
73 views

How can i enable mouse scroll up/down for attribute list

How can i enable mouse rollover on attribute list for up/down list of attributes.
0
votes
3answers
116 views

How to prevent list view in catalog

I use grid view in my store, and have already removed the option to switch to list view. However, Google has indexed a large amount of list view pages and keep on sending users to this view. Is it ...
1
vote
1answer
819 views

Force List view mode (exclude Grid Mode) if mobile detected

Can somebody advise how to exclude Grid Mode category view on mobile devices? Magento 1.9.1.0
1
vote
1answer
578 views

How to add product updated date as sort order using custom extension

I want to add product updated date as sort order but I don't want to add Updated date field in product setting page which means if admin updates a product, it's edited date should be detected ...
3
votes
3answers
16k views

Getting all available category, subcategory list in magento 2

I want the replacement of the following code or similar to this code to get all category and subcategory in Magento 2. $categories = Mage::getModel('catalog/category') ->getCollection() -&...
3
votes
3answers
6k views

How to show all products on category pages in Magento 2

How to list all products on my category pages as default?
0
votes
1answer
276 views

Why? Can't call custom file phtml to list.phtml?

In controller .... $this->_initAction(); // $this->loadLayout(); $update = $this->getLayout()->getUpdate(); $update->addHandle('default'); $this-&...
6
votes
1answer
3k views

Block type in static block not working

On some of my websites I use this code: {{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}} It works fine on three ...
0
votes
1answer
490 views

Add new view mode and set it as default

I have set a new view mode on my catalog toolbar and it's work. But i would like to make it as default list view. How can I do it? I try with my local xml adding this: <catalog_category_default>...
0
votes
1answer
4k views

How to create module to show all manufacturers in front end?

I started creating a module in Magento 1.9. I have created an Index controller where I got a list of all manufacturers. How can I show this list in my theme layout, like category or product listing?
0
votes
1answer
36 views

Preliminary question on editing Grid.php in Adminhtml

I have attached a screenshot of a typical backend interface. I have three ideas of things I want to do, with the first one being the most important: turn the values into the price field into form ...
1
vote
2answers
741 views

Sorted list with alphabetical order

I have actual the follow code: <?php $parentCategory = Mage::getModel('catalog/category')->load(3); $subcategoryCollection = Mage::getModel('catalog/category') ->getCollection() ...
3
votes
1answer
410 views

small_image -> base_image possible? [closed]

i am trying to change a line of coding in my category list views... <div class="product-image"> <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo ...
1
vote
1answer
508 views

List.phtml load external file with php does not work (missing helpers)

Inside our list view I want to load an external php file. The file is displayed, but when loading the php code, the page break down. When I place the php code inside the catalog/product/list.php it ...
0
votes
1answer
440 views

magento multi store shows only place holder of product images on list view

I have setup multi-store for magento and everything works fine except the list view page, Here I get the place holder of thumbnail images and not the actual images. In between I have chosen the ...
0
votes
2answers
300 views

Display most important attribute in list view

In the list view, I want to display the 3 most important attributes of the product below the productname. What is the best way to fix this? Is there a way to highlight some attribute, so that these ...
14
votes
1answer
5k views

Catalog Search: If only one result, show product view page insted of list view

My goal is to achieve the following modification in the Magento catalog search. When I search for a product and only one product is returned in the result collection, I want to display to product ...
0
votes
1answer
145 views

ProductList.phtml split up by one category and sorted by another category

I am wanting to display products by sub categories on the list.phtml view. Currenty I have 4-5 categories where I want to be able iterate through them display their category name and then the ...
0
votes
1answer
2k views

How to remove Category name on list page? have pic

For example, the category name is SHOES, I do not want to appear on the page How to remove Category name on list page? Where can I modify? ptml??
1
vote
1answer
647 views

Cannot access custom category list mode on frontend (Grid, List, etc…)

I tried add a list_mode in magento but all that this was able to accomplish (for me, on v1.9.1.0) was appending the list in Configuration > System > Catalog > Front End > List Mode. I saved the new ...
0
votes
1answer
2k views

Check if category is child of another

I know how to check what the parent category id is, but what I am trying to do is find out if the current category is a child of a specific category, up to 2 levels deep. For example: if user is ...
0
votes
1answer
137 views

Noindex, follow all list pages

I am trying to get a No-index,follow on all List Mode pages. To index all grid pages is just fine, but i do not want all duplicated list pages to be in the search result. been playing around but not ...
0
votes
1answer
43 views

Adding a list of features to a product via the product's cms page [closed]

I want to display a list of product features on a product page via the Magento Product Information panel without using any HTML. What's the best way customize the panel to let me do what I'm showing ...
1
vote
1answer
1k views

How can products with images be displayed first in category or filter for an entire collection? (list.phtml)

Magento store owners with thousands of products will no doubt have difficulty getting images and descriptions for every single product. To try and overcome this myself, I found some code that would ...