dongwu8064 2017-04-16 16:32
浏览 116
已采纳

admin-ajax.php?action = woocommerce_feature_product 403错误

i have a wordpress with woocommerce plugin but when i trying to set featured some product on woocommerce product page that star used to set featured item show yes but in phpmyadmin there is no change on _featured of the item i use firefox inspect element in the network tap when i click on star buttom i got 302 error on:"wp-admin/admin-ajax.php?action=woocommerce_feature_product&product_id=74&_wpnonce=2bd42dcb1e" i disable all other plugins and there is no change in functions.php of my theme i realy dont know why this happen befor the woocommerce major update(ver 3) every thing is ok but after that i cant featured some item. my woocommerce ver: 3.0.3 my wordpress ver: 4.7.3

  • 写回答

1条回答 默认 最新

  • duanreng3439 2017-04-17 03:38
    关注

    From WooCommerce v3.0 featured items are not tracked by meta any more they are now Taxonomy. That's why you don't see the featured meta getting updated.

    Featured products are also using the new product_visibility taxonomy instead of meta which improves queries on those.

    Read the blog here

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

    报告相同问题?

    悬赏问题

    • ¥15 yolov8 如何调cfg参数
    • ¥15 这个四人抢答器代码哪儿有问题?仿真程序怎么写?
    • ¥15 burpsuite密码爆破
    • ¥15 关于#ubuntu#的问题,如何解决?(相关搜索:移动硬盘)
    • ¥15 scikit安装之后import不了
    • ¥15 Ros2编译一个使用opencv的c++节点的时候,报了这个错误,请问怎么解决啊
    • ¥15 人脸识别相关算法 YOLO,AI等
    • ¥15 spark问题方便加V17675797079
    • ¥15 Python代码不打印的原因
    • ¥20 微软SEAL库的安装和使用,VS2022环境配置问题