nichinu
Forum Replies Created
-
Forum: Plugins
In reply to: [Site Reviews] Discord integrationYesss.. Thanks a lot.
Working perfectly now.Forum: Plugins
In reply to: [Site Reviews] Discord integrationHey, this is not working.
Both the “Approve Review | Edit Review” part is still showing up.Forum: Plugins
In reply to: [Site Reviews] Discord integrationHey,
This worked perfectly.
Is there a way to remove the “edit review” link that appears at the end of the discord message as well?Forum: Plugins
In reply to: [WooCommerce] Admin Back end super slow due to woocommerceHey,
The issue was indeed due to woocommerce though I was able to solve it.
The main cause was duplicate pincodes. For some reasons if there are duplicate entries in the serviceable pincodes list in the shipping zones then it causes woocommerce backend to be very slow.
Removed those duplicates solved the issue.Forum: Plugins
In reply to: [Woo Manage Fraud Orders] Plugin Setting tab not openingYes.
is there a workaround for this?Forum: Plugins
In reply to: [Woo Manage Fraud Orders] Plugin Setting tab not openingThere is no error, just a blank page. (HTTP ERROR 500)
Link: https://woocommerce-571939-2218021.cloudwaysapps.com/wp-admin/admin.php?page=wc-settings&tab=settings_tab_wmfoThanks a lot.. That worked like a charm…
Also is there a way to disable sequence number for the upcoming orders and keep it for the already assigned one..I need to debug this issue and for I might have to disable the plugin for some time. So I need to create a smooth transition for the customers.
I updated the code a bit to add a,b,c …. to a series of order_id’s sequence number but it is adding ‘a’ to all the orders:
function wt_change_seq_number ($sequence_number,$order_id) { $temp= 'a'; $order_ida = '130499'; for ($x = '0'; $x <= '1'; $x++) { $order_ida = $order_id + $x; if($order_id== $order_ida) { $sequence_number = $sequence_number.$temp; update_post_meta($order_id, '_order_number', $sequence_number); $temp++; } return $sequence_number; } } add_filter('wt_alter_sequence_number','wt_change_seq_number',10,2);
Hey,
The same issue has happened again. This time 300 orders with the same sequence number. I tried editing the code to bulk update the sequence number but it’s not working.Can you have a look at it:
[In this test code, I am trying to changer order id 130499, 130500, 130501 to 1500a, 1500b, 1500c]
”
$sequence_number = ‘1500’;
$temp= ‘a’;
function wt_change_seq_number ($sequence_number,$order_id)
{
$sequence_number = $sequence_number.$temp;
update_post_meta($order_id, ‘_order_number’, $sequence_number);
$temp++;
return $sequence_number;
}for ($order_id = 130499; $order_id <= 130501; $order_id) {
add_filter(‘wt_alter_sequence_number’,’wt_change_seq_number’,10,2);
}`
“It was just a cache issue.. sorry for the confusion…
`sent.
I have mentioned the link of this post in the subject.
Sent from [email protected]will duplicating the current feed work?
Or do i have to set up the whole feed again??Hey,
This has happened again. And instead of 2 order this time there are 250.
It happened all in the same time frame. My guess is due to some conflict with a cache plugin. I am trying to debug that.
In the mean time is there a way to edit the sequential number in bulk?May be edit the sequential number of orders within a certain order ids range (as all of them happened in the same time frame). We can just add a01,a02 and so on to the repeated sequential number of all the order id’s within the range.
Please help…
thanks for reply. Two quick questions though:
1) I have more than 2 orders with same number. So which one will it modify?
2) I run this via the fuction file in child theme right?