anymaa
Forum Replies Created
-
Hi @johndarrel,
Thanks for your quick reply. My Domain Name is default domain served by Cloudfront. It says d770yb0***pdg.cloudfront.net (Ignore the stars.)
And, even if it’s default I might need to use ‘CDN URLs’, I don’t know. But do I need paid version for it? :/
Best Regards,
Forum: Plugins
In reply to: [WP-Lister Lite for Amazon] Timestamp ErrorHi,
You were right, I reached the server provider, he said just 20 mins backwards ??
Now I have a new problem, I get a report from Amazon account, but already we have products on website and Amazon, it should fetch based SKU(I chose from Wp-Lister settings) but it’s trying to fetch based ASIN, how I can fetch based seller-SKU = Woocommerce SKU.
Just I am trying to this,
– Sync Woocommerce and Amazon products by SKU for Woocommerce, seller-SKU for Amazon.
– I don’t wanna send any new products from Woocommerce to Amazon.
– Just it should sync quantity and price daily, maybe images but it’s not necessary.Thanks.
- This reply was modified 6 years ago by anymaa. Reason: Extra info
Forum: Plugins
In reply to: [Redirect Role Wise] Using Multi RolesHi,
You can update your code with this,
In includes/front-end-redirection.php
I added after 31. line
$current_roles1 = $current_user->roles[1]; $current_roles2 = $current_user->roles[2]; $current_roles3 = $current_user->roles[3]; $current_roles4 = $current_user->roles[4];
And i added after 52. line
if(in_array($current_roles1, $the_rrw_roles )) { $destination = $post->post_name; $destination_url = get_permalink($destination); header("Location:".$destination_url); /* Redirect user */ } if(in_array($current_roles2, $the_rrw_roles )) { $destination = $post->post_name; $destination_url = get_permalink($destination); header("Location:".$destination_url); /* Redirect user */ } if(in_array($current_roles3, $the_rrw_roles )) { $destination = $post->post_name; $destination_url = get_permalink($destination); header("Location:".$destination_url); /* Redirect user */ } if(in_array($current_roles4, $the_rrw_roles )) { $destination = $post->post_name; $destination_url = get_permalink($destination); header("Location:".$destination_url); /* Redirect user */ }
Now it can be read first 5 role by users.
Thank you ??