Shipping costs differentiation
-
Hi there,
I am running a Woocommerce shop with about 50 products. I would like to customize the shipping costs like this:
- Registrated customers: No shipping costs
- Guest customers: Shipping costs up to 50 EUR, over 50 EUR shippment for free
Is this possible?
I like overstrained with this customization.
Thnx.
Best
Marco
-
Hi @marcobutz,
Shipping costs up to 50 EUR, with free shipping for orders over 50 EUR, can be achieved through a combination of WooCommerce’s built-in shipping methods: “Free Shipping” and “Flat Rate”
Access your WooCommerce shipping settings from WooCommerce > Settings > Shipping
Select or create a shipping zone and add shipping method.
Flat Rate (Under 50 EUR):
- Add “Flat Rate” shipping method.
- Set the shipping cost (e.g., 5 EUR) for orders below 50 EUR.
Free Shipping (Over 50 EUR):
- Add “Free Shipping” method.
- Set the “Minimum order amount” to 50 EUR.
Then WooCommerce will handles the logic: If the order is under 50 EUR, Flat Rate applies. If it’s 50 EUR or more, Free Shipping applies. This setup applies to all customers.
WooCommerce does not provide built-in conditional shipping based on user roles, For registered customers it will require 3rd party plugin. The plugin will ensure registered users always get free shipping.
You can use a plugin like “Table Rate Shipping for WooCommerce – Flexible Shipping” It will allow you to set shipping costs based on user roles ( logged in users ). You can reach out to plugin support for help.
Hey @sajibwap thank you very much! That helped very much.
One last question to it: I tested it and it works besides there is this still a choice of free shipment or flat rate (I customized with 4,95 EUR with DHL). I do not want to offer this choice. Shipment calculator is okay in the cart page, but I do not want to have the choice. Is it because at that point the adress isn’t knwon yet?
Best
@sajibwap Here is a screenshot from the cart:
https://www.directupload.eu/file/d/8866/rmbnv6nk_png.htm
and here from the checkout page:
https://www.directupload.eu/file/d/8866/3jeh945w_png.htm
It’s under “Versandart”.
Thnx for your help!
Best
Marco
Hello marcobutz,
Thank you for contacting WooCommerce support.
I understand that you want to customize shipping costs based on customer type and order value.
This feature isn’t available in core WooCommerce, but you can achieve it using the Conditional Shipping and Payments plugin. It comes with a 30-day money-back guarantee and premium support.
Let me know if you have any questions.
Best regards
@doublezed2 Thank you very much.
There is one last thing: Where can I disable this additional “Shipping method” under “Versandart”?
I tried this with the following CSS but I guess the class is not wright?
.wfacp_shipping_options label {
display: none !important;
}May I ask you for your help?
Best
Marco
Hi @marcobutz,
To disable an additional “Shipping Method” in WooCommerce, go to WooCommerce → Settings → Shipping and select the relevant Shipping Zone. From there, you can review and remove any unwanted shipping methods.
If you are using a plugin to manage shipping, the extra shipping method may be coming from that plugin. In this case, you will need to disable or adjust the settings directly within the plugin.
@mosesmedh Thank you, but this IS NOT want I wanted to know. I want to know: How can I get rid of the lable “shiping method” as I already have a headline called “Versandart”.
Hello marcobutz,
Thank you for your reply.
I understand you want to hide or remove the label “shiping method”.
The CSS code you shared appears to be correct but as it is not working, some other code might be overwriting it. Could you share your site’s URL so I can check the page code and have a closer look?
I look forward to your response.
Best regards.
Hey @doublezed2 , good morning.
Thank you very much for looking into it. The site is
You need to throw someting in the basket and maybe put in a german adress to be apear.
thank you!!
Hi there!
Could you please try to use the following code.#wfacp-e-form .wfacp_main_form .wfacp_shipping_options .wfacp_main_form.label {
display: none !important;
}The code is working fine on my end, as shown in this screenshot: https://go.screenpal.com/watch/cTeZQNniZBF
Let me know how that goes.Hey @shahzeenfarooq thnx but not working on my end. I implemented it in additional CSS, but not working. Strange. Look here: https://prnt.sc/eYctHcHDZaP9
Shiping method is still there – the label I mean
Hi there!
The CSS code you are using is not appearing on the front end, which is why the text is not hiding. It seems like there is a plugin on your site that is preventing the settings from updating or there is incorrect code in the custom CSS section, causing the styles not to apply on the front end.
To troubleshoot further, please try deactivating any caching plugin you are using and see if that resolves the issue. If the issue persists, copy all the CSS code from the custom CSS section and save it on your computer. Then, try adding only the code we shared and check if it works.
I can recommend WooExperts and Codeable.io as options for getting professional help. Alternatively, you can also ask your development questions in the WooCommerce Community Slack as custom code falls outside our usual scope of support
@shahzeenfarooq Thank you very much. You brought me to the idea, to put the CSS code directly to the plugins CSS code area. So basically directly. The checkout form is from FunnelKit. And. There we go: it worked out. So thank you very much to dig into it even better by you thoughts.
Ticket can be closed.
Best
Marco
Hi there!
You’re very welcome! 😊 I’m glad my thoughts helped you find the right solution by adding the CSS directly to the plugin’s CSS area. It’s great to hear that everything is working as expected now!
I’m glad we were able to help! If you have a few minutes, we’d love if you could leave us a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/@shahzeenfarooq Done with the review 🙂
https://ww.wp.xz.cn/support/topic/very-good-support-388/#new-post
The topic ‘Shipping costs differentiation’ is closed to new replies.