Wordpress saving the location user selected in the google map
$10-30 USD
Completed
Posted almost 4 years ago
$10-30 USD
Paid on delivery
Greetings i need help in this wordpress project
am using WPform plugin to receive forms from the customer and i made hidden field to take longitude and latitude from google map
i added a google map with marker so the customer can choose location
i did it before in wooCommerce it was working fine this was my code
add_action('woocommerce_checkout_create_order', 'save_gmap_location_field_to_order_meta_data', 20, 2 );
function save_gmap_location_field_to_order_meta_data( $order, $data ) {
$order->update_meta_data( "address_gmap_location", esc_attr( $_POST["locgmap"] ) );
}
add_action('woocommerce_admin_order_data_after_billing_address','display_gmap_location_field_in_admin_order', 20, 1);
function display_gmap_location_field_in_admin_order( $order ){
$location = get_post_meta($order->get_id(), 'address_gmap_location', true );
echo '<p><strong>'.__("location"). ':</strong> ' . $location . '</p>';
}
i just need someone to help me with this the location is passed by $_POST["locgmap"]
i need code to put in my [login to view URL] to put the location in the hidden filed for WPforms plugin
Hi sir,
I am Ajay Yadav and full-time freelancer work individually. I have 9+ year of experience in PHP and Wordpress , Laravel development , Html ,CSS, jQuery,Photoshop . I have handle all hosting and Cpanel also i have handle AWS and cloud-server I have done the following skill that suited me the best candidate for your job. API Create and integrate .
I am very good Knowledge to convet HTML to Wordpress Theme . So i requested please Contact me over chat . you also Check my review
https://www.freelancer.in/u/ajay144
Thanks
Ajay
$30 USD in 1 day
5.0
(14 reviews)
4.5
4.5
5 freelancers are bidding on average $68 USD for this job
Hi there!
I have read your project of Wordpress saving the location user selected in the google map.
I am a top freelancer and I will do it in a professional way!
I will use
PHP
JavaScript
WordPress
HTML
WooCommerce
WAITING FOR YOU IN CHAT BOX
Saadi.