Description
Product Total Price for WooCommerce এটি একটি এডঅন প্লাগইন যেখানে আপনার ওয়েব সাইটের ভিজিটর পণ্যের পরিমান বাড়ানো বা কমার সাথে সাথে পণ্যের মোট পরিবর্তিত মূল্য দেখতে পাবে।
এটি কিভাবে কাজ করে
এই প্লাগইনটিকে পিএনপি বা প্লাগ এন প্লে এই ধারণার উপর নির্ভর করে বানানো হয়েছে। কাজেই আপনার এই প্লাগইনের সেটিংস নিয়ে চিন্তিত হবার দরকার নেই।
এই প্লাগইন এ উকমার্সের বেসিক সেটিংস ব্যবহার করা হয়েছে। কাজেই আপনার চিন্তিত হবার কোনো কারন নেই যে কিভাবে পণ্যের মূল্য দেখানো হবে।
প্রয়োজনীয়তা
উকমার্স ৩.০ অথবা পরবর্তী ভার্শন
Installation
- ভিজিট প্লাগইনস > নতুন যোগ করুন
- “Product Total Price for WooCommerce” লিখে সার্চ করুন
- আপনার প্লাগইন পেজ থেকে “Product Total Price for WooCommerce” এই প্লাগইনটি সক্রিয় করুন
- তাহলে এই পর্যন্তই।
FAQ
-
আমি কেন এই প্লাগিনের কোন সেটিংস খুঁজে পাচ্ছি না?
-
জ্বী! প্রকৃতপক্ষে আপনার এই প্লাগিনের জন্য কোনো কিছুই করার দরকার হবে না।
-
Is there any shortcode?
-
Yes! Here is the shortcode
[WOO-TOTAL-PRICE] -
Is there any way to hide or relocate default total price text?
-
Yes! There is an filter hook called
wcptp_custom_location_by_action_hook.
This filter hook returns array of action hooks. By adding or removing hook you can easily control the location. Also you can display product total price text in multiple location by add your desired location hooks.
Example:add_filter( 'wcptp_custom_location_by_action_hook', function( $hooks ){ $hooks[] = 'your_new_location_hook'; return $hooks; } ); -
Can I hide this Product Total Price text based of any custom condition?
-
Yes! There also a filter hook called
wcptp_any_other_condition.
This filter hook return true. You can disable or hide Product Total Price text by simply returning false based on any condition.Exxample:
add_filter( 'wcptp_any_other_condition', function( $bool, $product, $allowed_product_types ){ if( condition == true ) { return false; } else { return true; } }, 3, 10 ); -
এটি কি WPML এর জন্য প্রস্তুত?
-
হ্যা!
-
কিভাবে “Total Price” লেখাটি পরিবর্তন করে অন্য কোনো লেখা দেখানো যায়?
-
আপনি এই কোড আপনার সাইটের এ্যক্টিভ থিমের 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 ); }উদাহরণস্বরুপ এটি “Total Price” কে “Order Total” এ পরিবর্তন করবে।
-
এই প্লাগিনটি কি উকমার্সের অন্যান্য প্লাগিনের সাথে কাজ করবে?
-
হ্যা বলা যায় সকল প্লাগিন এবং থীম।
-
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.
-
How to show prefix and suffix text of Total Price?
-
To show text as prefix and suffix of total price there are 02 filters. Use these filters to display your desired text.
apply_filters( 'wcptp_prefix', __return_false() ); apply_filters( 'wcptp_suffix', __return_false() );Example:
add_filter( 'wcptp_suffix', function(){ return "(excl. VAT)"; });
Reviews
ডেভেলপার এবং কন্ট্রিবিউটর
“Product Total Price for WooCommerce” is open source software. The following people have contributed to this plugin.
কন্ট্রিবিউটরTranslate “Product Total Price for WooCommerce” into your language.
ডেভেলপমেন্ট এ আগ্রহী?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.4
- Added shortcode [WOO-TOTAL-PRICE]
- Added 2 new filter hook
- Elementor supported by adding shortcode
1.1.3
- Added new filters to display prefix and suffix
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/
সংযোজনসমূহঃ
- Variable product support
সমস্যার সমাধানসমূহঃ
- 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!

