3

How do you change the related products template output. Instead select all I would like to add a "add to cart" button to all related products and remove checkboxes.

1 Answer 1

8

By default, Magento uses the same template for product related, upsell, crosssel and new products content widget. This template comes from vendor/magento/module-catalog/view/frontend/templates/product/list/items.phtml.

If we want to custom this template, we should copy it to our current theme: app/design/frontend/{Vendor Theme}/{Theme name}/Magento_Catalog/templates/product/list/items.phtml.

1
  • How can we get customtype and products in items.phtml Commented Nov 3, 2016 at 11:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.