Tagged: woocommerce
- This topic has 6 replies, 3 voices, and was last updated 1 year, 1 month ago by
luissamfire.
-
AuthorPosts
-
January 21, 2019 at 6:59 pm #58549
gsh2000
MemberEyal hello
New Test Environment:
woocommerce 3.5.4
WP 3.5.4
GEO my WP Version 3.2.0.1
Storefront ThemeI am GEO’ing and proximity searching on woocommerce products.
All working nice with GEO my WP Version 2.7 – we are on your showcase page (Doktoroo)
Was hoping to upgrade to GEO my WP v3, and doing some testing.
GEO my WP search results “leaking” woocommerce product reviews (WP comments) on trailing post of GEO my WP v3 results list.
Have done lots of testing. This is not occurring on GEO my WP v2.7
Results Page also generating Browser Console Mixed Content (http/https) error for search-results css files… but above issue unrelated.
My test search-form/results-page here (please enter zip code 91356)
https://tinyurl.com/ya4reu57All working nice with GEO my WP Version 2.7 – we are on your showcase page (Doktoroo)
תודה
thanks – GARRYJanuary 24, 2019 at 8:21 am #58556gsh2000
MemberThis reply has been marked as private.January 28, 2019 at 9:37 am #58577gsh2000
MemberEyal hello again:
I have done further testing.
PHP v7.1.14
geomywp Version 3.2.0.2Problem occurs also on standard WP posts, not only Woocommerce products. I have searched all your support forums. I am the only person to experience this issue? Post comments of last post, trail into the results display — of a posts search form.
January 28, 2019 at 9:37 am #58578January 28, 2019 at 1:40 pm #58582Eyal Fitoussi
MemberHI Garry,
I apologize for the delayed reply.
To temporary fix ( until I release a new version ) the issue with the comments, please open the file geo-my-wp/plugins/posts-locator/includes/class-gmw-posts-locator-form.php and just below line 377, which should be:
123if ( absint( $this->form['ID'] ) === absint( $form['ID'] ) ) {remove_action( 'the_post', array( $this, 'the_post' ), 5 );}add the line:
1wp_reset_postdata();Save the file and test it.
As for the mixed content issue, I am not sure that this is a bug in the plugin. Since the plugin generates the stylesheet path using STYLESHEETPATH/get_stylesheet_directory() function which should have the correct protocol already defined.
I might be wrong and will have a better look at this, but it might also be something in the settings of your site, or maybe in the wp-config file.
Please let me know if the above solves the comments issue.
January 29, 2019 at 6:47 am #58595gsh2000
MemberEyal hi – thanks this wp_reset_postdata() has fixed the problem. 🙂
I’ll debug the mixed content issue. I think I saw some other forum posts regarding ‘broken CSS’, users unaware that Browser won’t load CSS’s due to this issue.
While I have you – I saw other customer/s also requested this. Please add to wish-list for ‘WP Users Geo-location’ add-on: The ability for WP-Admin to set User location (not just User). Will help a lot!
thanks – Garry, Los Angeles / תל אביב
January 23, 2020 at 5:15 am #59860luissamfire
MemberThis reply has been marked as private. -
AuthorPosts
You must be logged in to reply to this topic.