• Resolved Brian B

    (@duetit)


    Hey!

    First of all, fantastic plugin – super simple to use and looks amazing. πŸ™‚

    However we can only make it show on checkout but not the cart or side-cart. It might be due to our custom theme, but if you have any idea on what the issue is I would highly appreciate it.

    Brian

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Marin Matosevic

    (@marinmatosevic)

    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

    Thread Starter Brian B

    (@duetit)

    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! πŸ™‚

    Plugin Author Marin Matosevic

    (@marinmatosevic)

    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.

    Thread Starter Brian B

    (@duetit)

    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! πŸ™‚

    Plugin Author Marin Matosevic

    (@marinmatosevic)

    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

    Thread Starter Brian B

    (@duetit)

    @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

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Showing in checkout but not cart/side-cart’ is closed to new replies.