Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
加入以下代码并启用模板的收藏功能后,即可在产品系列页面和搜索结果页面上显示收藏按钮。
<button class="multilikes-product-btn" data-multilikes-product-button data-product-id="{{ product.id }}" data-variant-id="{{ product.selected_or_first_available_variant.id }}" > 加入收藏 </button>
if (typeof window.initProductWishlist === "function") { window.initProductWishlist(); }