2

I want to edit recently viewed products widget layout and override on my custom theme, but i can't reach to layout template under /vendor/magento/module-catalog/view/frontend/templates/product/widget/viewed/grid.phtml.

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
?>
<?php
/**
 * @var $block \Magento\Ui\Block\Wrapper
 */
?>
<?= /* @escapeNotVerified */ $block->renderApp([
 'widget_columns' => [
 'displayMode' => 'grid'
 ],
 'image' => [
 'imageCode' => 'recently_viewed_products_grid_content_widget'
 ]
]);

I edited before new products widget layout. How can i do with same way?

Which file need i to copy under my template folder?

asked Apr 11, 2018 at 9:55

1 Answer 1

2

the file you're looking for is probably this one:

vendor/magento/module-catalog/view/base/web/template/product/list/listing.html

But, pay attention it's a UI component so it may be used (as the file name suggest) in many other places

Rohan Hapani
17.6k9 gold badges57 silver badges99 bronze badges
answered May 8, 2018 at 14:55

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.