badjesus
Forum Replies Created
-
For now, to get around this, I just created a new custom field, and I am dynamically populating this with just the post_object custom fields post_title
So when a post is saved, if it is a product, and if we have the custom field “brand” populated, then we grab the $post->post_title and we use that to populate a new field called “brand_name” and now my search settings in your plugin is also set to search this new custom field (“brand_name”). Now it is working to search the brand but I have to update every product to save this field.
I am not sure what you are asking.
If you are asking if I am doing something custom, I am not.
I am talking about the standard WordPress SLUG and NAME that is in the post object data.
Every post in WordPress has a SLUG (the end URL that is used)
Every post has a NAME (the title of the post).When you grab a post object, there are many meta data fields.
The search is ONLY showing results when we enter the search string as the ID.
But no users on the planet is going to search for an ID. They are going to search to try and match the POST NAME.I am not sure what you want a screenshot of.
You can see the site at https://vossity.com
The custom field is selected properly. It works to search the custom field, it just doesn’t search through the post object meta data properly.
For example, do a search for ” evolvh ”
You will see the brand come up, which is a Custom Post Type and it is searching by the post name, and then you see ONE product show up that has the brand in it’s text and none of the other products show up.Now, do a search for ” 5524 ” which is the ID of the brand (custom post type) named “evolvh”
You will see that now ALL of the other products show up because it is searching that custom field [brand] which is applied to WooCommerce products, but it is ONLY searching by the ID, and not any other meta data such as [name].
I know it is using the custom field, because when I remove the custom field from the search in your menu (same menu as your screenshot above), I can’t find these products by searching “5524” anymore. So that means that when doing the search for the custom post type it is matching on the ID but it is not matching on the NAME or SLUG.
The custom field on the Woocommerce Products is an Advanced Custom Fields, field called “Relationship” which ties to the post object for the custom post type of “Brand”.
https://www.advancedcustomfields.com/resources/relationship/
There are two ways to control the output of the custom field data through ACF. One is to grab the WordPress post object, and the other is to grab just the ID. I am grabbing the whole post object so that we can get the slug or name, etc.
@smindworkz has the appropriate fix. I just corrected the three files and everything is now working again on the site. The function just needs to be es6 compliant.
I have this EXACT same issue. We are absolutely calling a new version of Jquery as it is required for a lot of other plugins. We are using the latest stable build of Jquery.
Can you let us know what the latest stable version of Jquery is, that your plugin has been tested with?
- This reply was modified 5 months, 1 week ago by badjesus.
Forum: Plugins
In reply to: [Site Reviews] Image Upload of ReviewWe weren’t thinking of forcing that.
But if need be, we could.Forum: Plugins
In reply to: [JC Submenu] No effect on menusI also am not seeing anything populate on the front after update. I am using Genesis with a custom bootstrap4 theme. Pretty basic as far as NAV goes.
Forum: Plugins
In reply to: [Age Gate] Feature RequestsI would love to have this store in a log file, what users have filled out. Doesn’t need to track IP or anything like that. Just the fields that were filled out and the time.
Right now, I just have a custom form up to do this but I would love to use this plugin for future builds instead of trying to maintain my own on dozens of sites.
Ideally as well, extra custom fields. Or integration with other popular form builders like Gravity or Formidable.
Forum: Plugins
In reply to: [WooCommerce] Random (wrong) proucts per page (even with 2017 theme)I found the issue. This post : https://wordpress.org/support/topic/26-update-product-column-display-is-wrongwrong-number-of-products-shown/
Led me to look at the stock file for WooCommerce (/plugins/woocommerce/content-product.php) and I see that there is a line of code stating to pull images with post-thumbnails. So then I went into the products and saw that the site has tonnes of products not set up correctly that are published. I started to remove them and as I did, the problem was resolving more and more with every product I removed.
So Pagination (I am assuming is a theme controlled walker) and it was counting ALL products. But when they were being displayed, it would not display the ones that were missing featured images. Hence, the random ones missing.
Just wanted to update in case anyone else runs into this issue.
Forum: Plugins
In reply to: [WooCommerce] Random (wrong) proucts per page (even with 2017 theme)Sorry, forgot to set it to notify me of results so adding this 🙂
Awesome to hear @danieliser
Great response, great plugin and great support!
I am assuming the answer is no or else you would have added it, but is there an ETA for this option?
I am not too familiar with Go, or whether or not most hosts will support it, especially when trying to implement with WordPress as a universal plugin, but this is definitely interesting : http://engineroom.teamwork.com/how-to-securely-provide-a-zip-download-of-a-s3-file-bundle/
PHPstream seems like it would be effective also, and then just have a cleanup utility or cron to delete rogue zip files every night as the Zip files would still be stored on your wordpress server to my understanding.
The beauty with the Go solution, if it can work within wordpress on most server hosts, is that the Admin side from wordpress would be very simple with basically just adding the AWS api keys and location.
Well yeah, I am using your extension. I am not using a different plugin.
I filled out the support request on your website.
Mailchimp support is saying it is how the call is being done to their webservice. It is just injecting the names, not allowing for confirmations nor welcome emails. It is just a raw injection into the list.
Forum: Plugins
In reply to: [Yasr - Yet Another Stars Rating] Shortcode in functions.phpI am having this exact same issue actually.
I need to be able to add it into my custom loop but echo do_shortcode is not working with any of the shortcodes. So I was trying to call the function direct, and did an echo shortcode_overall_rating_callback($atts) with still nothing showing.If you have a fix for this, or a way to insert direct with a function as opposed to a shortcode I will gladly pay for the pro version for multi sites!
So far this plugin is awesome and has saved me a lot of time, but I need to get this one part to work.
Forum: Plugins
In reply to: [ACF: Star Rating Field] Header ErrorThank you, the error is gone with the new version but in ACF I am also not seeing the Star Field option anymore 🙂