Simple wordpress php code

Đã Đóng Đã đăng vào 2 năm trước Thanh toán khi bàn giao
Đã Đóng Thanh toán khi bàn giao

Hello, I have a website(link to be shared in DM)

I need to add a simple validation code on woocommere checkout page.

I have a field which is using an appointment calendar. This field needs be compulsory before Place Order button can be pressed. I am using a plugin called WooCommerce Checkout Field Editor(paid plugin), the appointment plugin is Wappointment(Paid).

need to add a validation rule if the customer books an appointment only then can be place an order for other item.

I have a piece a code.

add_action('woocommerce_checkout_process', 'misha_check_if_selected');

function misha_check_if_selected() {

// you can add any custom validations here

if ( empty( $_POST['paragraph-7259099911'] ) )

wc_add_notice( 'Please book your appointment', 'error' );

}

PHP WordPress WooCommerce HTML JavaScript

ID dự án: #31598995

Về dự án

10 đề xuất Dự án từ xa 2 năm trước đang mở

10 freelancer chào giá trung bình₹1450 cho công việc này

gobyweb2

Hello, I have read your description and I can rectify the code and add the code to add the validation. Share your website. I have 7 years of PHP, Mysql, Java, Wordpress, Flutter, Phython experience, contact me for Thêm

₹1050 INR trong 7 ngày
(303 Nhận xét)
8.0
vipworks

Hello, I can help you implementing the above mentioned PHP code in your WordPress website. Please share logins and URL and I will start RIGHT AWAY. Regards, Pooja

₹1500 INR trong 1 ngày
(234 Nhận xét)
6.5
joomd

Hello, I will code right now. I am an expert in both design and development. I will do all the work according to your requirements. I have developed many websites with a dashboard and admin panel. I will do this one as Thêm

₹3000 INR trong 1 ngày
(138 Nhận xét)
6.4
JinPatel

Hello Do you want to build a wordpress site?? I have a 7+ years of work experience with website design and Development field. MY SKILLS Web Design - HTML,CSS, Javascript, JQuery,Bootstarp - Vue.js Back-End Developm Thêm

₹1050 INR trong 7 ngày
(0 Nhận xét)
0.0