Can you please share some screenshots ?
How can I add an attach file here?
Use some image hosting site and share the url
There you go
https://we.tl/uwGApMgWFj
Note the page id on the url bar
i can’t find any issue. can you please explain ?
With Divi theme, we can add shop module wherever we want, on any pages.
If I add the shop module to my home page, as an example, when your plugin is activate, I can’t edit the page anymore. I only get the white page with the «li» that you can see in the screenshot.
I’m talking editing the page as a normal page, in the backend.
-
This reply was modified 4 years, 3 months ago by
robintalbot.
I also use divi and receive this when click on edit page
Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/ltumkofx/detoxproject.ivanborisov.com/wp-content/plugins/woocommerce-quick-buy/includes/common-functions.php:50 Stack trace: #0 /home/ltumkofx/detoxproject.ivanborisov.com/wp-content/plugins/woocommerce-quick-buy/includes/class-frontend.php(120): wc_qb_product_in_cart(2176) #1 /home/ltumkofx/detoxproject.ivanborisov.com/wp-content/plugins/woocommerce-quick-buy/includes/class-shortcode.php(92): WooCommerce_Quick_Buy_FrontEnd->generate_button(Array) #2 /home/ltumkofx/detoxproject.ivanborisov.com/wp-includes/shortcodes.php(319): WooCommerce_Quick_Buy_Shortcode->quick_buy_link(Array, '', 'wc_quick_buy_li...') #3 [internal function]: do_shortcode_tag(Array) #4 /home/ltumkofx/detoxproject.ivanborisov.com/wp-includes/shortcodes.php(197): preg_replace_callback('/\\[(\\[?)(wc_qui...', 'do_shortcode_ta...', '[wc_quick_buy_l...') #5 /home/ltumkofx/detoxproject.ivanborisov.com/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(845): d in /home/ltumkofx/detoxproject.ivanborisov.com/wp-content/plugins/woocommerce-quick-buy/includes/common-functions.php on line 50
other problem is i need add space before my custom css
htmlclass=” et_pb_button”
because without space i receive
class=”wcqb_button wc_quick_buy_button quick_buy_button quick_buy_simple quick_buy_2176_button quick_buy_2176et_pb_button”
instead
class=”wcqb_button wc_quick_buy_button quick_buy_button quick_buy_simple quick_buy_2176_button quick_buy_2176 et_pb_button”
no space beetwen plugin and my cutom space
For the space needed, I’ve fixed it…
folder «includes/class-frontend.php» on line 115. It should be this …
$defined_class = ‘wc_quick_buy_button quick_buy_button quick_buy_’ . $type . ‘ quick_buy_’ . $pid . ‘_button quick_buy_’ . $pid . ‘ ‘ . $class;
Notice the space between the two last quote.
But, I have also try to add custom CSS where we are suppose to add some but it’s not working. I have to go in child theme CSS to be working.
-
This reply was modified 4 years, 3 months ago by
robintalbot.
Do u find solution on error when try edit page. For now i disable plugin, edit page where use quckbuy shortcode and after save enable plugin.
Other variant without disable plugin is use visual builder directly just append
“/?et_fb”
to the end of page url and divi visual builder open on page and work without problem. Problem is only when try edin page from
Admin panel > Pages > Page > edit link