Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Femi,
    have you found any solution for the described problem? We have noticed the same issue in one of our customers shop (“Item amount mismatch. Items ditched.”). Another strange behaviour we have noticed is, that the sku of some products within orders with this error are not listet.
    Can you please help us?
    Many thanks in advance. Kind regards
    Sven

    • This reply was modified 1 year, 4 months ago by szedlick.
    Thread Starter szedlick

    (@szedlick)

    Exactly, this is the problem ??
    The shortcode I use in that function is 100% correct, I copied and pasted it to antother template file an it worked fine.
    Now I call it with ajax in a function in my functions.php and there it doesn’t work.

    Thread Starter szedlick

    (@szedlick)

    Hi Dario,
    the thing is, that my response doesn’t contain a container with ‘yasr-rater-stars-vv’-class, because the yasr shortcode I try to process within the called php action just isn’t delivering something. It’s exactly the same shortcode I use on another template but it just doesn’t process in that function. I do the call directly in the functions.php…
    Any idea?

    Thread Starter szedlick

    (@szedlick)

    Hi Dario,
    thank you so much for putting so much effort in my problem. I don’t quite know if we talk about the same specific problem. I do an ajax call to call an php funtction. In this php function I do the query for posts and the do_shortcode(‘[yasr …….]’) function. As return I deliver a string with the complete ‘html’ to the js, where I append the string to the grid container…
    I don’t know either if it’s relevant that I query a CPT…?

    Kind regards
    Sven

    Thread Starter szedlick

    (@szedlick)

    Hi Dario,
    I develope locally, so I don’t have a Link for you, but here is how I do the ajax:

    $.ajax({
                    url: test_ajax_obj.ajaxurl,
                    type: 'POST',
                    data: {
                        'action': 'test_ajax_request',
                        'filter' : filters,
                        'nonce' : test_ajax_obj.nonce
                    },
                    success:function(data) {
                        $('.test-grid-container').empty();
                        $('.test-grid-container').append(data)
                    },
                    error: function(errorThrown){
                        console.log(errorThrown);
                    }
                });

    Within the called function I do a query and want to display the rating for the queried posts…
    The return of the function is a string with html code that contains all elements I queried with the filters as meta_query…

    • This reply was modified 3 years, 8 months ago by szedlick.
    Thread Starter szedlick

    (@szedlick)

    Hi Dario,
    thanks for your reply. Ist there a possibility for me to change it in the code easily? I know that the changes are gone with the next update, but my customer likes to have it this way.
    Kind regards
    Sven

    @ogalinski
    Hi Orlando, I don’t get, why you say, all the one line reviews are crap. Why you so mad? This is the review section where users share their experience with the plugin and not a bug report section. So please accept, that there are people out there who neither like the Gutenberg plugin nor to work with it. After reading all the replies from the developers and volunteers are all the same and pretty much ignorant too, if you want so. They all won’t accept, that people don’t want to be forced to get that Gutenberg in WordPress core. They don’t even think about the possibility of leaving it as a plugin, no matter how little people like it, how badly it’s rated, or how little people benefit from it.
    I don’t think, that this is the idea of community based developement.

    Kind regards.

Viewing 7 replies - 1 through 7 (of 7 total)