NooTheme Premium WordPress Theme › Forums › CitiLights › Marker tot placed when paid for property
- This topic has 24 replies, 2 voices, and was last updated 3 years, 5 months ago by dangdv.
-
AuthorPosts
-
3 years, 7 months ago #1212610
Hi!
On my website when someone registers, enters a new property and the property is paid the marker on the map isn't created. Only after I go into the backend and update the property (without making changes) the marker is placed. I'll send you credentials in a new reply.
3 years, 7 months ago #1212611This reply has been marked as private.3 years, 7 months ago #1212661Hello?
3 years, 6 months ago #1212721Could you please respond?
3 years, 6 months ago #1212838Hello? My question came in 2 weeks ago. If it takes this long to respond I would like to get at least a free extension of my support term...
3 years, 6 months ago #1212944Dear, Sorry, for delay reply, after create test property on your site, I not see 'Mollie' to pay, when click 'Betaal nu' it will redirect to WooCommerce checkout and i not see 'Mollie'
Also, the property only update status when WooCommerce order is completed. If property not update, Please check order status is 'completed' or maybe that problem in payment provider. Yout can switch use other payment provider to check again.
Best regards.
3 years, 6 months ago #1212947This reply has been marked as private.3 years, 6 months ago #1212950This reply has been marked as private.3 years, 6 months ago #1212964This reply has been marked as private.3 years, 6 months ago #1212967This reply has been marked as private.3 years, 6 months ago #1212977This reply has been marked as private.3 years, 6 months ago #1212979How to login to your admin panel ? because i login then go to http://afdelingtest.nl/camping-te-koop/wp-admin but it always redirect to http://afdelingtest.nl/camping-te-koop/mijn-account/ Please check your site again.
Best regards.
3 years, 6 months ago #1212981This reply has been marked as private.3 years, 6 months ago #1212986Dear, I check again and i see that is feature to fit all properties, if you want disable it, Please go to Map setting and un-check setting 'Automatically Fit all Properties '
Best regards.
3 years, 6 months ago #1212988This reply has been marked as private.3 years, 6 months ago #1213012Yeah and that is fine, but that wasn't my question. The property shows up in the list, but the marker isn't placed on the map as you can see in the attachment. ONLY when I go to the back-end and publish again the marker is placed.
3 years, 5 months ago #1213241I've been gone for holiday 3 weeks and still no response? Come on...
3 years, 5 months ago #1213244Dear.
Sorry for delay reply. Now, i can't see your attachment to help you. Please kindly check again.best regards.
3 years, 5 months ago #1213247Because there is no attachment... I'll try to explain it again:
When a user enters AND pays for a property, the property gets the status 'betaald' (paid) and 'completed' in the backend. So that is fine. HOWEVER the marker isn't placed on the map. The property is shown in the list but there is nothing on the map.
ONLY when I go to the backend, open the property and click on 'update'. The marker is placed.
3 years, 5 months ago #1213260This reply has been marked as private.3 years, 5 months ago #1213267This reply has been marked as private.3 years, 5 months ago #1213277This reply has been marked as private.3 years, 5 months ago #1213280This reply has been marked as private.3 years, 5 months ago #1213336This reply has been marked as private.3 years, 5 months ago #1213345Dear, I check your site and i see that problem maybe in custom code ///Hide not paid properties in file functions.php of your theme.
//Hide not paid properties add_action('pre_get_posts', function(WP_Query $query){ if ( is_admin() || NooAgent::is_dashboard() ) { return; } if(re_is_property_query($query)){ $meta_query = $query->get( 'meta_query' ); if ( ! is_array( $meta_query ) ) { $meta_query = array(); } $meta_query[] = array( 'key' => '_paid_listing', 'value' => '1' ); $query->set( 'meta_query', $meta_query ); } });
If you want use custom code, You need disable functions save map markers to file at of theme. Please add custom code in to file functions.php of your theme to do it:
remove_action( 'save_post', 'noo_citilights_property_save_json', 11, 3 ); add_action('save_post', function(){ $file = noo_citilights_name_markers(); if ( file_exists( $file ) ) { @unlink($file); } },10,99);
Then check your site again.
Best regards.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.