twoelevenjay
Forum Replies Created
-
Forum: Plugins
In reply to: [CMB2 Admin Extension] Please “Select” does not workWhen I create a select field it works as I would expect. Can you describe the issue you are having with more details?
Forum: Plugins
In reply to: [Discontinued Products] Product VariationVery good feature idea. I will add this, not sure how soon. Keep an eye out for an update though. Thank you.
Forum: Plugins
In reply to: [Discontinued Products] Plugin translation problemThank you for pointing this out. And thank you for your willingness to translate this. I have corrected these issues.
Forum: Plugins
In reply to: [Discontinued Products] Very minor interface issueThank you very much. Minor yes, but still very important. This has been fixed.
Forum: Plugins
In reply to: [Discontinued Products] Search no longer worksI have updated the plugin to work with current version of WordPress and WooCommerce. The alternative product search is now working. Thank you for pointing this out.
Forum: Plugins
In reply to: [Discontinued Products] Remove from Category and CartSorry for the late reply, you could do this by editing the woocommerce-discontinued-products/blob/master/includes/wc-class-dp-discontinued-product.php file. However, discontinued products are defined by meta data, meta queries can be extremely slow. You mentioned that you have 7K+ products, this would probably cause a performance issue.
If you want to change this then find the code on line 299 of woocommerce-discontinued-products/blob/master/includes/wc-class-dp-discontinued-product.php:
$query->set( 'post__not_in', $ids_to_hide );
and change it to:
$meta_query = array( array( 'key' => '_is_discontinued', 'value' => 'yes', ), // If you want to hide from shop. array( 'key' => _hide_from_shop, 'value' => 'show', 'compare' => '!=', ), // If you want to hide from search. array( 'key' => _hide_from_search, 'value' => 'show', 'compare' => '!=', ), ); $query->set( 'meta_query', $meta_query );
Forum: Plugins
In reply to: [Discontinued Products] Import via CSV?Thanks to another support topic, I realize I was missing information in my last reply:
For the sake of performance, products that should be hidden are cached in a transient. This is flushed on “save”. Once you have imported, you can simply go save a product and this should flush the cache. Alternatively you can got to WooCommerce > System Status > Tools > WC Transients > Clear transients.
Forum: Plugins
In reply to: [Discontinued Products] Remove from Category and CartThank you so much for pointing this out. I will have to mention this answer on another thread that asked how to use CSV Import Suite to set products as discontinued.
For the sake of performance, products that should be hidden are cached in a transient. This is flushed on “save”. Once you have imported, you can simply go save a product and this should flush the cache. Alternatively you can got to WooCommerce > System Status > Tools > WC Transients > Clear transients.
Forum: Plugins
In reply to: [CMB2 Admin Extension] currency symbol not replaced if set to alternativeSorry for the late reply. Thank you for pointing this out. I have just updated the plugin. Please update and test, let me know if it works.
Forum: Plugins
In reply to: [Discontinued Products] Import via CSV?Yes you can with the Woocommerce CSV Import Suite. Add a column with the header:
meta:_is_discontinued
and in the rows of discontinued products enter:
yes
If you want to add suggested alterantive products you would need to know their ID #s. That would be done with:
meta:_alt_products
and an example value is:
[92]
or:
[92,132]
https://example.211j.com/woocommerce-discontinued-products/import-csv.png
Forum: Plugins
In reply to: [CMB2 Admin Extension] website runs slow and finally quits respondingAfter activating the CMB2 plugin or after activating both the CMB2 plugin and the CMB2 Admin Extension plugin?
Forum: Plugins
In reply to: [CMB2 Admin Extension] few "bugs"2 – Upon investigating I found the date picker to work as follows:
The dropdown select field for choosing the year shows the 10 previous years and 10 years after the currently chosen year.
For example when the field loads for the first time 2016 is selected, when i click the select field to expand all options it shows 2006 – 2026. If I select 2006, let go and then click the select field again it now shows 1996 – 2016.
Forum: Plugins
In reply to: [CMB2 Admin Extension] few "bugs"1 – This was a bug, thank you for pointing it out, it was corrected in recent updates.
2 – I will investigate the scroll limitations. If I can fix it at my level I will. If this is something at the CMB2 level I will submit a pull request, and I will add the option you requested.
3 – This was a missing option which rendered any taxonomy based field useless, sorry for this and thank you for pointing it out. I have added this option in version 0.0.6.
4 – This plugin allows you to save data in a custom post type that is then used by CMB2 to generate meta boxes and custom field for your posts, pages, and custom post types. The data for a post that has been saved with the custom fields api with a CMB2 meta box will remain in the data base and still be accessible with get_post_meta ( int $post_id, string $key = ”, bool $single = false ) even after both CMB2 and this plugin are deactivated.
Custom Fields is part of WordPress core. CMB2 and this admin extension enable the use of meta boxes to create a UI for managing the data in custom fields.
Forum: Plugins
In reply to: [CMB2 Admin Extension] A couple bugsThis has been fixed thank you again.
Forum: Plugins
In reply to: [PayPal for WooCommerce] DoExpressCheckoutPayment API call failed.For the purpose of general knowledge, the second issue mentioned above was resolved on GitHub: https://github.com/angelleye/paypal-woocommerce/pull/488#issuecomment-227615386