There is a new comment on the support ticket in the WPC Fly Cart category from Dains N.. Here's what they said:
Hi Roman,
Please add the custom code below in your child theme.
function wpc_custom_link_checkout($checkout_url) { if (!is_user_logged_in()) { $checkout_url = wc_get_account_endpoint_url('dashboard'); } return $checkout_url;
}
add_filter( 'woocommerce_get_checkout_url', 'wpc_custom_link_checkout', 1, 1 );
Hello, great, everything is working. But if I don't leave the site and want to make another purchase, it asks me to log in again. Is there any way to fix this?
I am very happy to see you again. I do not understand your request. You are not logged in yet so that function still exists. Once successfully logged in, the checkout button will directly to the checkout page.
There is a new comment on the support ticket in the WPC Fly Cart category from Dains N.. Here's what they said:
Hi Roman,
Please add the custom code below in your child theme.
Hello, great, everything is working. But if I don't leave the site and want to make another purchase, it asks me to log in again. Is there any way to fix this?
Hi Roman,
Thank you for contacting WPClever Support Forum. We've had a short vacation so today I am able to reach back to you.
I have assigned your ticket to Dains again to help you with that.
He’ll be looking into your question and responding with specific instructions as soon as possible.
Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.
Best regards.
Janilyn T. - WPClever Support Agent
Hi Roman,
I am very happy to see you again. I do not understand your request. You are not logged in yet so that function still exists. Once successfully logged in, the checkout button will directly to the checkout page.
Best Regards,