Quick view issue - by Gergely - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 5 years, 8 months ago ago by Olga Barlow

  • Avatar: gregory73
    Gergely
    Participant
    August 14, 2018 at 12:01

    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

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 15, 2018 at 14:52

    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

    Avatar: gregory73
    Gergely
    Participant
    August 18, 2018 at 07:13

    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

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 20, 2018 at 12:42

    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

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.