How to do the Flat Rate Shipping Method only for selected products.
How to do the Flat Rate Shipping Method only for selected products.
Solved! Go to Solution.
Hi@Aveeva,
It required register/login on this website.
BTW you can download from the below link which I have created for you.
https://drive.google.com/file/d/1d455_x7B4-RAeEyaJMBpv1DW7RTsI0_Q/view
Let me know, if you still face any issue.
yes working perfect, how can i apply the condition like if Category And Product shipping is applicable don't show other shipping Methods.
@Aveeva
Good to hear that it is working perfect.
You need to make some customization as per your requirement (show/hide shipping method) in the following template file of your current theme.
template/checkout/onepage/shipping_method/available.phtml
You could try to make a product-attribute and a customisation in the cartprice-rules so you can add an attribute flat Rate shipping next to the free shipping option. If you creat a cartpricerule wirhout discount but with a flatrate option. It is a bit of a 'thinking out loud' reply. I'm not 100% sure it works. Good luck.
Hi @Aveeva
I have used following extension earlier for flat rate shipping for specific products. It is open source.
https://www.magecloud.net/marketplace/extension/category-and-product-shipping/
You can use it or get some clue from extension model file as per your requirements.
I hope if will help you!
Good Luck!
@Vimal Kumar I can't able to download, could you pls help me to do download? https://www.magecloud.net/marketplace/extension/category-and-product-shipping/
Hi@Aveeva,
It required register/login on this website.
BTW you can download from the below link which I have created for you.
https://drive.google.com/file/d/1d455_x7B4-RAeEyaJMBpv1DW7RTsI0_Q/view
Let me know, if you still face any issue.
@Aveeva
Good to hear that it is working perfect.
You need to make some customization as per your requirement (show/hide shipping method) in the following template file of your current theme.
template/checkout/onepage/shipping_method/available.phtml
Hello @Aveeva
https://github.com/karliuka/m2.ShippingTweaks
in this plugin, hide all other shipping methods when free available.
https://github.com/karliuka/m2.ShippingTweaks/blob/master/Plugin/Shipping/Model/Rate/Result.php
In above file, you can modify like if you get the specific product then do you logic
hope it will help you, if help you then mark as solution.
Can i get for M1.