Linux 软件免费装
Banner图

Stock Locations for WooCommerce

开发者 alexmigf
fahadmahmood
invoicepress
更新时间 2024年10月23日 01:07
PHP版本: 7.2 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce variable products stock simple product stock locations

下载

2.7.0 2.5.4 1.4.2 2.7.1 2.7.2 1.9.2 2.1.9 2.6.2 2.7.3 2.0.8 1.2.1 1.4.0 2.4.1 2.6.9 2.7.4 1.4.1 1.5.1 1.5.3 1.5.4 1.1.3 1.7.2 2.1.0 1.6.1 1.6.3 1.6.6 1.6.7 1.6.8 2.2.2 2.3.6 2.3.7 2.3.8 2.3.9 1.7.6 1.7.7 1.9.6 1.8.0 1.8.1 1.8.2 1.8.3 1.6.4 1.8.5 1.5.0 1.5.8 1.6.0 1.6.2 1.7.0 1.8.4 1.8.9 1.5.7 2.0.7 1.5.2 1.5.6 1.8.7 2.2.1 2.2.5 2.6.6 1.1.5 1.2.3 1.9.9 2.1.2 2.1.6 1.0.3 1.7.1 1.8.6 2.1.4 2.2.3 2.2.9 2.3.0 2.3.1 2.3.2 2.2.6 2.4.3 2.4.8 1.8.8 1.9.7 1.9.8 1.3.1 1.5.9 1.9.3 2.0.0 2.0.1 2.0.2 1.7.3 1.7.9 2.1.8 2.6.4 2.6.7 1.0.0 1.1.4 1.2.4 1.4.4 1.4.5 1.6.9 2.0.4 2.0.6 2.1.1 2.1.5 2.2.4 2.2.7 2.2.8 2.3.3 2.3.4 2.4.2 2.4.5 2.4.6 1.0.1 1.5.5 1.7.4 1.9.0 2.0.3 2.0.5 2.2.0 2.4.0 2.4.4 2.4.7 2.4.9 2.5.0 2.5.1 2.5.2 1.3.2 1.9.5 1.1.0 1.2.0 1.4.3 1.7.5 2.0.9 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 1.1.2 1.7.8 1.9.4 2.1.7 2.6.0 2.6.1 1.0.2 1.1.1 1.2.2 1.3.0 1.6.5 1.9.1 2.1.3 2.3.5 2.5.3 2.6.3 2.6.5 2.6.8

详情介绍:

Stock Locations for WooCommerce will help you manage your products stock across multiple locations easily. If you have multiple physical stores or storage locations, like warehouses, this plugin may help you. You can print the locations inside a product page on the frontend, with this shortcodes: Product pages [slw_product_locations show_qty="yes" show_stock_status="no" show_empty_stock="yes" collapsed="no" stock_location_status="enabled"] [slw_product_variations_locations show_qty="yes" show_stock_status="no" show_empty_stock="yes" collapsed="yes" stock_location_status="all|disabled|enabled"] [slw_product_message is_available="yes" only_location_available="no" location="location-slug"]Your custom product message/HTML here[/slw_product_message] Cart page [slw_cart_message qty_from_location="location-slug" only_location_available="no"]Your custom cart message/HTML here[/slw_cart_message] REST API REST API endpoints (both accept GET and PUT requests): /wp-json/wc/v3/products/id /wp-json/wc/v3/products/id/variations/id (first ID is for parent product, the second one for the variation ID) /wp-json/wp/v2/location/ /wp-json/wp/v2/location/id This plugin requires at least WooCommerce 3.4. Features Compatibility

安装:

  1. Upload "stock-locations-for-woocommerce" to the "/wp-content/plugins/" directory.
  2. Check if you have WooCommerce 3.4+ plugin activated
  3. Activate SLW plugin through the "Plugins" menu in WordPress.
Simple Products
  1. Assign Stock Locations to the product > Update Post
  2. Under Inventory Tab > Activate Manage Stock
  3. Under Stock Locations Tab > Manage the stock for the locations
Variable Products
  1. Assign Stock Locations to the product > Update Post
  2. Under Inventory Tab > Deativate Manage Stock
  3. Under Attributes Tab > Create attributes
  4. Under Variations Tab > Create variations based on attributes
  5. In each variation > Activate Manage Stock & Add Price > Update Post
  6. Under Stock Locations Tab > Manage the stock for the locations for each variation

