File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
view/frontend/web/internals/template/recommend Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,8 @@ define([], function () {
4
4
let correctFKey = getCookie ( 'form_key' ) ;
5
5
let action = algoliaConfig . recommend . addToCartParams . action + 'product/' + item . objectID + '/' ;
6
6
if ( correctFKey != "" && algoliaConfig . recommend . addToCartParams . formKey != correctFKey ) {
7
- config . recommend . addToCartParams . formKey = correctFKey ;
7
+ algoliaConfig . recommend . addToCartParams . formKey = correctFKey ;
8
8
}
9
- this . config = algoliaConfig ;
10
9
this . defaultIndexName = algoliaConfig . indexName + '_products' ;
11
10
return html `< div class ="product-details ">
12
11
< a class ="recommend-item product-url " href ="${ item . url } " data-objectid =${ item . objectID } data-index =${ this . defaultIndexName } >
You can’t perform that action at this time.
0 commit comments