Questions tagged [list.phtml]

The tag has no usage guidance.

1
vote
1answer
1k views

How to Change the position of breadcrumbs in list page?

I want to display the breadcrumbs in list page alone to display inside the grid exactly just above the toolbar. So I entered this line of code: <?php echo $this->getChildHtml('breadcrumbs') ?&...
0
votes
1answer
51 views

search the text which is present in database or in template files

I want to change text in site. when i tried template path hints, it did't worked for me. the text is present in list view page, i tried in list .phtml, no luck. i searched in static blocks and cms ...
0
votes
1answer
173 views

Want to override special price end date in list.phtml

i am trying to override special price start/end date time. i have done in view.phtml, but in list.phtml it is not applied when i set special price end date in admin panel. What i did wrong. Can ...
1
vote
1answer
946 views

How to get total number of pages in list.phtml

In magento 1.9.2.3 at the category of products I have two toolbars. At top toolbar I need only "Previous" and "Next" link. At the bottom toolbar I need "Total of Pages", "1, 2, 3 ... n-th nubmer of ...
0
votes
2answers
410 views

Previous and Next Category

I have looked all over the internet but I could find only Next and Previous for products, but I want to have it at the bottom of category page where all the products (list.phtml) are listed. I have ...
2
votes
3answers
190 views

Trim product name based on manufacturer attribute

I have a shop with many SKU's. I've recently added the manufacturer name attribute (e.g. Nike) to the catalog/product/list.phtml. As a result I now have duplication as the manufacturer shows before ...
0
votes
1answer
273 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-&...
1
vote
3answers
2k views

Remove Add To Cart Button in product List page magento2 without using template file

I want to remove Add To Cart button at category page. but I don't want to use template file. I did it for product view page using event. $layout = $observer->getEvent()->getLayout(); $...
0
votes
1answer
557 views

get the html of a product as it would render in category page

I need to write a controller that get a product id and return the html that this product would generate if shown in a category page. for example: To be clear I got everything working to the point ...
6
votes
2answers
13k views

show products of a category on home page in magento 1.9.2.2

i'm getting crazy right now. I'm setting up a template and this easy thing which was done in 5 minutes took my last 3 hours. I can't figure out why this simple block thing for showing a category on ...
2
votes
2answers
303 views

Access custom_design in product list

I need to alter the display of products in catalog/product/list.phtml based on whether they have a Custom Design assigned, in Magento 1.8. I've edited custom_design in Catalog > Attributes > ...
0
votes
1answer
334 views

Out of Stock Configurable Products in list.phtml

I need to display a "sold out" text to all products in a list.phtml file... I'm using <?php if($_product->isSaleable()) : ?> and it's working great for simple products but it's not working ...
0
votes
0answers
168 views

swatches.phtml taking over list.phtml

Using the paths inspector, I realize that swatches.phtml is taking over list.phtml in our category pages, even if we have it disabled in Configuration > Settings > Catalog > Configuration Swatches (...
0
votes
1answer
861 views

Available Inventory not showing with product info

So I am trying to get the available inventory to show in the product info on the product list. So like it would have the price then Available inventory right below it. I was looking for solutions ...
4
votes
2answers
2k views

modify list.phtml to show only a limited number of products on home page

On the home page, I am trying to display70 only 6 random products on one row, from a category (id 24) that has 70 products. And randomly changed each time the page gets re-loaded. The only method ...
2
votes
2answers
661 views

new category list.phtml calling whole catalog

I am trying to create a new list.phtml for a category that has a bunch of smaller products for our store. I got everything working right, except for the fact that the list.phtml is calling my whole ...
0
votes
2answers
191 views

Home Page Product Layout

Okay so I want to be able to put multiple different types of products on my main page. I found this code {{block type="catalog/product_list" category_id="259"template="catalog/product/list.phtml"}}...
0
votes
2answers
5k views

If product has custom options, then echo out div on list.phtml

I'm fairly new to Magento and looking at PHP code is just daunting to me so I'm trying to learn by doing. I've been looking into making my own "Free Gift" label for items on my store but no extension ...
1
vote
2answers
568 views

Custom Attribute on Product Listing Magento

Greeting, Though there are several answers to this question, just need to add AttributeCode to list.phtml page. But here lies my problem i am unable to edit my list.phtml. Is there any why through ...
1
vote
1answer
504 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 ...
1
vote
0answers
323 views

Issue with implementing Ajax Buy Now button to Magento List.phtml

I am trying to add a "Buy now" button to the category page of my store. I have followed the following guide; http://www.ifuelinteractive.com/jquery-magento-and-ajax-add-to-cart-redux/ Making a few ...
0
votes
1answer
437 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
1answer
287 views

How display a carousel only on the first page of the listing of product in each category [closed]

Where you are in a category you have the list of your products. I display actually a carousel a the position of a product. But my problem i don't know how display only this carousel on the first and ...
0
votes
1answer
510 views

Magento 1.8.0.0 Shows all Product in Category regardless of limit.

I'm trying to fix some nasty thing that happened to our store. We currently using Grid only display mode. Category has 192 products and settings are these: - List Mode: Grid Only; - Products per ...
1
vote
1answer
605 views

Remove decimals list & product view

I want to remove the decimals and replace this with a symbol on the list and product view. I only want to edit those two files. I want to edit the price.phtml and I need to modify this line ...
1
vote
1answer
1k views

shuffle() full collection?

On the catalog product list view I can use shuffle() on the product collection however it only shuffles a small proportion (e.g. 10) of the full collection (hundreds). There is also infinite ajax ...
0
votes
1answer
71 views

Magento fronted “shop not available” when trying to render pagination in list.phtml

I wanted to display all products from my store on homepage, to do that I used this piece of code in my CMS Home Page item. {{block type="catalog/product_list" name="home.catalog.product.list" alias="...
12
votes
3answers
1k views

Performance: Add Inventory Stock Levels on product listings list.phtml of all product types

TL;DR, The requirement is having a stock level of inventory be displayed on the category product listing page with as little additional queries/memory with performance in mind that adheres to Magento'...