Hi Brian,
hmm, I don’t see it even on checkout…
are you using some other shipping plugins or everything is set up through WooCommerce shipping methods?
Please try to set Custom Threshold in the General Settings and let me know if that works. If Progress Bar is showing, then the problem is in the template.
Best regards
Marin
Hi Marin,
Thanks for getting back to me.
Apologies about the checkout part, that was my mistake – I had visibility for logged in users only enabled. You should be able to see it now.
And yes, we are using a 3rd party shipping plugin with the Custom Threshold, and as said it works perfect on checkout, but it’s not showing anywhere else. (Cart or Side-Cart)
Is there perhaps a code snippet we can manually insert in the Woocommerce php-files or in the functions file?
Regards! π
I see you have Porto theme, our plugin is working on that theme on Cart layout type 1, you have type 2 (which is better looking in my opinion), but that template is missing WooCommerce woocommerce_proceed_to_checkout action hook.
There is a workaround, but you’ll need to edit one template.
1. Find cart template located in your parent theme: ../themes/porto/woocommerce/cart/cart-totals-v2.php
2. Copy that template to your child theme in:
../themes/porto-child/woocommerce/cart/cart-totals-v2.php
3. In that template find “Proceed to checkout” button html and insert this block of code right above “wc-proceed-to-checkout” wrapper class (see screenshot):
<div class="devnet-wptc"><?php do_action('woocommerce_proceed_to_checkout'); ?></div>
This is default woocommerce hook for outputting “Proceed to checkout” button, and our plugin is injecting Progress Bar right above the button.
4. Since Porto already has its own button, you can simply hide default woocommerce button with this code:
.devnet-wptc .checkout-button {
display: none !important;
}
copy to the style.css in your child theme.
Let me know if it works as expected.
Hey again Marin,
Your solution worked perfectly, thank you so much for the very thorough answer. It’s exactly what were looking for. Not only it is working in the cart now, but with a bit of fiddling we can pretty much have it whereever we want now thanks to your code.
Highly appreciated and once again thank you for the excellent plugin! π
I’m glad I was able to help.
And thank you very much for your review! π
Best regards
Dear Brian, and support, I have also the same slide cart and the progress bar is not displayed on the slide cart .
here is the URL : shorturl.at/myCJV
Could you tell me how you succeed to get the progress bar in the slide cart ?
Best regards and thanks in advance for your help
@davidmazza21
Hi David,
I don’t think the plugin supports the Side Cart plugin per default, I had to manually insert it into the template file.
I’m not sure if this is the most “correct” or optimal way of doing it, but you can simply add the code that Marin wrote into the template files of WP Side Cart.
I’ve attached a screenshot below of where to put in the code if you want it in the same place as me. Apologies for the ugly trackpad arrow. π
https://i.ibb.co/cFx6pLc/image.png
Regards!
@duetit , first of all thaks a lot for your answer.
I’ll try this when I will be conencted to the Wodpress. Keep you posting.
Best,
David