Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I recently downloaded a new Wishlist app and I'd like to make some changes to the page that houses the user's Wishlist but I'm not sure because the code used in their javascript is a bit foreign to me.
I'd like to be able to reproduce this code:
{{ product.description | strip_html }}
but in javascript, which is currently here.
renderProductTitle({ product, variant }) { if (!this.showProductTitle) { return; } return html` <div class="wk-product-title"> <a class="wk-text-link" href=${this.getProductUrl(product, variant)}> ${product.title} </a> <div class="wk-prod-desc">${product.description}</div> <div class="wk-tags">${product.tags}</div> </div> `; }
I don't know if I have access to the liquid features from here. Can anybody help?
Thanks in advance.
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024