当免费送货可用时隐藏所有其他运送方式 // Hide ALL shipping options when free shipping is available add_filter(...

当免费送货可用时隐藏所有其他运送方式 // Hide ALL shipping options when free shipping is available add_filter(...
替换“Free!”产品字符串 /** * WooCommerce Extra Feature * -------------------------- * * Replace "Free!" by a custom string * */...
限制运输的国家列表 /** * WooCommerce Extra Feature * -------------------------- * * Restrict shipping countries list * */ function...
移除面包屑 /** * Remove WooCommerce BreadCrumb * */ remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb',...
禁用WooCommerce选项卡 /** * Remove product tabs * */ function woo_remove_product_tab($tabs) { unset( $tabs['description'] ); //...
更改商城列数 /** * WooCommerce Extra Feature * -------------------------- * * Change product columns number on shop pages * */...
从商店页面中的特定类别中排除产品 /** * Remove products from shop page by category * */ function woo_custom_pre_get_posts_query( $q ) { if ( !...
更改相关产品数量 /** * WooCommerce Extra Feature * -------------------------- * * Change number of related products on product page *...
当使用优惠券完成新订单时,发送电子邮件 /** * WooCommerce Extra Feature * -------------------------- * * Send an email each time an order with...
CC所有电子邮件 /** * WooCommerce Extra Feature * -------------------------- * * Add another email recipient to all WooCommerce...
加入购物车后,重定向到结账页面 /** * Redirect subscription add to cart to checkout page * * @param none */ function...
重定向订阅添加到购物车到结账页面 /** * Redirect subscription add to cart to checkout page * * @param string $url */ function...
近期评论