tst2016
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Crowdfunding] Get the Fatal ErrorHello Fahim,
The plugin version is 11.0.6. I have already deactivated all the plugins except Woocommerce and WP Crowdfunding but the issue is still there.
- This reply was modified 6 years, 5 months ago by tst2016.
Forum: Plugins
In reply to: [Simple Job Board] Resume not openingHello,
Thank you for your information.
I have another query that can i add password field on the form for when submitted the form that user also register automatically.
Please give your suggestion.
Forum: Plugins
In reply to: [WooCommerce] woocommerce_before_calculate_totals not working properlyThanks Mike,
So i need to use woocommerce_cart_calculate_fees instead of woocommerce_before_calculate_totals.
function calculate_gift_wrap_fee( $cart_object ) {
/* Gift wrap price */
$additionalPrice = 100;
foreach ( $cart_object->cart_contents as $key => $value ) {
if( isset( $value[“gift_wrap_fee”] ) ) {
$orgPrice = floatval( $value[‘data’]->price );
$value[‘data’]->price = ( $orgPrice + $additionalPrice );
}
}
}
add_action( ‘woocommerce_cart_calculate_fees’, ‘calculate_gift_wrap_fee’, 99 );Forum: Plugins
In reply to: [WooCommerce] woocommerce_before_calculate_totals not working properlyHello Mike,
Thank you
Basically my code is working fine if the customer is not creating his account in same process but additional percentage add twice if the customer is creating his account in same process. That is the issue.
Forum: Fixing WordPress
In reply to: woocommerce_before_calculate_totals not working properlyOk Tara
Thankyou