在Woocommerce中将产品描述简短描述后移动 [英] Move product description after short description in Woocommerce

查看:57
本文介绍了在Woocommerce中将产品描述简短描述后移动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了此钩子的第一个选项(其他钩子不起作用)->

I've used the first option of this hook (the other ones didn't work) -> Woocommerce Product Default Description for All Products

这就是它的样子(红色标记的文本是标准说明)

And this is how it looks (the red marked text is the standard description)

但是,我希望文本显示在产品说明之后.红色箭头在哪里,我想要标准文本.因此,在"winkelmand"中(这意味着添加到购物袋")

However, I want the text to appear after the product description. where the red arrow is, I want the standard text. So above 'in winkelmand' (which means 'add to bag')

我该如何实现?

推荐答案

那个也不适合我,所以我不断寻找并找到了那个效果很好的

That one did not work for me either, so I kept looking and found this one, which worked perfectly

//将说明移至价格低廉的WooCommerce

    function woocommerce_template_product_description() {wc_get_template( 'single-product/tabs/description.php' );}

    add_action( 'woocommerce_single_product_summary', 'woocommerce_template_product_description', 20 );

这篇关于在Woocommerce中将产品描述简短描述后移动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