Linux 软件免费装

Sale price as order discount for WooCommerce

开发者 wpovernight
更新时间 2024年11月4日 17:51
捐献地址: 去捐款
PHP版本: 7.3 及以上
WordPress版本: 6.6
版权: GPLv3 or later
版权网址: 版权信息

标签

woocommerce discount sale price regular price

下载

1.1.6 1.1.7 1.1.8 1.1.9 1.0.1 1.1.3 1.0.0 1.1.1 1.1.2 1.1.4 1.1.0 1.1.5

详情介绍:

When you set a sale price for a product in WooCommerce, or when the price of a product is modified by 3rd party plugins, WooCommerce does not store this price (or discount) in the order data by default. As a result, once the order is placed, the customer doesn't see the discount they got in the email or invoice they receive, and the admin doesn't see this in the order details either. This is because WooCommerce only considers coupon discounts as discounts, whereas a change in price (a sale price or a programmatically modified price) is simply regarded as the actual price of the product. This plugin addresses that issue by copying the 'regular price' from the product data as soon as the order is created (either in the backend or via the checkout). This price is then set as the item's "pre-discount" price (leaving the actual price paid untouched). The result is that WooCommerce will show this the same way it shows coupon discounts.

常见问题:

Something is not working correctly

Please post a message to our support forum and we'll do our best to help resolve your issue!

How can I contribute to this project?

This project is hosted on github: https://github.com/wpovernight/sale-discount-for-woocommerce If you want to contribute to the code, feel free to submit a PR. You can also open issues on Github, although we encourage you to open a ticket in the support forum here on WordPress.org first if you're not absolutely sure something is a bug.

更新日志:

1.1.10 (2024-11-04) 1.1.9 (2024-10-30) 1.1.8 (2024-10-23) 1.1.7 (2024-10-14) 1.1.6 (2024-06-26) 1.1.5 (2024-03-20) 1.1.4 (2023-11-08) 1.1.3 (2023-08-09) 1.1.2 1.1.1 1.1.0 1.0.1 1.0.0