pevank Posted June 22, 2017 Share Posted June 22, 2017 (edited) Hello, I want to put html-code in the product description like this: <div id="mts-e429c3a1-0bf2-450c-8397-4804cbc4438f"></div> <script> (function() { var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//www.mytemplatestorage.com/wp-content/themes/mts3/js/widget-generator/dist/widget/widget.min.js'; s.onload = function () { var w = new MTSWidget.widget('//www.mytemplatestorage.com',{ uid: 'mts-e429c3a1-0bf2-450c-8397-4804cbc4438f', affid: 'xxxxxx', "language": 'en', "title": 'Woocommerce templates juwelier', "type": ["61529"], "category": ["50351"], "popularity": '120823', "cols": '2', "rows": '2', "showPrice": '0', "rangeOf": '50', "size": 'medium-size', "paddings": '5', "margins": '5', "showTmLogo": '1', "showTemplateTitle": '1', "showTemplateTypeLogo": '1' }); w.create (); }; var h = document.getElementsByTagName('script')[0]; h.parentNode.insertBefore(s, h); })(); </script> What must i do to get this working?? Winkelinstellingen => Algemeen Iframes toestaan = Ja Gebruik htmlpurifier bibl = nee Peter Edited June 22, 2017 by pevank (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now