屏幕截图:

  • Stock locations taxonomy
  • Manage stock locations in simple products
  • Manage stock locations in variable products
  • Deduct stock from locations manually
  • Deduct stock from location automatically
  • Allow customers to select locations in cart page
  • Allow customers to select location in variable products
  • Allow customers to select location in simple products
  • Plugin settings
  • Show location stock quantity with a postfix e.g. 20+
  • Edit Stock locations taxonomy
  • Lock default location on frontend.
  • Set price for product as per each stock location.
  • Pre-select default location on product page (frontend).
  • Stock locations for each variation.
  • How to allow editing location values on orders after being reduced?

常见问题:

Stock Locations | Stock Deductions | Settings and Results

👉 1. How auto order allocation work with multiple stock locations? [youtube http://www.youtube.com/watch?v=0UbAPmZ2Kco] 👉 2. How location priority work with auto order stock allocation? [youtube http://www.youtube.com/watch?v=9kGVJZNNxRk] 👉 3. What if all of my locations don't have the sufficient stock ordered? If order quantity is within the summation of all stock locations available stock quantity, it will be simply served. If not, auto allocation will not work so admin can decide if he want to deliver the order partially or wait for stock comes in. [youtube http://www.youtube.com/watch?v=4NXYr24OKFg] 👉 4. How location email works? [youtube http://www.youtube.com/watch?v=zdCdckXEbNw] 👉 5. Do you want to sell products from only one stock location? [youtube http://www.youtube.com/watch?v=rznc0WMbmh4] [youtube http://www.youtube.com/watch?v=7ZIv_d7prLA] 👉 6. How to make location selection required on cart page? [youtube http://www.youtube.com/watch?v=64N7-b90r3E] 👉 7. How does it manage the maximum qty. to order according to the stock in a location? [youtube http://www.youtube.com/watch?v=gmU3cnk0LjY] 👉 8. How to allow editing location values on orders after being reduced? https://github.com/fahadmahmood8/stock-locations-for-woocommerce/issues/90 [youtube http://www.youtube.com/watch?v=Q1Lq-cbv2hE]

How Import/Export work with CSV files?

[youtube http://www.youtube.com/watch?v=4KCexCuVetk]

How to use Cron Job?

[youtube http://www.youtube.com/watch?v=si_DUe-8ncY&t=114s]

How to use REST API?

[youtube http://www.youtube.com/watch?v=si_DUe-8ncY]

How Google Map and Location Archives work in Premium Version?

[youtube http://www.youtube.com/watch?v=ZgmNWuKFyQI]

How to lock pre-selected location on frontend?

Turn ON "Enable default location in frontend selection" from WooCommerce > Stock Locations for WC. This option will allow you to select default location for a product on Product Edit page. Now turn ON "Lock frontend location to default" and it will lock frontend location which is selected as default.

I found a bug, where I can report it?

I prefer you to use the Github issues. You can submit a new one here GitHub

How to show location stock quantity with a postfix e.g. 20+?

On settings page you can define a number. If location stock value will be less than the given number, it will display the stock value else will not show the exact number but a plus sign "+" just after the maximum number given. [youtube http://www.youtube.com/watch?v=nWj5MTLcPjI]

更新日志:

2.7.5 Fix: when metadata is missing for a stock location quantity is an empty string instead of 0 and $remainingQty - '' is causing this error. https://github.com/fahadmahmood8/stock-locations-for-woocommerce/issues/161 [Thanks to @pintend][22/10/2024] 2.7.4 2.7.3 2.7.2 Fix: PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given. [Thanks to @araundu][12/06/2024] 2.7.1 2.7.0 2.6.9 2.6.8 2.6.7 2.6.6 2.6.5 2.6.5 2.6.4 2.6.3 2.6.2 2.6.1 2.6.0 2.5.9 2.5.8 2.5.7 2.5.6 2.5.5 2.5.4 2.5.3 2.5.2 2.5.1 2.5.0 2.4.9 2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 2.3.9 2.3.8 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 2.2.7 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 2.2.1 2.2.0 2.1.9 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.9 2.0.8 2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.9.9 1.9.8 1.9.7 1.9.6 1.9.5 1.9.4 1.9.3 1.9.2 1.9.1 1.9.0 1.8.9 1.8.8 1.8.7 1.8.6 1.8.5 1.8.4 1.8.3 1.8.2 1.8.1 1.8.0 1.7.9 1.7.8 1.7.7 1.7.6 1.7.5 1.7.4 1.7.3 1.7.2 1.7.1 1.7.0 1.6.9 1.6.8 1.6.7 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.9 1.5.8 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.2 1.3.1 1.3.0 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.3 1.0.2 1.0.1 1.0.0