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?
The page I need help with: [log in to see the link]
Have you configured the settings correctly?
If yes can you please provide some more information like settings page screenshot and front-end screen shot
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.
Can you please try a HOT Fix and let me know if its working ??
Hot Fix :
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
- This reply was modified 2 years, 3 months ago by Varun Sridharan.
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.
I kept the elementor issue aside and tried your Hot Fix. It still ain’t working as expected.
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.
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.
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.
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?
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.
[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
#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
Hi, could you find what is the issue that I am facing with Elementor Editor?
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???
- The topic ‘Redirect from shop page to checkout page’ is closed to new replies.