pdh91
Forum Replies Created
-
Where to find this code @donnyoexman ?
So i found out how to handle with the multi-level checkout in germanized pro in combination with the checkbox :)!
Here´s my instruction:
go to wp-content > plugins > wp-gdpr-compliance > includes
open the file “Integration.php”
search for:
‘woocommerce_review_order_before_submit’
and replace it with:
‘woocommerce_after_checkout_billing_form’then the checkbox should appear after the billing form even in the multi-level checkout.
it works for me 🙂 hope i could help you and other user :)!
br
pascalokay!
listen up guys – i hope to present to you the reason for so many posts about missing checkboxes…many of us use the plugin “germanized (pro)” for woocommmerce.
in this plugin you have the possibility to activate a multi-level checkout (don´t know if this word exists in the english language but i hope you know what i mean)after i deactivated the multi-level checkout, the checkbox was suddenly there, after activating the multi-level checkout again, the checkbox was missing.
is there any possibility / chance to change the code, so that the checkbox would appears even if the german user activate the multi-level checkout? cause most of us need this for legal reason.
best regards,
pascal
i think the mistake is in this snippet (includes>extensions>wc.php):
/**
* Add WP GDPR field before submit button
*/
public function addField() {
$args = array(
‘type’ => ‘checkbox’,
‘class’ => array(‘wpgdprc-checkbox’),
‘label’ => Integration::getCheckboxText(self::ID),
‘required’ => true,
);
woocommerce_form_field(‘wpgdprc’, apply_filters(‘wpgdprc_woocommerce_field_args’, $args));
}/**
is there any possibility to tell the checkbox to stay under the notice´s of the customer instead of – before the submit – ? cause before the submit doesn´t work for me….
same probleme here…
if i use firebug to look for the snippet i can find
“<p class=”form-row wpgdprc-checkbox validate-required woocommerce-invalid woocommerce-invalid-required-field” id=”wpgdprc_field” data-priority=””><label class=”checkbox “>
<input type=”checkbox” class=”input-checkbox ” name=”wpgdprc” id=”wpgdprc” value=”1″> Mit der Nutzung dieses Formulars erklärst du dich mit der Speicherung und Verarbeitung deiner Daten durch diese Website einverstanden. <abbr class=”required” title=”erforderlich”>*</abbr></label></p>”I can see that it is in the wrong line, so i moved it down under
the shipping field in firebug… but if i´m looking for the snippet in the checkout.php of woocommerce, i can´t find it anywhere…. even not in the theme file.. but if i look for it through firebug i can find it normally as it would be in the normal checkout.php…