Hello, ok, no problem, i managed to edit the plugin code to add the shipping, i know this will make my plugin un-updatable but it's a simple code so if i need to update it for a new release i can add it again in the future.
I have written a note to our developers about adding this in the future update and still waiting for their response. Since WPC Fly Cart has some requirements to be met in order to make it work with special product types such as product bundles, composite products or grouped products so our developers will need to carefully consider this before carrying out.
Personally, I hope this will be added but the conduct is still up to our developers.
Has there been an update from the developers regarding this request?
The current implementation without the shipping costs can create a lot of confusion. Where the total amount is a lot higher than the subtotal, and since the shipping costs are missing it's not clear to the customer why that is the case. See screenshot for clarification.
It would be great if this could be fixed inside the plugin.
This request is still held on the To-do-list of our developers. They haven't reached up on this yet since we're having very heavy workloads. This might still take some more time for our devs to consider and add to the official features of our plugin.
I've solved this myself for now with some custom code, I will share it for the developers or anyone else who is looking to show the shipping costs at the cart. So if they want to implement this, they can just copy and paste!
Hello, i can't find an option to show the shipping cost on the fly cart, is there a way to do it?
Hi Luis,
Thanks for contacting us here.
Currently our plugin doesn't have this feature yet. You can only display the coupons on Fly Cart with the Premium version.
Best regards.
Janilyn T. - WPClever Support Agent
Hello, ok, no problem, i managed to edit the plugin code to add the shipping, i know this will make my plugin un-updatable but it's a simple code so if i need to update it for a new release i can add it again in the future.
Thanks for your feedback.
I have written a note to our developers about adding this in the future update and still waiting for their response. Since WPC Fly Cart has some requirements to be met in order to make it work with special product types such as product bundles, composite products or grouped products so our developers will need to carefully consider this before carrying out.
Personally, I hope this will be added but the conduct is still up to our developers.
Wish you all the best.
Best regards.
Janilyn T. - WPClever Support Agent
Hey Janilyn,
Has there been an update from the developers regarding this request?
The current implementation without the shipping costs can create a lot of confusion. Where the total amount is a lot higher than the subtotal, and since the shipping costs are missing it's not clear to the customer why that is the case. See screenshot for clarification.
It would be great if this could be fixed inside the plugin.
Thank you!
Maarten
Hi Maarten,
Thanks for checking back.
This request is still held on the To-do-list of our developers. They haven't reached up on this yet since we're having very heavy workloads. This might still take some more time for our devs to consider and add to the official features of our plugin.
Best regards.
Janilyn T. - WPClever Support Agent
Thanks for the reply Janilyn,
I've solved this myself for now with some custom code, I will share it for the developers or anyone else who is looking to show the shipping costs at the cart. So if they want to implement this, they can just copy and paste!
```
add_filter( 'woofc_below_subtotal_content', 'pp_add_shipping_to_cart', 99, 1 );
function pp_add_shipping_to_cart() {
global $woocommerce;
$shippingTotal = WC()->cart->get_cart_shipping_total();
$shippingMethods = WC()->session->get('chosen_shipping_methods');
$shippingCountry = WC()->countries->countries[WC()->session->customer['shipping_country']];
$shippingTotal = ($shippingTotal == 'Free!' ? wc_price(0) : $shippingTotal );
$shippingCountry = ($shippingCountry == '' ? __('estimated', 'themeslug') : $shippingCountry );
if(isset($shippingMethods)){
return '<div class="woofc-total"><div class="woofc-total-left">'. __('Shipping', 'themeslug') .' ('. $shippingCountry .')</div><div id="woofc-subtotal" class="woofc-total-right">'.$shippingTotal.'</div></div>';
}
}
```
Thanks so much for your sharing spirit, Maarten.
We hope that our developers can make it to add this feature to our plugin in the near future.
Best wishes.
Janilyn T. - WPClever Support Agent
Marteen, This code is not good if there is more shipping price and it is not updated with the cart.
How can I take it out of the flycart to add the shipping fee? Thanks