Saiful Islam
Forum Replies Created
-
Hello @galbaras Yesterday, I provided that code on your thread on Github. Actually yesterday I got solution, Today I will apply on my plugin.
I just informed you over your thread.
Thanks a lot.
After submit my plugin with that solution, I will inform you.
Thanks again.Forum: Plugins
In reply to: [Quantity Plus Minus Button for WooCommerce] security vulnerabilityHello @cesarmarti and @c4concepts
I have added Nonce verification for form.
Please update your plugin.Forum: Plugins
In reply to: [Quantity Plus Minus Button for WooCommerce] security vulnerabilityToday I will check out it.
Forum: Plugins
In reply to: [Quantity Plus Minus Button for WooCommerce] security vulnerabilityThanks for informing us. We will check and fix it in next update.
ThanksThanks for informing us. Actually we coded for hide, but maybe not working for you. I will fix it and upload asap. Give me some time plz.
Forum: Plugins
In reply to: [Product Table for WooCommerce] Random order of table productsYou can use our plugin’s filter hook to customize plugin feature.
Forum: Plugins
In reply to: [Product Table for WooCommerce] Random order of table productsOh, it’s on Query tab.
Actually we are in weekend. Plz contact with our support, We will provide code snippet. ThanksIf u have code knowledge, u can use hook https://wooproducttable.com/plugin-api/wpt_query_args/
Thanks
SaifulForum: Plugins
In reply to: [Product Table for WooCommerce] Random order of table productsYes, Possible. Edit Product Table -> Option tab -> Sort -> random.
Forum: Plugins
In reply to: [Product Table for WooCommerce] Important feature ( Pro and Free )Thanks @argentum I will update description asap.
Forum: Plugins
In reply to: [Product Table for WooCommerce] snippet doesn’t workI see. Ok, I am closing this ticket.
Feel free to knock us any time.
Forum: Plugins
In reply to: [Product Table for WooCommerce] snippet doesn’t workMay, u r using any other product table plugin. Bcz our table shortcode is different as well.
Btw tomorrow I will give u full video tutorial for making custom column.
In the mean time, see article https://wooproducttable.com/docs/doc/advance-uses/how-to-add-custom-column-using-action-and-filter-hooks/
It will help u to create custom column in our table.
Forum: Plugins
In reply to: [Product Table for WooCommerce] snippet doesn’t workCan you provide your code and explain how u have added?
Plz explain detailsYou are great, Thanks a lot for your review.
Previous Code is not working for Taxonomy/Category
So use updated Code.
You also can get code from Github Gist: https://gist.github.com/codersaiful/30bac6b02636b8cda86e1e04b9dcb78aadd_filter('wcmmq_default_qty_option', '__return_true'); add_filter('wcmmq_single_product_min_max_condition', 'wcmmq_custom_default_value_enable', 10, 2); function wcmmq_custom_default_value_enable($args, $product){ if(!defined('WC_MMQ_PREFIX')) return $args; $product_id = $product->get_id(); $key = WC_MMQ_PREFIX . 'default_quantity'; $default_value = get_post_meta($product_id, $key, true); if(!empty($default_value) && is_single()){ $args['input_value'] = $default_value; } $options = WC_MMQ::getOptions(); $termwise_args = false; $term_data = $options['terms'] ?? []; foreach( $term_data as $term_key => $values ){ //thats keys of this term, already in database, jeta setting theke fix/thk kora ache $db_term_ids = array_keys($values); $product_term_ids = wp_get_post_terms( $product_id, $term_key, array( 'fields' => 'ids' )); $common_term_ids = array_intersect($db_term_ids, $product_term_ids); if( empty( $common_term_ids ) ) continue; $common_term_id = end($common_term_ids); $termwise_args = $values[$common_term_id]; break; } $default_value = $termwise_args['_default'] ?? false; if(empty($default_value)){ $options = WC_MMQ::getOptions(); $default_value = $options[$key]; } if(!empty($default_value) && is_single()){ $args['input_value'] = $default_value; } return $args; }- This reply was modified 2 years, 7 months ago by Saiful Islam. Reason: Code Update
Forum: Reviews
In reply to: [Product Table for WooCommerce] Good functionality and fast helpful supportMany many thanks for your nice review.