• Resolved scoanweb

    (@scoanweb)


    Hello,

    I am getting many of these PHP Notices after checkout:

    PHP Notice: Undefined index: wooccm_tax_save_method in /wp-content/plugins/woocommerce-checkout-manager/includes/classes/main.php on line 496

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    i have the same issue.
    Notice: Undefined index: wooccm_tax_save_method in /home/—/public_html/technik/plugins/woocommerce-checkout-manager/includes/classes/main.php on line 486

    	if( !empty( $options['buttons'] ) ) {
    		foreach( $options['buttons'] as $btn ) {
    			if( !empty( $btn['tax_remove'] ) ) {
    				if( $saved['wooccm_tax_save_method'] == $btn['chosen_valt'] ) {
    					$cart->remove_taxes();
    				}
    			}
    		}
    	}

    If i understand it right the tax_remove is only for buttons… ?

    It would be grate to hear from someone something to this.

    Best
    Jan

    one step I got my self. But that seams not all.

    At first i have add an additional Textfield to enter a Vat Number (but only if the user has the right capabititys) Thats working so far now (i removed the checkbox for disabling taxes)

    Now i added a Checkbox for those customers how are allowed to pay no taxes (but only if they have an account and the right capabilitys) and enabled the checkbox for removing taxes…

    The Error comes up again… (but only as logged in user who can use the fields), if the fields are there it breaks the calculating…not good.

    @scoanweb hope this helps a little.

    best
    Jan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Notice: Undefined index: wooccm_tax_save_method’ is closed to new replies.