Home Forums WoodMart support forum page always acutomatically reload 2 times when click on colum options on shop

page always acutomatically reload 2 times when click on colum options on shop

Viewing 30 posts - 1 through 30 (of 37 total)
  • Author
    Posts
  • #194316

    CYCLEPRO
    Participant

    Hello,

    i have 2 questions:
    1. why page loading stopped on halp way sometimes when click on column options?. that leads to be unable load buttons properly.

    2. why page always acutomatically reloads 2 times when click on colum options?

    3. why loading speed is much slower than before.

    please help to check if any JavaScript error or ther reasons, also see attached, thank you so much.

    #194318

    CYCLEPRO
    Participant

    reupload

    #194322

    CYCLEPRO
    Participant

    reupload again

    Attachments:
    You must be logged in to view attached files.
    #194331

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?

    Thank you in advance

    #194483

    CYCLEPRO
    Participant

    Hello,

    Thank you very much for that you’ll lend a helping hand.
    Yes i can, but it’s better don’t stop other plugins too long because website has been published to market, so please stop it by yourself when you are checking the theme.

    #194522

    Artem Temos
    Keymaster

    Your website seems to be somehow slow down by some of the installed plugins. It is quite slow on the backend too. Could you please try to disable all plugins and check how it works?

    #194539

    CYCLEPRO
    Participant

    Hi,
    for fast way to check it pease do it yourself, thank you

    #194575

    Artem Temos
    Keymaster

    But we are sure that your website is slow because of external plugins so it not necessary to check ourselves. You need to check this from your side to see which of them cause such troubles.

    #194605

    CYCLEPRO
    Participant

    Okay, so cuold you please fix the problem of loading first? which cause buttons are not loaded properly.

    #194626

    Artem Temos
    Keymaster

    We can increase the waiting time for a response from AJAX so that the page does not reload.
    Add this code to functions.php in your child theme

    add_filter( 'woodmart_pjax_timeout', function(){
    	return 30000;
    } );

    Kind Regards

    #194789

    CYCLEPRO
    Participant

    Hi,

    thank you so much for helping me so much. The code boost loading speed for sure.
    But, an old problem reoccured of buttons are not loading properly, which this is the puzzle. Once you provided a long string of code to solve this problem, but now the problem appears again.
    See attached please.

    Attachments:
    You must be logged in to view attached files.
    #194793

    CYCLEPRO
    Participant

    just attached another

    Attachments:
    You must be logged in to view attached files.
    #194822

    Artem Temos
    Keymaster

    You have some custom CSS that we didn’t send you. Please, remove all your custom CSS that influence this button http://prntscr.com/sggfl8 http://prntscr.com/sggfs4

    #194892

    CYCLEPRO
    Participant

    Hi,

    In a previous tick, we have discussed about this issue and you provided me with long code, i was tested and looked useful at that moment, and later i didn’t put any code like you mentioned. so do i need firstly delete the long code once you sent me below? for it doesn’t work because the issue still on.

    https://xtemos.com/forums/topic/issue-of-4-product-grids-per-row/

    function hoverSmallContent() {
    jQuery(‘.woodmart-hover-base’).each(function () {
    var $el = jQuery(this),
    $elBtn = $el.find(‘.woodmart-add-btn’),
    widthHiddenInfo = $el.outerWidth();
    if (widthHiddenInfo < 255 || jQuery(window).width() <= 768) {
    $el.addClass(‘add-small-content’);
    if ($el.hasClass(‘woodmart-hover-base’)) {
    $elBtn.addClass(‘wd-action-btn wd-add-cart-btn wd-style-icon’);
    }
    } else {
    if ($el.hasClass(‘woodmart-hover-base’) && (jQuery(‘body’).hasClass(‘catalog-mode-on’) || jQuery(‘body’).hasClass(‘login-see-prices’))) {
    $el.find(‘.wd-bottom-actions .wd-action-btn’).removeClass(‘wd-style-icon’).addClass(‘wd-style-text’);
    }
    }
    });
    }
    if (jQuery(window).width() <= 768) {
    hoverSmallContent();
    }
    jQuery(document).on(‘pjax:end’, function (xhr, textStatus, options) {
    hoverSmallContent();
    });

    things became complicated, hope got surpport. thank you!

    #194963

    Artem Temos
    Keymaster

    No, we didn’t ask you to remove that code. Please, remove your custom CSS that shown on screenshots http://prntscr.com/sggfl8 http://prntscr.com/sggfs4
    We didn’t give you that part.

    #194966

    CYCLEPRO
    Participant

    hello,

    Thank you, ok buy i can only found the code are not in custom ss but in Additional CSS of appearance. right?

    #194970

    CYCLEPRO
    Participant

    attachment please help to check

    Attachments:
    You must be logged in to view attached files.
    #194972

    CYCLEPRO
    Participant

    sorry, i can find code same as https://prnt.sc/sggfl8 but cannot find code same as https://prnt.sc/sggfl8 that’s why i’d like to check with you with that screenshot above

    #194982

    Artem Temos
    Keymaster

    Yes, try to remove that code and check how it works.

    #195151

    CYCLEPRO
    Participant

    Hi,
    After removing the code, the original problem is still on
    and causes other issue as you can see in attachment that circled buttons they became not in same szie after remove code, so we cannot remove the code, please try to manage it with other solutions
    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #195178

    Artem Temos
    Keymaster

    Try to add the following code snippet to the Custom CSS area in Theme Settings to decrease the add to quote button. But don’t return that code since it will break the layout as you already saw.

    .yith-ywraq-add-to-quote .button {
       padding: 10px 14px;
       line-height: 16px;  
       font-size:12px;
    }
    #195191

    CYCLEPRO
    Participant

    Hi,

    I think even this new code sinppet is not as good as before; problems listed below:
    1. it leads to other problem that button “X” is not cickable when submintting ADD TO QUOTE.
    2. The upper and lower gaps are too large.
    3. Buttons between 3 column and 4 column are quite defferent,
    4. the basic problem of buttons on 4 column are changed nothing. which is the key to the question that we have to improve.

    #195207

    Artem Temos
    Keymaster

    1. It was never clickable because it is loaded with AJAX. Remove the X button with the following CSS code

    .yith_ywraq_add_item_product_message:after {
        display: none!important;
    }

    2. What exactly gap do you mean?

    3. There is some bug in our JS core files that causes this problem. After our next theme update, it will work correctly after columns change as well.

    #195266

    CYCLEPRO
    Participant

    Hello,

    Thank you for your support.
    I’d like to know whether you will improve buttons style and layout to be same as samples (samples on attachment) on your next theme update? Thanks!

    Attachments:
    You must be logged in to view attached files.
    #195291

    Artem Temos
    Keymaster

    We will not change the style but the problem when you switch between 3 and 4 columns will be solved.

    #195435

    CYCLEPRO
    Participant

    Hi,

    ok, noted.
    Since you said that, Yith gave me a new code snippet that finally fixed loading issue of button on when clicking 4 column option.
    but just remains one thing that need your help once more.
    please see attachment, thanks!

    Attachments:
    You must be logged in to view attached files.
    #195473

    Artem Temos
    Keymaster

    Yes, that is what we were talking about and will be fixed in our next theme update. It is because of a bug in our core JS script and it is not possible to fix it with a quick code fix.

    #210976

    CYCLEPRO
    Participant

    Hello there,

    After updating to woodmart new version yesterday, I checked issue but there is nothing improved on this issue, please review the last Attachment on this topic to understand what is my meaning. Thanks!

    Regards,

    #211037

    Artem Temos
    Keymaster

    Hello,

    Have you added the code we gave you to the child theme functions.php file? Please, send us a screenshot.

    add_filter( 'woodmart_hover_width_small', '__return_false' );

    Regards

    #211059

    CYCLEPRO
    Participant

    Hi,
    Yes, I have added this code add_filter( ‘woodmart_hover_width_small’, ‘__return_false’ ); to child theme functions.php, so?

Viewing 30 posts - 1 through 30 (of 37 total)