@taisho,
Thanks for sharing your concern, Here I am little bit confuse about your requirement.If possible can you please provide screenshot about what functionality you want.So that we can look into it and give you a proper suggestions and solutions.
Thanks,
Multidots
Thread Starter
taisho
(@taisho)
Hello, after some more testing it looks like either a random flat rate or a random of all shipping options is checked as default on checkout.
I don’t know if screenshots would help, I have it in other language, but the deal is that I have checkout page and a list of shipping options:
<ul id=”shipping_method”> which is in table data of <tr class =”shipping”>
This is how my 2 first li elements on the list look like:
<input name=”shipping_method[0]” data-index=”0″ id=”shipping_method_0_flat_rate” value=”flat_rate” class=”shipping_method” type=”radio”>
<label for=”shipping_method_0_flat_rate”>Kurier: <span class=”amount”>17,00 zł</span></label>
<input name=”shipping_method[0]” data-index=”0″ id=”shipping_method_0_flat_ratecustom_flat_rate_1″ value=”flat_rate:custom_flat_rate_1″ checked=”checked” class=”shipping_method” type=”radio”>
<label for=”shipping_method_0_flat_ratecustom_flat_rate_1″>List polecony ekonomiczny: <span class=”amount”>5,90 zł</span></label>
Thread Starter
taisho
(@taisho)
I managed to do a workaround. In woocommerce settings there is an option to set shipping method priority.
It appeared to me, that all flat rates, both default and additional ones from the plugin have the same priority set. Additional priority filter for options with the same priority number is supposed to be price, but for me it behaved quite randomly.
So to make 1st option on the list always default, I just created a new shipping option out of method with ID international_delivery, moved it to the top and assigned a priority of 1. Then I assigned a priority of 2 to flat rate.
@taisho,
Thank you for your feedback.
I understand your concern. You are talking about Selection priority option which default woocommece will provide. Our Plugin will extend default woocommece flat method. So based on order you choose for flat rate method will apply same for our extra flat rate shipping.
Extra flat rate shipping created by you will not display in woocommece shipping listing section so you can’t not set Propriety or order for extra flat method.
let us know if you have still any issue we will be happy to help you
Thanks,
Multidots