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 asp.textbox后台赋值前端不能显示什么原因
  • ¥15 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥15 DruidDataSource一直closing
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误