magento2-vsbridge-indexer
magento2-vsbridge-indexer copied to clipboard
Image links in product description
Currently in the product description included images are transfered to ES with broken links:
for example:
<img src="{{media url="wysiwyg/xxxx.png"}}" alt="" width="797" height="319">
description always should be transformed and those broken URL replaced to proper magento asset paths
I'd like to add to this (rather than opening a new ticket).
- The same problem happens with {{store url="x"}}, which is not transformed
- The same problem exists for the category description wysiwyg
Also, on static blocks & cms pages, the {{store}} directive seems to be wrong and always transformed to an admin url rather than a correct store one (also with multistore). The problem there seems to be that even though emulation is used and storeid is passed to the template filter, the filter still needs a frontend url model passed, otherwise it uses the backend one. But even with that it still has issues with multistore as it then always just uses the first store and the url is only correct on one store.
Just for reference, re my earlier comment on cms & static block directives I've fixed by using a custom url model that bypasses the url caching so it works on multistore and passing the scope id to the urlmodel, which then gets passed to the templatefilter in CmsContentFilter.php