All Questions

1
vote
1answer
59 views

Change text and Relink the “Add To Cart” button in the product list page (list.phtml)

Do you know how to Change text and Relink the "Add To Cart" button in the product list page (need to change code in the file list.phtml). In my magento server, the list.phtml file is located in the ...
2
votes
1answer
1k views

How to override price html on product list page

I am writing a custom module for magento 2 i.e "call for price" and I want to override price html on product list page. I have follow the following scenario: 1.etc/di.xml <?xml version="1.0"?...
0
votes
1answer
140 views

Check if attribute equals specific value

I want to check that a product attribute equals a specified value in the product/view/list.phtml template and if so, display some html. The current code gives no result. Can an edit be suggested to ...
1
vote
1answer
671 views

Show default additional product attributes in Category list.phtml

On the Product view page you have a default tab 'More information'. In this tab you see attributes from the default Attribute Set. I want to show those attributes on the Category list page, under the ...
0
votes
1answer
157 views

String Replace Product Name Breaks with '&' in Title

I have a string replace that removes the 'manufacturer' name from a product title. However, it does not work if the manufacturer name has an & (e.g. Dolce & Gabanna) in it. Can someone please ...