artiosmedia
Forum Replies Created
-
Forum: Plugins
In reply to: [Product Code for WooCommerce] REST API@agustinfiori As an update, the product code is a meta value in products and can be retrieved when retrieving a product through the REST API request, and can be modified as well through the API using this endpoint. See the following link for usage guidance if needed: https://woocommerce.github.io/woocommerce-rest-api-docs/#products.
Thank you!
Forum: Plugins
In reply to: [Product Code for WooCommerce] REST APISorry for the delay. I am no longer getting notifications of support questions from www.remarpro.com. The plugin would have to be coded to hook into WooCommerce REST API to retrieve product response.
Forum: Plugins
In reply to: [Product Code for WooCommerce] WPML compatible?Sorry for the delay. I am no longer getting notifications of support questions from www.remarpro.com. Yes, it is compatible with WPML.
Forum: Plugins
In reply to: [Product Code for WooCommerce] Change ‘Product Code’ LabelHello,
Such a request is outside the scope of this plugins default functions. You would require a snippet to modify the field label. I haven’t tested the below, but something like the following would need pasted into your child’s theme functions.php file.
//Change Product Code for Woocommerce Field Label function wc_product_code_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Product Code' : $translated_text = __( 'Product Location', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'wc_product_code_strings', 20, 3 );
You would need to refer to a developer to assure proper coding for your installation. Such customizations are not part of the plugin’s native functions.
Hope this helps! Please leave a feedback if the plugin is helping out!
Forum: Plugins
In reply to: [Limit Comments and Word Count] multiple rolesThe plugin only works with an isolated definition per user. If you have more than one role created per user, the plugin cannot isolate the definitions, therefore will not work properly. Apparently this is a unique challenge with Ultimate Member.
You would have to get with the developers at Advanced Order Export For WooCommerce to map the field “_product_code”. All the Product Code plugin does is provide a custom field as a plugin instead as a function.php snippet. An export module would need to be able to map a ‘postmeta’ table. Thanks!
Forum: Plugins
In reply to: [Product Code for WooCommerce] Product code in Google MerchantHello, Sorry, I don’t get any email notices from WordPress, so didn’t see this inquiry.
I can’t speak for all the Feed Managers, and we can’t possibly assure compatibility with every feed manager, but the properly built ones find the field correctly.
I suggest using YITH Google Product Feed for WooCommerce Premium. It too has it’s shortcomings, but mostly a solid build. The custom field appears as “Product Id [id]” without any effort. Right on top.
Thanks for using the plugin!
We will review this post again when updates are required. Right now they are not, but I understand what you are seeking. Thanks!
Forum: Plugins
In reply to: [Product Code for WooCommerce] Product Code as Search CriteriaI am going to do more research on this, to hopefully modify the Gist code to specifically include the data table “_product_code” where the Gist snippet nor the search add-ons like SearchWP and Relevanssi cannot acknowledge nor index the custom field, even though the custom field data is selectable. Something is not quite right with the plugins code, where it is not correlating with any custom field snippets or add-ons. The plugin needs adjusted to work in unison with the two above mentioned plugins at minimum, but at least specifically with the Gist snippet.
Forum: Plugins
In reply to: [Product Code for WooCommerce] Product Code as Search CriteriaThe results may not be consistent since it is a generic search. SearchWP might be more applicable, but it has not been tested.
- This reply was modified 5 years, 8 months ago by artiosmedia.
Forum: Plugins
In reply to: [Product Code for WooCommerce] Product Code as Search CriteriaGreetings,
The ‘postmeta’ table is where all the custom field data is stored in the database. By default, the WordPress search functionality is set to search the ‘posts’ table only. In order to include the custom fields data in our search, we need to perform a left join on the ‘posts’ and ‘postmeta’ tables in the database and modify the WordPress search query to include custom fields. Finally, we need to add the DISTINCT keyword to the SQL query in order to prevent returning duplicates.
Paste the following into your WordPress child theme’s functions.php. Remove the starting ‘<?php’ if you have other code already active in that file. https://gist.github.com/Artiosmedia/4b0d065bc033885d2b44bbefcdfb6f17
Once installed, cache purged and browser reloaded, try to search a unique Product Code entered from the WordPress default search.
No developer that provides plugins shares their personal emails or provides private support outside of this provision unless it is a per pay plugin.
Hello.
Above the title of the product? You mean from the users side? I would need to see a screen capture along with the name and version of the theme being used. Then would need to know if you are using the default theme, or using the theme’s Child Theme with function.php customizations. An improperly added Child Theme modification could cause incorrect page results.
The plugin itself is coded to appear above the SKU below the ADD TO CARD button, based on the criteria set forth by Automattic for third party add-on developers. If you are using a self-compiled theme or a theme that does not hold to WooCommerce developer requirements, I suppose it could should up at random anywhere on a noncompliant theme.
Thanks.
The plugin functions are self-explanatory. There is an option to set Comment Frequency to One Day, One Week or One Month. There is no setting for a designated number of hours. Therefore the shortest frequency that can be set is for one day which equals 24 hours. This is the normal standard.
This is a free plugin. No one is donating therefore no efforts will be made to make modifications, only to keep it working properly. A donation of $200 USD would motivate adjustments, where that is about would cost to convert the three limits to hours.
Most your questions require you to play with the settings and logically figure out how to use them. The limit cannot be set to one post, but is inclusive to all posts if that post type selected. There is no reset because a reset is not needed.
I cannot replicate your blank page problem. I can modify any entry and never encounter a blank page. There must be a conflict with one of your other installed plugins, where this plugin operates predictably under multiple installations. Disable all your plugins but “Limit Comments and Word Count” and test.
One day, one week and one month is the only time limit capability, it was designed for a client and shared as is, no warranties or guarantees implied. Sorry if it doesn’t work for your needs. With no donations being made, there is no funding to hire a developer to create, edit or work with extensive modifications. Thanks!