• Hey! the topic “Option to relocate the opt-in form at checkout page” Was already solved 10 months ago.

    The solution was the following code:

    /**
    	 * Return list of checkout fields for contact step.
    	 */
    	public function get_contact_step_display_field_ids() {
    		return apply_filters( 'fc_checkout_contact_step_field_ids', array(
    			'billing_email','kl_newsletter_checkbox'
    		) );
    	}

    that needed to be added in:

    wp-content/plugins/fluid-checkout/inc/checkout-steps.php

    How would I need to adjust this code to make it work through the functions.php, when I don’t use the app fluid checkout?

    Thank you so much for your support and (hopefully!) your answer as well.

    With kind regards
    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author klaviyo

    (@klaviyo)

    Hi Chris! Thanks for reaching out ?? Are you using any other plugins for your checkout page? The checkbox should be located below the email field if it’s an out-of-the-box WooCommerce checkout page. Please let us know!

    Regards,
    Brandon

    Thread Starter chris15326

    (@chris15326)

    Hey Brandon! Thank you so much for your quick response! ??

    Well, I’m using the normal WooCommerce Checkout, so no extra app involved currently.
    I even tried to adjust the fluid-checkout-snippet from above… but wasnt able to.

    That being said I dont understand much of the rules when it comes to php I guess thats the reason why ??

    With kind regards
    Chris

    Plugin Author klaviyo

    (@klaviyo)

    Hey Chris, thank you for confirming! I noticed that you asked a similar question in the WooCommerce forum and posted the following staging URL: https://wordpress-858200-3004984.cloudwaysapps.com/index.php/product/denim-jacket/

    Am I right to assume this is the correct URL? If so, the checkbox doesn’t seem to be one of our own. Let me know if that’s not the page I should be looking in!

    We’ll likely need to take a further look at the checkout page to get a better understanding. If you wouldn’t also mind putting in a support ticket so we can go back and forth on this, it would be appreciated. You can use this link to create a support ticket: https://help.klaviyo.com/hc/en-us/articles/115001002272-How-to-contact-support

    Regards,
    Brandon

    Thread Starter chris15326

    (@chris15326)

    Well thats one of my experimental staging versions (you know its all in the making right now and thats why klaviyo isnt active because I uninstalled it and tried another software for opt-in consent on my way to find out how to place this below the e-mail-field of the checkout) but you can use it to take a look and I will also create a support ticket!

    Actually I just reinstalled Klaviyo as well.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘relocate the opt-in form at checkout page’ is closed to new replies.