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

WooCommerce Fixed Quantity

설명

Sometime you need to sell fixed quantity instead of incremental quantity that supported by default by woocommerce.
So this is the right plugins for you. For example you need sell 100, 200, 300, and more quantities, and prevent user to
purchase with unlisted quantity.

This also will avoid Sale Price form in General tab, but will add the discount/specific price directly when
define fixed quantity list.

Demo Website

Sample product can be accessed at Woofix demo website

  1. Happy Ninja
  2. Woo Ninja
  3. More…

How to use

  1. When add/ edit product, make sure you have add Regular Price in general tab
  2. Go to Fixed Quantity Price and define the list of various quantity allowed

Limitations

Right now this plugins has limitations that not check Stock Qty. So when stock status is In stock or
Allowed Back Orders, the defined quantity list will shown, whatever quantity in Stock Qty.

Available Filters Hook

  1. woofix_quantity_is_not_valid
  2. woofix_product_add_to_cart_text
  3. woofix_sort_qty_data_to_show
  4. woofix_set_item_price

Available Actions Hook

  1. woofix_before_quantity_input
  2. woofix_after_quantity_input

스크린샷

  • admin global settings
  • admin product screen
  • admin product filter
  • quantity on product 1
  • quantity on product 2
  • quantity on cart
  • quantity on checkout

설치

  1. unzip downloaded woocommerce-fixed-quantity plugin
  2. upload woocommerce-fixed-quantity to the /wp-content/plugins/ directory
  3. Activate the plugin through the Plugins menu in WordPress
  4. Global settings for this plugin located at WooCommerce Settings >> Products >> Fixed Quantity

FAQ

How can I change the listbox and discount templates?
  1. copy /wp-content/plugins/woocommerce-fixed-quantity/templates/ directory to /wp-content/themes/[your-theme]/woocommerce-fixed-quantity
  2. you may modify the files inside /wp-content/themes/[your-theme]/woocommerce-fixed-quantity directory to fit your need.
How can I hide discount info both Cart and Checkout pages?

Go to global settings for this plugin located at WooCommerce Settings >> Products >> Fixed Quantity.
Uncheck Show discount info. Don’t forget to hit Save Changes button.

후기

2019년 6월 18일
Great. Just what I needed. It still has room for improvement, but this is a great and solid start. It even works with Booster’s Multi Currency right out of the box (I am using the “Prices and Currencies by Country” module – probably would have issues with manually setting each product’s price).
2019년 3월 1일
I found what I need. I set the number of my products, 2, 4, 6, 8, 10 with a single price and the plugin does everything by itself. easy, fast and without complications.
2019년 2월 2일
Great plugin! Thank! Works good. I found what I need.
모든 17 평가 읽기

기여자 & 개발자

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

기여자

자국어로 “WooCommerce Fixed Quantity”(을)를 번역하세요.

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

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

변경이력

1.0.1

  • Initial public release.
  • Add fixed quantity to product

1.0.2

  • add screenshot

1.0.3

  • link screenshot to github

1.0.5

  • automatic change fixed qty price if regular price changed
  • automatic update cart when quantity changed in cart
  • flexible item description template

1.0.6

  • fix quantity selection on cart

1.0.7

  • fix invalid price on mini cart

1.0.8

  • add support for multi currency options

1.0.9

  • add filters: woofix_quantity_is_not_valid, woofix_product_add_to_cart_text
  • add global configuration at WooCommerce Settings >> Products >> Fixed Quantity
  • add show hide discount info in global setting
  • move discount info to template

1.1.0

  • Simpilfy quantity input template

1.1.1

  • Add show/hide stock availability
  • Support for multiple user role
  • Add woofix_sort_qty_data_to_show filter

1.1.2

  • Fixing conflict with underscore

1.1.3

  • For to use woofix price when other plugin by-pass add to cart
  • Add translation files
  • fix template load error

1.1.4

  • Add support for multisite
  • Tested with wordpress 4.7

1.1.5

  • Add {discount} code templete

1.1.6

  • Add option to force add to cart as new item instead of updating existing product quantity

1.1.7

  • Fix regarding woocommerce major release 3.0

1.1.8

  • tested to WP 4.8

1.1.9

  • Fix devided by zero discount

1.2.0

  • tested up to WP 4.9

1.2.1

  • Fix for WPML multiple currency

1.2.2

  • Add polyfill for mbstring

1.2.3

  • add compatibility with WooCommerce multilanguages
  • Fix missing metaboxes

1.2.4

  • Fix missing metaboxes in admin area

1.2.5

  • Fix missing variables in admin area if not a woocommerce product

1.2.6

  • Fix missing variables in admin area if not a woocommerce product