最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

wordpress - Woocommerce Composite Products – Show short description under component title - Stack Overflow

programmeradmin2浏览0评论

I'm using the WooCommerce Composite Products add-on and would like to display the short description of each product under the product title within the Thumbnail layout of the component options.

I found out that the relevant template for rendering the thumbnail options is located in single-product/js/options-thumbnails.php.

However, modifying this file does not affect the frontend. I'm guessing the product data passed to the frontend would also need to be extended to include the short description in the first place.

Has anyone done something similar or found a way to inject additional product data into the component options for custom rendering?

发布评论

评论列表(0)

  1. 暂无评论