Forums
(@devfenstru)
7 years, 10 months ago
OMG! Fixed by removing custom theme support woocoommerce
add_action( 'after_setup_theme', 'woocommerce_support' ); function woocommerce_support() { add_theme_support( 'woocommerce' ); }
8 years, 3 months ago
[RESOLVE ANSWER] [THIS IS THE SOLUTION]
Problem is resolved.
You can access $_POST in woocommerce_before_calculate_totals action.
woocommerce_before_calculate_totals
You did not understand me. I need to transform simple product to a variable just adding the price via my script. That is not a problem. The problem is that i need to acess the $_POST fields in WC hook woocommerce_before_calculate_totals
8 years, 4 months ago
Can you tell me, what sku is?