Title: aejaz's Replies | WordPress.org

---

# aejaz

  [  ](https://wordpress.org/support/users/aejaz/)

 *   [Profile](https://wordpress.org/support/users/aejaz/)
 *   [Topics Started](https://wordpress.org/support/users/aejaz/topics/)
 *   [Replies Created](https://wordpress.org/support/users/aejaz/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/aejaz/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/aejaz/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/aejaz/engagements/)
 *   [Favorites](https://wordpress.org/support/users/aejaz/favorites/)

 Search replies:

## Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Razorpay for WooCommerce] Not redirecting to confirmation page after payment is made](https://wordpress.org/support/topic/not-redirecting-to-confirmation-page-after-payment-is-made/)
 *  [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [4 years ago](https://wordpress.org/support/topic/not-redirecting-to-confirmation-page-after-payment-is-made/#post-15751454)
 * Hey,
 * I’m Having the same issue did you get any solution ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Order Splitter for WooCommerce] Split woocommerce Bookings into Suborders](https://wordpress.org/support/topic/split-woocommerce-bookings-into-suborders/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/split-woocommerce-bookings-into-suborders/#post-14484409)
 * Hi,
 * I don’t want to split any order based on vendor.
 * I wanted to split order based on bookings. If 1 order has 5 bookings i want the
   order to split in 5 sub orders.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WCFM - Frontend Manager for WooCommerce] Withdrawl of commission on Booking Complete](https://wordpress.org/support/topic/withdrawl-of-commission-on-booking-complete/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/withdrawl-of-commission-on-booking-complete/#post-14478835)
 * Hi, The issue is resolved actually the “code”tag was giving issues on line 11.
 * I just wanted to know how to combine withdrawal commissions of vendor. right 
   now all commissions are showing separately
 *     ```
       function wcfmmp_generate_auto_withdrawal_on_booking_status( $booking_id, $booking ) {
       	global $WCFM, $WCFMmp, $wpdb;
   
       	if( !$WCFM || !$WCFMmp ) return;
   
       	$order    = $booking->get_order();
       	$order_id = $order->get_id();
   
       	$sql = 'SELECT GROUP_CONCAT(ID) commission_ids, COALESCE( SUM( commission.total_commission ), 0 ) AS total_commission, vendor_id, withdraw_status, order_status  FROM ' . $wpdb->prefix . 'wcfm_marketplace_orders AS commission';
       	$sql .= ' WHERE 1=1';
       	$sql .= " AND order_id = " . $order_id;
       	$sql .= " GROUP BY vendor_id";
       	$commission_infos = $wpdb->get_results( $sql );
   
       	if( !empty( $commission_infos ) ) {
       		foreach( $commission_infos as $commission_info ) {
   
       			if( $commission_info->withdraw_status != 'pending' ) continue;
       			//if( $commission_info->order_status == $auto_withdrawal_status ) continue;
   
       			$vendor_id = absint($commission_info->vendor_id);
   
       			$payment_method = $WCFMmp->wcfmmp_vendor->get_vendor_payment_method( $vendor_id );
       			if( !$payment_method ) continue;
   
       			// Reset Commission withdrawal charges as per total withdrawal charge
       			$withdraw_charges = $WCFMmp->wcfmmp_withdraw->calculate_withdrawal_charges( $commission_info->total_commission, $vendor_id );
   
       			// Update Commission withdrawal Status
       			$commissions = explode( ",", $commission_info->commission_ids );
       			$no_of_commission = count($commissions);
       			$withdraw_charge_per_commission = (float)$withdraw_charges/$no_of_commission;
       			foreach( $commissions as $commission_id ) {
       				$wpdb->update("{$wpdb->prefix}wcfm_marketplace_orders", array('withdraw_status' => 'requested', 'withdraw_charges' => round($withdraw_charge_per_commission,2)), array('ID' => $commission_id), array('%s', '%s'), array('%d'));
       			}
   
       			$withdraw_request_id = $WCFMmp->wcfmmp_withdraw->wcfmmp_withdrawal_processed( $vendor_id, $order_id, $commission_info->commission_ids, $payment_method, 0, $commission_info->total_commission, $withdraw_charges, 'requested', 'by_auto_request' );
   
       			if( $withdraw_request_id && !is_wp_error( $withdraw_request_id ) ) {
       				$is_auto_approve = $WCFMmp->wcfmmp_withdraw->is_withdrawal_auto_approve( $vendor_id );
       				if( $is_auto_approve ) {
       					$payment_processesing_status = $WCFMmp->wcfmmp_withdraw->wcfmmp_withdrawal_payment_processesing( $withdraw_request_id, $vendor_id, $payment_method, $commission_info->total_commission, $withdraw_charges );
       					if( $payment_processesing_status ) {
       						//wcfm_log( __('Auto Withdrawal Request successfully processed.', 'wc-multivendor-marketplace') . ': #' . sprintf( '%06u', $withdraw_request_id ) );
       					} else {
       						wcfm_log( __('Auto Withdrawal Request processing failed, please contact Store Admin.', 'wc-multivendor-marketplace') . ': #' . sprintf( '%06u', $withdraw_request_id ) );
       					}
       				} else {
       					// Admin Notification
       					$shop_name = $WCFM->wcfm_vendor_support->wcfm_get_vendor_store_by_vendor( absint($vendor_id) );
       					$wcfm_messages = sprintf( __( 'Vendor <b>%s</b> has placed a Withdrawal Request #%s.', 'wc-multivendor-marketplace' ), $shop_name, '' . sprintf( '%06u', $withdraw_request_id ) . '' );
       					$WCFM->wcfm_notification->wcfm_send_direct_message( $vendor_id, 0, 0, 1, $wcfm_messages, 'withdraw-request' );
       					//wcfm_log( __('Auto withdrawal request successfully sent.', 'wc-frontend-manager') . ': #' . sprintf( '%06u', $withdraw_request_id ) );
       				}
   
       				do_action( 'wcfmmp_withdrawal_request_submited', $withdraw_request_id, $vendor_id );
       			} else {
       				wcfm_log( __('Auto withdrawal request failed, please try after sometime.', 'wc-multivendor-marketplace') );
       			}
       		}
       	}
       }
       add_action( 'woocommerce_booking_complete', 'wcfmmp_generate_auto_withdrawal_on_booking_status', 50, 2 );`
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Order Review Before Checkout](https://wordpress.org/support/topic/order-review-before-checkout/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/order-review-before-checkout/#post-13268750)
 * Hi,
 * The developer of this plugin seems to be not updating it anymore – [https://maxim-kaminsky.com/woocommerce-order-review-page/](https://maxim-kaminsky.com/woocommerce-order-review-page/)
 * I sent him a message 1 week ago but didn’t get any reply yet.
 * This looks good – [https://stackoverflow.com/questions/52726635/hooking-after-validation-but-before-order-create-in-woocommerce-checkout](https://stackoverflow.com/questions/52726635/hooking-after-validation-but-before-order-create-in-woocommerce-checkout)
   But how I can display order summary & customer details in POP-UP?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MDTF - Meta Data and Taxonomies Filter] Not Working with WPML Plugin](https://wordpress.org/support/topic/not-working-with-wpml-plugin/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/not-working-with-wpml-plugin/#post-11553585)
 * Hi,
 * I tried using the shortcode as well but still, it’s showing zero results found.
 * Attached screenshots of settings
 * Widget Settings – [https://prnt.sc/nr86og](https://prnt.sc/nr86og)
    MDTF Shortcode
   settings – [https://prnt.sc/nr86xk](https://prnt.sc/nr86xk) MDTF Main settings–
   [https://prnt.sc/nr87kx](https://prnt.sc/nr87kx) Search form from Widget & Shortcode–
   [https://prnt.sc/nr87qj](https://prnt.sc/nr87qj)
 * Search form link – [https://pristineorganics.com/store-locator/](https://pristineorganics.com/store-locator/)
 * Please look into the issue
 * Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MDTF - Meta Data and Taxonomies Filter] Not Working with WPML Plugin](https://wordpress.org/support/topic/not-working-with-wpml-plugin/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/not-working-with-wpml-plugin/#post-11549722)
 * Hi,
 * Any Update ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MDTF - Meta Data and Taxonomies Filter] Not Working with WPML Plugin](https://wordpress.org/support/topic/not-working-with-wpml-plugin/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/not-working-with-wpml-plugin/#post-11545435)
 * Hi,
 * I did how you told me now it’s showing the same filter page in search results.
 * I Put a relative link for result page as you have mentioned (/store-locator/).
   also, I have selected the english language in the widget.
 * Please look into it.
 * Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[QuadMenu - Divi Mega Menu] Menu randomly doesn’t show up](https://wordpress.org/support/topic/menu-randomly-doesnt-show-up/)
 *  [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/menu-randomly-doesnt-show-up/#post-11248233)
 * Hi,
 * I’m having the same issue in Mobile
    Unfortunately, the Menu sometimes does not
   show up. All the elements “are there” (you can click on it) but nothing is visible.
   You have to scroll, wait some time and then the Menu is visible again.
 * My website is – shaheengroup.org
 * Pls look into it
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP2Static] Can’t Make Static File](https://wordpress.org/support/topic/cant-make-static-file/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cant-make-static-file/#post-11034947)
 * Hi,
 * I checked there is not a single error in the server.
 * I will give my website WordPress credentials can you pls check it out for me.
   if possible can you pls generate a zip file of the static website.
 * [http://redmountaintech.imco.sa](http://redmountaintech.imco.sa)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP2Static] Can’t Make Static File](https://wordpress.org/support/topic/cant-make-static-file/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cant-make-static-file/#post-11032290)
 * Hello leon,
 * My export file
 * STARTING EXPORT: 2018-12-28 11:31:00
    STARTING EXPORT: PHP VERSION 7.1.25 STARTING
   EXPORT: OS VERSION Linux grh19.myukcloud.com 3.10.0-714.10.2.lve1.5.17.el7.x86_64#
   1 SMP Mon Apr 30 13:06:32 EDT 2018 x86_64 STARTING EXPORT: WP VERSION 4.9.8 STARTING
   EXPORT: WP URL [http://redmountaintech.imco.sa](http://redmountaintech.imco.sa)
   STARTING EXPORT: WP SITEURL [http://redmountaintech.imco.sa](http://redmountaintech.imco.sa)
   STARTING EXPORT: WP HOME [http://redmountaintech.imco.sa](http://redmountaintech.imco.sa)
   STARTING EXPORT: WP ADDRESS [http://redmountaintech.imco.sa](http://redmountaintech.imco.sa)
   STARTING EXPORT: PLUGIN VERSION 6.1 STARTING EXPORT: VIA WP-CLI? STARTING EXPORT:
   STATIC EXPORT URL [http://example.com/](http://example.com/)
 * I’m trying to export zip file.
 * also, I checked with my hosting provider he said DOM Extension is already installed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP2Static] Messed Up Conversion](https://wordpress.org/support/topic/messed-up-conversion/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/messed-up-conversion/#post-11016373)
 * Hello Again,
 * I converted this website as well – [http://redmountaintech.imco.sa/mystaticsite/](http://redmountaintech.imco.sa/mystaticsite/)
 * But It converts the only Homepage and other pages are messed Up because of no
   CSS.
 * Pls look into this as well.
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP2Static] Messed Up Conversion](https://wordpress.org/support/topic/messed-up-conversion/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/messed-up-conversion/#post-11016283)
 * Hello leon,
 * It works website is now coming perfect.
 * I’m trying to convert 1 more website which is in 3 languages – [http://auctionaccess.com/](http://auctionaccess.com/)
 * IP – 5.134.8.27
 * I think You need to setup the host file to view this website. Because I have 
   not pointed my server yet to the domain.
 * The website has DIVI theme,
 * WPML Plugin for Translation &
    Gravity Forms.
 * It has translated only Homepage ( English ). But other pages are not working (
   
   they are still pointing to the main website ).
 * Also, the language switcher is not working.
 * Please Look into it
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP2Static] Messed Up Conversion](https://wordpress.org/support/topic/messed-up-conversion/)
 *  Thread Starter [aejaz](https://wordpress.org/support/users/aejaz/)
 * (@aejaz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/messed-up-conversion/#post-11015842)
 * Hello Again,
 * Where can I find it?
 * Pls share the link.
 * Regards

Viewing 13 replies - 1 through 13 (of 13 total)