Questions tagged [recently-viewed]

The tag has no usage guidance.

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

Magento 2: How can I add Carousel to recently viewed products?

I want to add slider to recently viewed product section on product page. For that i tried This link But i am getting below error:
user avatar
0 votes
0 answers
21 views

How to add recently viewed product in mini cart

How to show recently viewed product in mini-cart. its showing in home page.but I couldn't find a way to place that into mini-cart.
user avatar
  • 15
0 votes
0 answers
37 views

Magento 2: How to get Get recently viewed product collection by customer id?

I'm trying to fetch all the products by customer-id for the recently viewed items, but the database table 'report_viewed_product_index' is empty but the recently viewed product is visible on the ...
user avatar
  • 60
0 votes
1 answer
116 views

Override phtml file recently viewed products in magento 2

I want to override the phtml viewed_list.phtml file but I have not had any results, the file comes from the vendor folder: /vendor/magento/module-reports/view/frontend/templates/widget/viewed/content/...
user avatar
0 votes
0 answers
74 views

Recently Viewed Widget - need product sku for image src

My product images are served from https://website-list.s3.amazonaws.com/xxxxxx.jpg where xxxxxx is the product sku. I have created a module to change the Image URL on several templates, following the ...
user avatar
0 votes
1 answer
132 views

Recently Viewed Products Block

Looking for some help with the recently viewed products block/widget in Magento2.3.2. Have tried three different approaches - creating the widget in the widget section, creating the widget as a new ...
user avatar
  • 1
0 votes
1 answer
22 views

Add Custom Value Besides Price Recently Viewed Products

Recently viewed products data is showing using Knockout, How can I add my custom dynamic value (PHP value) besides price as shown in image?
user avatar
  • 121
0 votes
0 answers
72 views

How to change Recently Viewed products price position in Magento 2

How to position change inc.vat and ex.vat in Recently Viewed Products. Please check below screen-short I want to ex.vat move first and inc.vat move second. Please Help me. THANKS.
user avatar
  • 3,247
0 votes
1 answer
403 views

Recently viewed products are empty in custom layout template in Magento2

I am loading a new template for product detail page based on the product attribute value. I have used the following code Vendor/Module/etc/events.xml <?xml version="1.0"?> <config ...
user avatar
  • 1,749
2 votes
1 answer
840 views

Magento 2.3.4: Product Views Report Not Working

I am using Magento 2.3.4, I have issue with product view reports. All reports are working well, except product view. I have checked Time Zone as well as refreshed statistics lifetime. I tried all ...
user avatar
1 vote
0 answers
44 views

Magento 2.3.5 : How to remove specific product from recently viewed product list

I have display recently viewed product slider on product page using Magento default widget. But, I want to remove product from recent viewed product collection. How to remove that? Any help would be ...
user avatar
0 votes
1 answer
318 views

Magento 2 How to extend Recently Viewed Products widget

I want to extend Recently Viewed Products widget so I can add review attribute. After creating this file: Vendor/MyModule/view/frontend/ui_component/widget_recently_viewed.xml: <listing xmlns:xsi=&...
user avatar
1 vote
1 answer
287 views

how to get configurable product price on recently viewed products in magento 2?

first one simple product it is getting discount price but configurable does not getting discount price in recently viewed product. getRegularPrice: function (row) { return row['price_info']['...
user avatar
0 votes
1 answer
54 views

how to get configurable product price in recently viewed product in Magento 2?

final_price.js to may be not loading this template how to solve it? anyne help me to find this solution <if args="isSalable($row())"> <if args="getRegularPrice($row())"&...
user avatar
0 votes
0 answers
50 views

Recently viewed products not showing old price for the Configurable product in Magento 2?

please anyone suggest me how to do this?
user avatar
0 votes
1 answer
231 views

Magento 2 - How to display recently viewed products in customer account sidebar?

Can anyone tell me how can I show a recently viewed product section in the customer account sidebar? Any help would be appreciated. Thanks in advance..!
user avatar
  • 2,172
4 votes
1 answer
755 views

How to add extra pricing data in product_data_storage?

I have added extra price in Advance pricing in Admin. Everything is working well expect the data for the Recently view products which comes from Local Storage > product_data_storage How to add that ...
user avatar
  • 7,439
0 votes
0 answers
30 views

Recently Viewed Products Items not updating for logged user

I have issues for logged in user only, if not logged in then updating properly. My code on: Magento_Theme\layout\default.xml <referenceContainer name="page.bottom.container"> <...
user avatar
1 vote
0 answers
48 views

how to show recently viewed product after main content

i am want to show recently viewed product on all pages after main content. i have added new widget from Widgets option its working fine but its showing before main content on all pages: But i am ...
user avatar
0 votes
1 answer
66 views

Magento 1 - Are recently viewed products unique to the current user only?

I've been using the recently viewed block on the majority of Magento 1 websites I've created and I always thought the recently block was unique to the current user (guest or registered). A client has ...
user avatar
1 vote
3 answers
308 views

Magento 2.3.3 : How to Overide Collect method in Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\Image

I Have created recently viewed product widget in backend category page sidebar. I have single store with multiple Currency setup when i view the product gets added to list perfectly. My problem is ...
user avatar
  • 1,724
1 vote
0 answers
54 views

magento2 recently viewed products collection is not working

I need magento2 recently viewed product collection I tried below code but not working $_recentlyViewedProductCollection = $this->reportProductViewed->getItemsCollection(); $...
user avatar
3 votes
1 answer
2k views

magento 2 add owl carousel to recently viewed products

I am trying to add owl carousel to recently viewed products in product detail page by making custom theme and creating viewed_grid.phtml in app/design/frontend/_YOUR_VENDOR_/YOUR_THEME/...
user avatar
1 vote
0 answers
66 views

Magento2 Recent product view collection only cart page return any other page not return?

<?php namespace Logicrays\ProductSlider\Block; use Magento\Catalog\Block\Product\Context; use Magento\Catalog\Model\Product\Visibility; use Magento\Catalog\Model\ResourceModel\Product\...
user avatar
0 votes
1 answer
61 views

Magento 2: display recently viewed product on product detail page

I want to display recently viewed products on the product detail page with slider.
user avatar
  • 81
0 votes
1 answer
765 views

Magento 2 how to add a widget Recently viewed products

If you have add product review and rating and approved admin side. After you have seen on recently view product.
user avatar
0 votes
0 answers
37 views

Extending Recently Viewed & Recently Compared Grids

I am struggling to extend the following two files in Magento 2.3.1 \vendor\magento\module-reports\view\frontend\templates\widget\viewed\content\viewed_grid.phtml and \vendor\magento\module-reports\...
user avatar
1 vote
1 answer
170 views

How to get Recently Viewed Product Widget without using widget or static block. Magento 2.3.1

I want to get the Recently Viewed Products without using Widget or static Block I tried this namespace PME\Hideprice\Block; class getTestingData extends \Magento\Framework\View\Element\Template { ...
user avatar
  • 1,436
3 votes
1 answer
2k views

Magento 2 - Add new attribute (delivery_time) to recently viewed widget

What files need to be changed to display additional attributes in recently view products widget? In the widget settings there is only name, price, image and learn_more available. For the product ...
user avatar
  • 131
0 votes
1 answer
753 views

recently viewed product collection is empty in magento 2

I have added a code in Magento_Catalog/layout/catalog_product_view.xml <referenceBlock name="product.info.details"> <block class="Magento\Reports\Block\Product\Widget\Viewed" name="...
user avatar
  • 1,749
0 votes
0 answers
35 views

Recent viewed product conflcit with infiniteScroll

I have installed the Infinite scroll extension On my category Listing page. I have also added the feature of recent viewed product, but it not compatible with infinite scoll. I have done the changes ...
user avatar
  • 366
1 vote
2 answers
997 views

Move recently viewed product or completely remove it

Magento has a great feature to show recently viewed product, but now I need to move this element (recently viewed product) to exactly on the top of footer. I have no clue about how to show/hide or ...
user avatar
1 vote
1 answer
98 views

Magento 2 - Recently viewed product collection from Model

Please read description carefully before marking it as duplicate I want to get recently viewed product collection from Model instead of Block I have check similar post but no one answered it ...
user avatar
  • 8,888
2 votes
2 answers
745 views

Magento 2 REST API: Create an API to fetch recently viewed products

I need to create an API for fetching all the recently viewed products. Any suggestions on how to do it?
user avatar
  • 375
0 votes
1 answer
118 views

Magento 1.9 How does Magento record "recently viewed products"?

I'm trying to diagnose an issue with the feature Recently Viewed Products. I wonder where does Magento save Recently Viewed Products information, in Database? or in Session? if the information is ...
user avatar
2 votes
1 answer
442 views

Magento 1.9 Recently viewed products not displaying

<?php echo $this->getLayout()->createBlock('reports/product_viewed')->setTemplate('reports/product_viewed.phtml')->toHtml(); ?> This code suppose to output the recently viewed ...
user avatar
1 vote
0 answers
143 views

Magento 2 - Recently viewed product not working with FPC

Magento default functionality of recently viewed product uses the following event to save viewed history catalog_controller_product_view And it stores in following tables ...
user avatar
  • 8,888
1 vote
2 answers
328 views

Get recently viewed product collection Magento 2.3.1

I have tried this but it is not working. I am getting blank array. Suggestions please, i am stuck. I want to display recently viewed product in owl carousel. But getting no products. protected $...
user avatar
0 votes
1 answer
202 views

Magento 1.9 Save recently viewed products in cookie

I need to save the recently viewed products in a cookie. The way that if there's no recently viewed products in session it reads it from the cookie. But I can't find where to find this exactly. I'm ...
user avatar
  • 801
2 votes
1 answer
650 views

How to get recently viewed product collection in observer Magento 2

I want to fetch a recently viewed products collection in the observer and by using that collection I want to add my custom product in that collection. Following Things That I Want To Achieve. On ...
user avatar
4 votes
1 answer
686 views

Creating custom widget, how to use existing block like "RECENTLY VIEWED PRODUCTS" for a custom block, so that It should support all magento themes

registration.php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Relabs_LabAPI', __DIR__ ); module.xml <...
user avatar
2 votes
0 answers
86 views

I am creating a custom widget "SPONSORED BEST SELLER PRODUCTS" block to show on home page. Bestseller.phtml file not rendering in the front end

This is my registration.php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Relabs_LabAPI', __DIR__ ); This ...
user avatar
3 votes
3 answers
675 views

Get recently viewed products excluding particular product ID in Magento 2

I need to get recently viewed products for a customer in a product view but excluding the current product the customer is viewing. I have, class Index extends Action { protected $recentlyViewed; ...
user avatar
0 votes
1 answer
421 views

Own recently viewed widget (magento 2)

I want to make own recently viewed widget, cause this standard loads items with javascirpt (I want to have items directly). So I made this code, based on other posts: namespace AA\WidgetRecently\...
user avatar
  • 121
2 votes
0 answers
200 views

How to add Swatches options to Recently viewed UI component

How to add swatches options for product item to a Recently viewed UI component? I use the following code to show recently viewed block on the page <block class="Magento\Catalog\Block\Widget\...
user avatar
  • 66
1 vote
0 answers
258 views

visitor_id null in report_viewed_product_index magento2

when visitor_id is null then recently viewed product not showing on frontend. why visitor_id saving 'null' in table?
user avatar
  • 1,175
3 votes
2 answers
4k views

Recently viewed products not showing for NOT LOGGED CUSTOMERS in magento 2

Why recently view products not showing on product view page if any customer not logged. When customer logged in their account then recently view product showing on product view page. if customers log ...
user avatar
  • 1,175
5 votes
1 answer
795 views

How to get recently viewed products by Customer Id in Model file Magento 2?

Create Recently Viewed Products for Model file in Magento 2 ?
user avatar
2 votes
5 answers
7k views

How to get recently viewed products collection of Customer Magento 2?

Magento 2 get recently viewed products collection of Customer (Using customer ID) programmatically I tried this solution But I want recently viewed products collection. I tried below solution too ...
user avatar
  • 7,439
0 votes
1 answer
233 views

Magento 2.2: How to remove add_to_wishlist button from, and add SKU view in, recently viewed products widget in module

I want a extra tab on product page with 4 previously viewed products. Besides that I want to remove "add_to_cart,add_to_compare,add_to_wishlist" buttons and add SKU attribute to recently viewed ...
user avatar
  • 13