內容簡介
Alondra 外掛讓您輕鬆設置 WooCommerce 產品的分層定價和數量折扣。透過強大的規則編輯器,您可以為用戶、角色和產品類別等定義專屬價格,迅速提升銷售。
【主要功能】
• 設定固定價格以適用於產品數量範圍
• 支援產品及其變體
• 提供符合 WordPress 設計的價格和規則管理控制台
• 定義價格應用的規則,根據特定條件啟用
• 以表格形式在產品頁面顯示價格
• 突顯當前有效價格以改善用戶體驗
外掛標籤
開發者團隊
原文外掛簡介
Alondra allows you to easily set up tiered pricing and quantity discounts to be used on your WooCommerce products. You can decide when to use the prices you define using the powerful included rules editor so you will be able to offer exclusive prices to users, roles, product categories and more.
This tool will allow you to configure the functionalities you need for your B2B/B2C, retailer, wholesaler or service provider business in a very short time to improve your sales using a friendly and intuitive interface.
Features
Set fixed prices to be used for a product quantity range.
Compatible with products and variations.
Dashboard for managing prices and rules that follows WordPress design and user experience.
Define rules to apply prices when some criteria are met. You can select one or more products, any categories, tags, users or roles.
Show product prices to customers in a table layout on the product page.
Allows customer to click on the pricing options to quickly set the quantity value to add to cart.
Highlights active price among available options for better user experience.
Overrides the default product price that is shown to customers with a value according to the active rules and prices.
Requirements
WooCommerce 10.4.0 or greater. With an older version the plugin does nothing and shows a notice in the administration area.
Multisite compatibility has not been tested.
Source code & build tools
The plugin ships the compiled assets/js/*.js and assets/css/*.css files together with the sources and tooling they are built from, so every distributed file can be reproduced:
JavaScript sources: assets/js/src/ (bundled by webpack, entry points admin.js and front.js).
Stylesheet sources: assets/css/scss/ (compiled by Dart Sass, then autoprefixed by PostCSS).
Build configuration: package.json, package-lock.json, webpack.config.js, babel.config.json, postcss.config.js.
Autoloader configuration: composer.json, composer.lock. The plugin has no runtime dependency, so Composer only generates the class autoloader.
To rebuild the assets from the plugin directory:
npm install
npm run build
npm run dev produces the same files unminified and with source maps, and `composer install` regenerates the autoloader.
Our test suites and code quality configuration are development tools rather than part of the plugin, so they are not included here. They live in the source repository together with everything above.
