이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

WooCommerce Sort By Stock

설명

WooCommerce Sort By Stock is a relatively simple plugin. It does one thing and one thing only: allows you to sort by stock amount in WooCommerce.

Upon activation of this plugin, you will be able to sort products by the amount of stock remaining on your WooCommerce product dashboard page. Simply click on the Stock admin column to arrange by ascending or descending.

If sorting in ascending order, out of stock items will be shown first, followed by in stock but inventory not managed (no stock amount number), and finally showing in stock items which have a stock amount number, starting with 1 and increasing.

If sorting in descending order, will provide the opposite, starting with items with the largest amount of stock, moving down to out of stock.

스크린샷

  • Showing products sorted in descending order by stock amount (from greatest to least).

설치

  1. Upload the wc-sort-by-stock folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. There are no options. Just go to the Products dashboard page, click the Stock column header, and you will be able to sort by the amount of stock

FAQ

Do I need to change any settings when installing this plugin?

No. Once you activate the plugin, you’ll be able to sort by stock amount. No options or setting changes are required.

Does this change the ordering of products on the front end (what the website visitor sees)?

No. This plugin only allows you to sort by stock amount on the dashboard (backend) of your site. This will not affect your front end in any way.

후기

2024년 4월 3일
Just wanted to say that this plug-in is still working great on WP 6.5, WC 8.7.0, PHP 8.3.4 👍🏽 Thank you!
2017년 6월 3일 1 reply
Straight to the point and does literally what is says. Saved us from a major headache. Many thanks for this plugin.
모든 8 평가 읽기

기여자 & 개발자

“WooCommerce Sort By Stock”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “WooCommerce Sort By Stock”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.2.0

  • Fixed code quality to bring up to PHP style guide standards
  • used the $wpdb->prepare() method, just in case

2.1.0

  • Added fix to allow plugin to work on sites with changed database prefixes from the default
  • Added GROUPBY parameter to query to prevent duplicate product listings

2.0.0

  • Fixed an issue where products were ordered incorrectly by stock amount.

1.0.0

  • The very first version