LogicRays Technologies
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Order line meta action not working at allUse below function.
function custom_meta_after_order_itemmeta( $item_id, $item, $product) {
$product_id = $item[‘product_id’];
if( $item->is_type( ‘line_item’ ) ){
$start = get_post_meta( $product_id, ‘wbc_cal_start’, true );
echo ‘Start Date: ‘ .date(‘d-m-Y’, strtotime($start));
echo ‘<br>’;
$end = get_post_meta( $product_id, ‘wbc_cal_end’, true );
echo ‘End date: ‘ .date(‘d-m-Y’, strtotime($end));
}
};// add the action
add_action( ‘woocommerce_after_order_itemmeta’, ‘custom_meta_after_order_itemmeta’, 10, 3);Forum: Plugins
In reply to: [WooCommerce] Product List table -Bulk actionsHi kellymetal
I have tried but that is not working in bulk action in product table.you can try when you have enough time 🙂 i think its core issues.
$wp_list_table = _get_list_table('WC_Admin_List_Table_Products'); // depending on your resource type this could be WP_Users_List_Table, WP_Comments_List_Table, etc $action = $wp_list_table->current_action();Fatal error: Uncaught Error: Call to a member function current_action()
Thanks
AhirHi
Ok got it from here :https://docs.wpeverest.com/docs/user-registration/how-to/how-to-add-additional-tabs-in-my-account/
Thanks
- This reply was modified 6 years, 10 months ago by LogicRays Technologies.
Forum: Reviews
In reply to: [Performance Checker] More errorsHi
Upload latest plugins and checked, but again same error when active plugins.Thanks
- This reply was modified 6 years, 11 months ago by LogicRays Technologies.
Forum: Plugins
In reply to: [Popups - WordPress Popup] Redirection not workingHi
Thanks for your reply.
jQuery(document).on('spu.box_close',function(e,id){ ... }); jQuery(document).on('spu.box_open',function(e,id){ ... }); jQuery(document).on('spu.form_submitted',function(e,id){ ... });but close event trigger is not good because if i close without entering anything into form then it will redirect to that page. but you have no form_success event in code ?
jQuery(document).on('spu.form_success',function(e,id){Thanks
LRForum: Plugins
In reply to: [Autoptimize] owlCarousel js errorHey
got it Thanks. its from Advance settings. 🙂
Thanks
Forum: Fixing WordPress
In reply to: WordPress Rollback Automatically to old versionHi
Thanks for your reply, Actually it will happen when New WordPress Release. it goes to backward(going back to 4.7 but not 5.0.3, 5.0.2 etc) So this is really Weird.
Thanks
Forum: Plugins
In reply to: [WooCommerce] Removing Company Name Field From Woocommerce CheckoutHi,
Please check below,
add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ );
function custom_override_checkout_fields( $fields ) {
unset($fields[‘billing’][‘billing_company’]);return $fields;
}Thanks
LrForum: Plugins
In reply to: [WooCommerce] Hide / Unhide Empty CategoriesHi
Code for WooCommerce 3.x+
Place the following in your functions.php file of your theme:add_filter( 'woocommerce_product_subcategories_hide_empty', 'hide_empty_categories', 10, 1 ); function hide_empty_categories ( $hide_empty ) { $hide_empty = FALSE; // You can add other logic here too return $hide_empty; }Thanks
AhirForum: Reviews
In reply to: [Awesome Carousel Slider] awesome slider pluginForum: Reviews
In reply to: [Awesome Carousel Slider] awesome slider pluginHi
Thank for your reply.
$EpisodeData = powerpress_get_enclosure_data( get_the_ID() ); if( !empty($EpisodeData['url']) ) { $enc = htmlspecialchars($EpisodeData['url']); }So this is correct way to get url right ? need url in custom page template.
Thanks
AhirForum: Plugins
In reply to: [Uncanny Toolkit for LearnDash] None of the shortcode is workingHi
That is fixed now. All working fine. another question.is it possible in pro version like we need Custom order of courses based completed percentage. Suppose one user completed in courses in this order : 0% 25% 15% 75% 45 % 100% 20%
but we need that courses order in this order.
0% 15% 25% 45% 75% 100%… in this way. is it possible in pro version ?Thanks
LRHi
Look like plugin author is not replying after updated plugin ? so many users have same issues.
Thanks
AhirForum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] Options and Repeater not workingHi
Thanks for your reply.
Is the repeater feature now only available wrapped the the ACF Pro plugin?
–> I have download that plugin from Github and it was working fine. but after update not working.I have already updgrade Database,
Thanks
Ahir