This topic has 4 replies, 2 voices, and was last updated 6 years, 3 months ago ago by Olga Barlow
Hi Support team.
I recently installed xstore theme, with cosmetics dummy content.
You can check here: https://gyogygombawebaruhaz.hu/product-category/man/
I have 2 issues:
1. When “quick view” feature is enabled, then it seems that it require acces to site/wp-admin/ directory.
This is prohibited in our site to decrease fraudulent events. (separate credentials needed to acces this directory)
So if someone not administrator, then Quick view feature not working and return with error (error ajax request”)…
2.If I upload various type of product pictures, then the category page looks very chaotic.
I dont understand why the the style sheet not align the picture size.
https://gyogygombawebaruhaz.hu/product-category/man/
Thank you if you could help me eliminate these issues.
Best regards,
Gergely
Hello,
1) We use Ajax request for the quick view. We send Ajax request to get product info and show it in the quick view window. Ajax request uses admin-ajax.php https://codex.wordpress.org/AJAX_in_Plugins
So, contact your hosting provider to solve this permission issue for the Ajax request.
2) Go to Theme Options > Styling > Custom CSS and add the following code
@media only screen and (min-width: 1200px){
.content-product .product-content-image img {
min-width: 1px;
}
}
Then go to Appearance > Customize > WooCommerce > Image size and choose the correct proportion for your site images. Regenerate thumbnails if you change the image settings.
Regards
Hi,
Thank you for your answer.
1.No help needed from hosting provider.
The WP-ADMIN directory is prohibited by me as I wrote you before. For security reason it is prohibited from user side…
This is the admin part of the wordpress, and not for users/visitors.
I dont undertand why the program using resource from admin part when displays user content???
This is not secure!!!
Do you have any alternative solution to manage this ajax request not using admin resource?
2.thx for help.
BEst regards,
Gergely
Hello,
Unfortunately, this is how WP works, we sent you link to official docs of the WP with the detailed explanation of this action. Probably you need to allow using the admin-ajax.php file, exclude it from the list of locked files and folders.
Regards
You must be logged in to reply to this topic.Log in/Sign up