Saiful Islam
Forum Replies Created
-
Hello @cesarmarti and @c4concepts
I have added Nonce verification for form.
Please update your plugin.Today I will check out it.
Thanks 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.
You can use our plugin’s filter hook to customize plugin feature.
Oh, 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
SaifulYes, Possible. Edit Product Table -> Option tab -> Sort -> random.
Thanks @argentum I will update description asap.
I see. Ok, I am closing this ticket.
Feel free to knock us any time.
May, 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.
Can 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 1 year ago by Saiful Islam. Reason: Code Update
Many many thanks for your nice review.
Forum: Reviews
In reply to: [Quantity Plus Minus Button for WooCommerce by CodeAstrology] Great supportThanks a lot for your review.