Problem with product visibility
-
hi man. Great plugin. We have a problem, lots of customers after they paid l, they cant see the product, they are redirected to shop (i put the redirect in case of not purchase).
they see the product in my account, products purchased, but when they click, they are redirected to shop, like if they dindt buy it.
any chance you can help? Have an idea?
-
Hi, sorry for the late reply. Didn’t see it till now. What happens without redirect? Do you have any other plugins that redirect? Are there any errors/warnings in debug.log? Can you reliably reproduce it yourself? Are you sure those purchased products are assigned to those pages? Hopefully we can figure it out.
hey. thank you for the reply. I dont have any plugins that redirect. I cannot reproduce it, and if i enter the client account i can acces the product, but they cannot. this problem is at like 10% of clients. They see the product in the account but when they access it, they get redirected.
I have in error log this:[31-May-2023 13:34:08 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 142 [31-May-2023 13:34:08 UTC] PHP Warning: Undefined array key "time_elapsed" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 142 [31-May-2023 13:34:08 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 146 [31-May-2023 13:34:08 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 147 [31-May-2023 13:34:08 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 142 [31-May-2023 13:34:08 UTC] PHP Warning: Undefined array key "time_elapsed" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 142 [31-May-2023 13:34:08 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 146 [31-May-2023 13:34:08 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 147 [31-May-2023 13:34:18 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 142 [31-May-2023 13:34:18 UTC] PHP Warning: Undefined array key "time_elapsed" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 142 [31-May-2023 13:34:18 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 146 [31-May-2023 13:34:18 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 147 [31-May-2023 13:34:18 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 142 [31-May-2023 13:34:18 UTC] PHP Warning: Undefined array key "time_elapsed" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 142 [31-May-2023 13:34:18 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 146 [31-May-2023 13:34:18 UTC] PHP Warning: Undefined array key "time_compare" in /home/andrafarazahar/public_html/wp-content/plugins/page-restrict-for-woocommerce/includes/front/class-restricted-pages-list-blocks.php on line 147
It’ll be a bit problematic if you can’t reproduce it. The only thing I can do is fix those warnings. Might be connected given where they are. But not sure if it’ll fix this. Not sure what else I can do. I’ll work on it when I can and see if I can recreate it.
i think those errors are the culprit.
I fixed those warnings but they shouldn’t be related to this since it only happens on My account page. Although I reread what you wrote and I think I might have misunderstood.
We have a problem, lots of customers after they paid l, they cant see the product
They see the product in the account but when they access it, they get redirected.
Do you mean they can’t see the page they bought the product for? The page you restricted? If its anything related to the product purchasing process I can’t help you there since WooCommerce should be handling that part.
After they purchased the product. they see the product in restricted area in my account. but when they click on the product they get redirected like it wasnt purchased
Is that “Restricted Pages” in My account? If yes and when they click on a page you restricted its redirecting, I still am not sure how to help you. The problem I’m having is that you are not able to recreate and debugging it makes it difficult. Those links on that page are only simple links to pages they have access to so those errors wouldn’t break anything there. Either way I fixed them so you shouldn’t see them any more. The only thing I can think of for you to check (although even if that is the case there is still a problem since it shouldn’t work like that) is if the orders for those people aren’t set as completed. But if they aren’t set to completed then it shouldn’t work even if you accessed it. But thats the best I can do right now. Maybe I can think of something later.
ok. the problem is when u are using opera and maybe safari from what i see, in opera i cant visit the page that i buyed, its redirect me like is not buyed.
Strange, it shouldn’t depend on browser. So you can consistently recreate that problem on those browsers?
can you pls give me an email adress to send you some login details from an account to see?
found. i sent an email to [email protected]
Got your email. I’ll check when I can.
- The topic ‘Problem with product visibility’ is closed to new replies.