我的产品是大多数销售者订购的,并且具有 Woocommerce 中的内置功能。但我想把一些产品放在最上面,即使它们不是最畅销的。这可以通过一些自定义代码来完成吗?
例如,按最畅销创建自定义排序,但如果存在这些产品 ID,请将它们放在顶部吗?
要按照您的意愿安排您的产品,您可以使用以下插件:
重新排列 Woocommerce 产品
。您也可以使用 WooCommerce 设置。您可以根据需要更改菜单顺序。
路径:
Edit of any individual product → scroll down to the Product data widget → click on the Advanced tab, where you will find the Menu order for changing the order.