• Resolved achalshiv

    (@achalshiv)


    Hi,

    I want the Buy Now button on shop page to directly redirect to Checkout Page. For me, its currently redirecting to the product page and from there if I click on Buy Now button, it takes me to checkout.

    I don’t want the extra step. How to achieve this?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Varun Sridharan

    (@varunms)

    Hi there

    Have you configured the settings correctly?

    If yes can you please provide some more information like settings page screenshot and front-end screen shot

    Thread Starter achalshiv

    (@achalshiv)

    Thread Starter achalshiv

    (@achalshiv)

    Hi,

    I was trying a few things to solve my issue (All in settings only). But now even with exact settings as before, shop page Buy Now Button is redirecting to 404 page. All settings are as such.

    Buy Now button is working like a charm on the Single Product Page.

    Please Help!

    Plugin Author Varun Sridharan

    (@varunms)

    @achalshiv

    Can you please try a HOT Fix and let me know if its working ??

    Hot Fix :
    File : includes/class-url-generator.php

    Search For On Line 63 : $this->html = site_url() . '/' . trim( $url, '/' );

    Replace With On Line 63 : $this->html = home_url() . '/' . trim( $url, '/' );

    after this just save the settings once again and clear your permalink cache

    Thread Starter achalshiv

    (@achalshiv)

    Hi,

    I tried placing your Hot Fix but, before I could do that my site has gotten into a technical error. The site is running ok but I am unable to edit any elementor pages and unfortunately the problem is with the Quick Buy For Woocommerce plugin.

    I tried deleting the plugin and re-installing it but with same results. After deactivating, everything works fine.

    Thanks

    Thread Starter achalshiv

    (@achalshiv)

    Hi,

    I kept the elementor issue aside and tried your Hot Fix. It still ain’t working as expected.

    Thanks

    Thread Starter achalshiv

    (@achalshiv)

    I even tried rolling back the version of Elementor to see if this break is happening due to Elementor update but no, its throwing error for older versions of Elementor as well and still the culprit is the Quick Buy For Woocommerce plugin.

    I really loved your plugin but am unable to use it. Please help.

    Thanks

    Thread Starter achalshiv

    (@achalshiv)

    I restored an earlier backup, when everything was working except the shop page redirection but, I still can’t Edit any Elementor Page. It gives critical error.

    Plugin Author Varun Sridharan

    (@varunms)

    @achalshiv

    Thanks for keep debugging it.

    i have found some issue in our plugin and fixed it in V2.8 please do update & check if the issue still persist.

    Thread Starter achalshiv

    (@achalshiv)

    Hi,

    Thanks for the effort. The Buy Now button is working as expected on Shop Page.

    MY other issue still persists though. I am unable to “Edit with Elementor” any page as long as this plugin is activated. Is it clashing with Elementor Editor in some way?

    Thanks

    Plugin Author Varun Sridharan

    (@varunms)

    @achalshiv

    that issue has been fixed before.
    i need more information on that

    can you provide some logs on it ? (Debug Log) i need to know the exact error inorder to fix the issue.

    i already have the Elementor plugin and unable to replicate the same issue.

    Thread Starter achalshiv

    (@achalshiv)

    [27-Aug-2020 10:31:32 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/rstenter/gameheist/wp-content/plugins/woocommerce-quick-buy/vendor/varunsridharan/vsp-framework/includes/core/traits/class-wc-helper.php:150
    Stack trace:
    #0 /home/rstenter/gameheist/wp-content/plugins/woocommerce-quick-buy/includes/class-button-generator.php(57): VSP\Helper::wc_has_product_in_cart(1972)
    #1 /home/rstenter/gameheist/wp-content/plugins/woocommerce-quick-buy/includes/class-button-placement.php(94): WC_Quick_Buy\Button_Generator->html()
    #2 /home/rstenter/gameheist/wp-includes/class-wp-hook.php(287): WC_Quick_Buy\Button_Placement->shop_page_button(”)
    #3 /home/rstenter/gameheist/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 /home/rstenter/gameheist/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /home/rstenter/gameheist/wp-content/plugins/woocommerce/templates/content-product.php(65): do_action(‘woocommerce_aft…’)
    #6 /home/rstenter/gameheist/wp-includes/template.php(725): require(‘/home/rs in /home/rstenter/gameheist/wp-content/plugins/woocommerce-quick-buy/vendor/varunsridharan/vsp-framework/includes/core/traits/class-wc-helper.php on line 150

    Thread Starter achalshiv

    (@achalshiv)

    Hi, could you find what is the issue that I am facing with Elementor Editor?

    Thread Starter achalshiv

    (@achalshiv)

    Hi,

    I am sorry to bug you again. But, the redirection from shop page to checkout was working fine after u told me to update but its again showing the previous behaviour after i deactivated and then reactivated the plugin.

    Can you please help???

    Thanks

    Plugin Author Varun Sridharan

    (@varunms)

    @achalshiv

    Really sorry about the delayed response. and thanks for sharing the info.

    i will work today and push an update asap.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Redirect from shop page to checkout page’ is closed to new replies.