Skip to content

SKU in Recently Viewed products #114

Answered by vovayatsyuk
pk-pankaj asked this question in 1. Help
Discussion options

You must be logged in to vote

Have you tried something similar to this code in your js file:

(function () {
    'use strict';

    $.mixin('recentProducts', {
        getAdditionalContent: function (o, item, element) {
            return (item.extension_attributes?.new_one || '') + o(item, element);
        }
    });
})();

Edit: Just added an article to the docs: https://breezefront.com/docs/recent-products

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@vovayatsyuk
Comment options

Comment options

You must be logged in to vote
4 replies
@vovayatsyuk
Comment options

@pk-pankaj
Comment options

@vovayatsyuk
Comment options

Answer selected by pk-pankaj
@pk-pankaj
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants