recently viewed product collection is empty in magento 2Images are not loading after upgrade to Magento 2.3.0How can i rewrite TierPrice Block in Magento2Update block arguemnts in xml file (Recommended way not working)keep recently viewed products for guest usersM2 > Recently viewed cookie lifetimeOverride recently viewed widget in magento 2Magento 2: how to Get Customer Recently viewed product collectionGet recently viewed product collection Magento 2.3.1Magento 1.9 Recently viewed products not displayingMagento 2 - Recently viewed product collection from ModelMove recently viewed product or completely remove it
What did the 8086 (and 8088) do upon encountering an illegal instruction?
Was the Lonely Mountain, where Smaug lived, a volcano?
How do I properly use a function under a class?
What's the difference between DHCP and NAT? Are they mutually exclusive?
Parsing text written the millitext font
How can I find out about the game world without meta-influencing it?
Is Jesus the last Prophet?
Purpose of cylindrical attachments on Power Transmission towers
Part of my house is inexplicably gone
How to represent jealousy in a cute way?
Why is it bad to use your whole foot in rock climbing
How to import .txt file with missing data?
Why are backslashes included in this shell script?
A team managed by my peer is close to melting down
Is the first of the 10 Commandments considered a mitzvah?
Keeping track of theme when improvising
Why are ambiguous grammars bad?
Can you open the door or die? v2
Placement of positioning lights on A320 winglets
Are skill challenges an official option or homebrewed?
What publication claimed that Michael Jackson died in a nuclear holocaust?
How can religions without a hell discourage evil-doing?
Can I attach a DC blower to intake manifold of my 150CC Yamaha FZS FI engine?
Is it true that "only photographers care about noise"?
recently viewed product collection is empty in magento 2
Images are not loading after upgrade to Magento 2.3.0How can i rewrite TierPrice Block in Magento2Update block arguemnts in xml file (Recommended way not working)keep recently viewed products for guest usersM2 > Recently viewed cookie lifetimeOverride recently viewed widget in magento 2Magento 2: how to Get Customer Recently viewed product collectionGet recently viewed product collection Magento 2.3.1Magento 1.9 Recently viewed products not displayingMagento 2 - Recently viewed product collection from ModelMove recently viewed product or completely remove it
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have added a code in Magento_Catalog/layout/catalog_product_view.xml
<referenceBlock name="product.info.details">
<block class="MagentoReportsBlockProductWidgetViewed" name="recently_viewed" template="Magento_Reports::widget/viewed/content/viewed_grid.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">Recently Viewed</argument>
<argument name="sort_order" xsi:type="string">50</argument>
</arguments>
<action method="setPageSize">
<argument name="page_size" xsi:type="number">4</argument>
</action>
</block>
</referenceBlock>
The above code showing only the recently viewed tab, but products are not showing.
Here i am attaching the screenshot,
Please anyone look into it and update me. Thanks
magento2 layout collection recently-viewed
add a comment |
I have added a code in Magento_Catalog/layout/catalog_product_view.xml
<referenceBlock name="product.info.details">
<block class="MagentoReportsBlockProductWidgetViewed" name="recently_viewed" template="Magento_Reports::widget/viewed/content/viewed_grid.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">Recently Viewed</argument>
<argument name="sort_order" xsi:type="string">50</argument>
</arguments>
<action method="setPageSize">
<argument name="page_size" xsi:type="number">4</argument>
</action>
</block>
</referenceBlock>
The above code showing only the recently viewed tab, but products are not showing.
Here i am attaching the screenshot,
Please anyone look into it and update me. Thanks
magento2 layout collection recently-viewed
add a comment |
I have added a code in Magento_Catalog/layout/catalog_product_view.xml
<referenceBlock name="product.info.details">
<block class="MagentoReportsBlockProductWidgetViewed" name="recently_viewed" template="Magento_Reports::widget/viewed/content/viewed_grid.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">Recently Viewed</argument>
<argument name="sort_order" xsi:type="string">50</argument>
</arguments>
<action method="setPageSize">
<argument name="page_size" xsi:type="number">4</argument>
</action>
</block>
</referenceBlock>
The above code showing only the recently viewed tab, but products are not showing.
Here i am attaching the screenshot,
Please anyone look into it and update me. Thanks
magento2 layout collection recently-viewed
I have added a code in Magento_Catalog/layout/catalog_product_view.xml
<referenceBlock name="product.info.details">
<block class="MagentoReportsBlockProductWidgetViewed" name="recently_viewed" template="Magento_Reports::widget/viewed/content/viewed_grid.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">Recently Viewed</argument>
<argument name="sort_order" xsi:type="string">50</argument>
</arguments>
<action method="setPageSize">
<argument name="page_size" xsi:type="number">4</argument>
</action>
</block>
</referenceBlock>
The above code showing only the recently viewed tab, but products are not showing.
Here i am attaching the screenshot,
Please anyone look into it and update me. Thanks
magento2 layout collection recently-viewed
magento2 layout collection recently-viewed
asked Jun 6 at 7:17
jafar pinjarjafar pinjar
1,001419
1,001419
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Try This :-
<block class="MagentoCatalogBlockWidgetRecentlyViewed" name="recently_viewed" template="Magento_Catalog::product/widget/viewed/grid.phtml" after="-">
<arguments>
<argument name="uiComponent" xsi:type="string">widget_recently_viewed</argument>
<argument name="page_size" xsi:type="number">4</argument>
<argument name="show_attributes" xsi:type="string">name,image,price,learn_more</argument>
<argument name="show_buttons" xsi:type="string">add_to_cart,add_to_compare,add_to_wishlist</argument>
</arguments>
</block>
I am trying include this in tabs, can i use this code?
– jafar pinjar
Jun 6 at 7:36
yes you can try
– Rk Rathod
Jun 6 at 7:38
yes, this working for me, thanks, can we resize the product image there, like upsell prdoucts image size.
– jafar pinjar
Jun 6 at 7:41
please attach screen-shot
– Rk Rathod
Jun 6 at 7:49
thanks, i made it working..
– jafar pinjar
Jun 6 at 8:01
|
show 9 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f277428%2frecently-viewed-product-collection-is-empty-in-magento-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try This :-
<block class="MagentoCatalogBlockWidgetRecentlyViewed" name="recently_viewed" template="Magento_Catalog::product/widget/viewed/grid.phtml" after="-">
<arguments>
<argument name="uiComponent" xsi:type="string">widget_recently_viewed</argument>
<argument name="page_size" xsi:type="number">4</argument>
<argument name="show_attributes" xsi:type="string">name,image,price,learn_more</argument>
<argument name="show_buttons" xsi:type="string">add_to_cart,add_to_compare,add_to_wishlist</argument>
</arguments>
</block>
I am trying include this in tabs, can i use this code?
– jafar pinjar
Jun 6 at 7:36
yes you can try
– Rk Rathod
Jun 6 at 7:38
yes, this working for me, thanks, can we resize the product image there, like upsell prdoucts image size.
– jafar pinjar
Jun 6 at 7:41
please attach screen-shot
– Rk Rathod
Jun 6 at 7:49
thanks, i made it working..
– jafar pinjar
Jun 6 at 8:01
|
show 9 more comments
Try This :-
<block class="MagentoCatalogBlockWidgetRecentlyViewed" name="recently_viewed" template="Magento_Catalog::product/widget/viewed/grid.phtml" after="-">
<arguments>
<argument name="uiComponent" xsi:type="string">widget_recently_viewed</argument>
<argument name="page_size" xsi:type="number">4</argument>
<argument name="show_attributes" xsi:type="string">name,image,price,learn_more</argument>
<argument name="show_buttons" xsi:type="string">add_to_cart,add_to_compare,add_to_wishlist</argument>
</arguments>
</block>
I am trying include this in tabs, can i use this code?
– jafar pinjar
Jun 6 at 7:36
yes you can try
– Rk Rathod
Jun 6 at 7:38
yes, this working for me, thanks, can we resize the product image there, like upsell prdoucts image size.
– jafar pinjar
Jun 6 at 7:41
please attach screen-shot
– Rk Rathod
Jun 6 at 7:49
thanks, i made it working..
– jafar pinjar
Jun 6 at 8:01
|
show 9 more comments
Try This :-
<block class="MagentoCatalogBlockWidgetRecentlyViewed" name="recently_viewed" template="Magento_Catalog::product/widget/viewed/grid.phtml" after="-">
<arguments>
<argument name="uiComponent" xsi:type="string">widget_recently_viewed</argument>
<argument name="page_size" xsi:type="number">4</argument>
<argument name="show_attributes" xsi:type="string">name,image,price,learn_more</argument>
<argument name="show_buttons" xsi:type="string">add_to_cart,add_to_compare,add_to_wishlist</argument>
</arguments>
</block>
Try This :-
<block class="MagentoCatalogBlockWidgetRecentlyViewed" name="recently_viewed" template="Magento_Catalog::product/widget/viewed/grid.phtml" after="-">
<arguments>
<argument name="uiComponent" xsi:type="string">widget_recently_viewed</argument>
<argument name="page_size" xsi:type="number">4</argument>
<argument name="show_attributes" xsi:type="string">name,image,price,learn_more</argument>
<argument name="show_buttons" xsi:type="string">add_to_cart,add_to_compare,add_to_wishlist</argument>
</arguments>
</block>
edited Jun 6 at 8:06
answered Jun 6 at 7:24
Rk RathodRk Rathod
2,261315
2,261315
I am trying include this in tabs, can i use this code?
– jafar pinjar
Jun 6 at 7:36
yes you can try
– Rk Rathod
Jun 6 at 7:38
yes, this working for me, thanks, can we resize the product image there, like upsell prdoucts image size.
– jafar pinjar
Jun 6 at 7:41
please attach screen-shot
– Rk Rathod
Jun 6 at 7:49
thanks, i made it working..
– jafar pinjar
Jun 6 at 8:01
|
show 9 more comments
I am trying include this in tabs, can i use this code?
– jafar pinjar
Jun 6 at 7:36
yes you can try
– Rk Rathod
Jun 6 at 7:38
yes, this working for me, thanks, can we resize the product image there, like upsell prdoucts image size.
– jafar pinjar
Jun 6 at 7:41
please attach screen-shot
– Rk Rathod
Jun 6 at 7:49
thanks, i made it working..
– jafar pinjar
Jun 6 at 8:01
I am trying include this in tabs, can i use this code?
– jafar pinjar
Jun 6 at 7:36
I am trying include this in tabs, can i use this code?
– jafar pinjar
Jun 6 at 7:36
yes you can try
– Rk Rathod
Jun 6 at 7:38
yes you can try
– Rk Rathod
Jun 6 at 7:38
yes, this working for me, thanks, can we resize the product image there, like upsell prdoucts image size.
– jafar pinjar
Jun 6 at 7:41
yes, this working for me, thanks, can we resize the product image there, like upsell prdoucts image size.
– jafar pinjar
Jun 6 at 7:41
please attach screen-shot
– Rk Rathod
Jun 6 at 7:49
please attach screen-shot
– Rk Rathod
Jun 6 at 7:49
thanks, i made it working..
– jafar pinjar
Jun 6 at 8:01
thanks, i made it working..
– jafar pinjar
Jun 6 at 8:01
|
show 9 more comments
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f277428%2frecently-viewed-product-collection-is-empty-in-magento-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown