Forum Replies Created

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter ben2358723823567

    (@ben2358723823567)

    Alright, very good! And when do you expect that next release to be available? (how many days estimated)

    Thread Starter ben2358723823567

    (@ben2358723823567)

    You’re right and after much hair pulling, I finally managed to fix the issue! Your plugin’s cart page displays in full now.

    It turns out my PURCHASED wordpress theme (which I paid money for) was coded like garbage and would prevent some (like yours) plugins’ filters to apply! I put an echo ‘<!–AAA–>’ in your my_tickets_cart() filter function and to my surprise, it did not appear anywhere in the HTML source.

    Then I found this S/E answer to be quite useful: https://wordpress.stackexchange.com/a/274742/160761

    What I did to resolve the issue is to change my theme’s APPEARANCE > EDITOR > “page.php” code by editing this line:

    echo do_shortcode('[vc_row][vc_column][vc_column_text]'.get_the_content().'[/vc_column_text][/vc_column][/vc_row]');

    …to this line which completely fixed the issue…

    echo do_shortcode('[vc_row][vc_column][vc_column_text]' . apply_filters('the_content', wp_trim_words(get_the_content(), 70)) . '[/vc_column_text][/vc_column][/vc_row]');

    Thank you for replying BTW. Keep this handy as it may be useful if somebody tells you that the cart doesn’t show up in their theme.

    Thread Starter ben2358723823567

    (@ben2358723823567)

    See what I mean here: https://oi65.tinypic.com/15fpuah.jpg

    Thread Starter ben2358723823567

    (@ben2358723823567)

    When I put [quick-cart] I see the trimmed down one liner cart on the site, this works fine, but the full cart, nope, it’s blank. There is no PHP/Apache error_log produced in the FTP either.

    Any help in just getting this plugin to simply work would be appreciated. I’m not expecting to do complicated things with it, I just want it to work in its simplest form, I’m not customizing anything, I just installed the plugin but it doesn’t work out of the box.

    Thread Starter ben2358723823567

    (@ben2358723823567)

    I tried to disable, delete and reinstall the plugin, same thing. Everything works as expected, but the /purchase URL shows an empty contents page.

    Thread Starter ben2358723823567

    (@ben2358723823567)

    Not in public, but in private, sure. Where can I email this? Or is there some sort PM functionality on here? (sorry I’m new) Or should I send it through this form perhaps? https://www.joedolson.com/contact/

    Sorry for this embarrassing support topic! If you had a copy of the 3 default pages, I could maybe just try to replace mine with yours? Are they part of the plugin ZIP archive? I installed this plugin through WordPress, not by downloading it with my browser then uploading the ZIP file, BTW.

    EDIT: Basically, what I need is a shortcode to make your plugin’s mt-cart.php script included in the /purchase page. The /purchase page has the sidebar and everything, but the contents is empty.

    ben2358723823567

    (@ben2358723823567)

    In my case, recaptcha only randomly appears on my Contact Form 7 form. We lost valuable customer enquiries because of this bug. It seems to be a race condition. We have WP reCaptcha Integration installed to protect the login form and it seems CF7 is making issues with the latter.

    Any idea? I tried your suggestion @bash88 but it doesn’t fix the issue, it still shows maybe 1 time out of 2, it’s super random.

    Yup, I was really happy that such a plugin existed but after activating it, I found out it just does nothing for WooCommerce categories.

    Developpers, are you planning on making this work soon?

    EDIT: I found the solution for the multiple WooCommerce categories permalink problem. What you want to use is 2 plugins in conjunction:

    + WooCommerce Permalink Manager
    + Yoast SEO

    With both activated, I can now define a WooCommerce product’s category as “primary category” and the permalink now reflects that one. It works exactly as if the primary defined category was the only one checked! It’s PERFECT ??

    EDIT 2: Oh, and if you care about breadcrumbs on your site, then you also need to activate Yoast SEO breadcrumbs (it’s under ADVANCED page settings) and tweak your functions.php by copy/pasting this code block at the end of it:

    
    /* ---------- CUSTOM ---------- */
    
    // Remove WooCommerce Breadcrumbs
    remove_action( 'init', 'woocommerce_breadcrumb', 20, 0);
    remove_action( 'woocommerce_before_main_content','woocommerce_breadcrumb', 20, 0);
    //Add Yoast Breadcrumbs
    add_action( 'woocommerce_before_main_content','my_yoast_breadcrumb', 20, 0);
    if (!function_exists('my_yoast_breadcrumb') ) {
      function my_yoast_breadcrumb() {
        yoast_breadcrumb('<p id="breadcrumbs">','</p>');
      }
    }
    

    Hope people coming here over the next year or two will pull their hair out a little less than I did to come up with this custom solution! Enjoy ??

    • This reply was modified 7 years, 3 months ago by ben2358723823567. Reason: FOUND THE SOLUTION!
    • This reply was modified 7 years, 3 months ago by ben2358723823567.
    Thread Starter ben2358723823567

    (@ben2358723823567)

    Well, I proceeded to mass find “function add_column_shortcode” which lead me to another function including another file called col.php in which there was this code:

    <?php echo $this->get_clean_content( $content ) ?>

    So what I did is replace it with this:

    <?php _e($this->get_clean_content( $content )) ?>

    AND GUESS WHAT? IT WORKS! ??

    Thank you so much for your pointers, what an adventure this was! Why are the WP themes developpers not always using _e() instead of echo? All of this would never have happened if they used _e()!

    Thread Starter ben2358723823567

    (@ben2358723823567)

    Hi John, thank you so much for replying. Just to make sure we’re on the same track, the square brackets work on every page, except if it contains [row] [col] shortcodes, it’s pretty weird. If I remove the [row] [col] then the qTranslate square brackets are processed as usual and everything is good… but the client wants the columns :-/

    BTW, we’re using this theme: https://pikarthouse.com/wp/arkfield/about-agency/

    Edit: By using find/replace, I have found a file containing what makes the rows and columns in that theme:

    ———————

    // allow the theme or other plugins to “hook” into this shortcode’s params
    $this->params = apply_filters(‘pixcodes_filter_params_for_’ . strtolower($this->name), $this->params);

    add_shortcode(‘col’, array( $this, ‘add_column_shortcode’) );
    add_shortcode(‘row’, array( $this, ‘add_row_shortcode’) );

    // Create second level shortcodes
    add_shortcode(‘col_inner’, array( $this, ‘add_column_shortcode’) );
    add_shortcode(‘row_inner’, array( $this, ‘add_row_shortcode’) );

    ———————

    Can we somehow wrap these function calls with your function to translate?

Viewing 10 replies - 16 through 25 (of 25 total)