Mô tả
Product Total Price for WooCommerce is an addon for WooCommerce based site where visitors of your site can see the total price when they increase or decrease the quantity number.
How it works
The plugin has build based on the concept of PnP (Plug n Play). So you don’t have to worry about settings.
This plugin uses WooCommerce settings to get the pricing option, so you don’t have to worry about how the price is displayed.
Requirements
WooCommerce 3.0 or later.
Cài đặt
- Visit Plugins > Add New
- Search for “Product Total Price for WooCommerce”
- Activate “Product Total Price for WooCommerce” from your plugins page
- That’s all
Hỏi đáp
-
Why I don’t find any settings?
-
Yes! You really don’t need anything for this plugin.
-
WPML ready?
-
Yes!
-
How to change the text “Total Price” to custom?
-
You can paste this code to your current theme’s functions.php:
add_filter( 'wcptp_price_html', 'wcptp_price_html' ); function wcptp_price_html( $wcptp_price_html ) { return str_replace( 'Total Price', 'Order Total', $wcptp_price_html ); }
This is an example that will change “Total Price” to “Order Total”.
-
Will this work with other plugins of WooCommerce?
-
Yes allmost with all plugins and themes.
-
This plugin currently supports only ‘simple’ and ‘variable’ product types. Is there any way to support other product types?
-
Yes, that could be easily done by adding following code snippet to your theme’s function.php file.
add_filter( 'wcptp_allowed_product_type', function( $types ){ $types[] = 'woosb'; return $types; }, 10 );
The above code snippet will allow you to show the Total Product Price for almost any types of products.
Đánh giá
Người đóng góp & Lập trình viên
“Product Total Price for WooCommerce” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Product Total Price for WooCommerce” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.1.2
- Fully compatible with WPC Product Bundles for WooCommerce plugin as per support issue https://wordpress.org/support/topic/variable-product-bundle/
1.1.1
Release Date: September 3rd, 2021
Added below features as per request of WordPress support topic https://wordpress.org/support/topic/variable-product-price-not-changing/
Enhancements:
- Variable product support
Bug Fixes:
- Total price preview loading automatically
1.1.0
- WooCommerce missing notice added
- Tested with WP version 5.8
- Tested with WC version 5.5.2
- Code cleanup done
1.0.0
- Initial release!