I'm struggling with Woocommerce shipping input type radio editing. I don't know any programing language so I want to ask you if you can guide me little.
I would like to add shipping method "Zasielkovna". It should work like this
window appears and you choose pickup point
under this shipping option is written chosen pick up point
Guide from zasielkovna company says that I have to add this before end of /body tag which I did.
<script>
var packetaSelectorOpen = '.packeta-selector-open';
var packetaSelectorBranchName = '.packeta-selector-branch-name';
var packetaSelectorBranchId = '.packeta-selector-branch-id';
var packetaPrimaryButtonColor = '#39b54a';
var packetaBackgroundColor = '#ffffff';
var packetaFontColor = '#555555';
var packetaFontFamily = 'Arial';
</script>
<script src="https://widget.packeta.com/www/js/packetaWidget.js" data-api-key=""></script>
Then you have to add these 3 selectors
- .packeta-selector-open Typically button (input[type=”radio”]), after click, system opens.
- .packeta-selector-branch-name place of the name of pickup point, (shipping Zásilkovna, pickup point XXX)
- .packeta-selector-branch-id ID of pickup point, which is used to export data do Zasielkovna. Typically input[type=hidden], which is saved to order.
How can I add these selectors to my woocommerce cart shipping option 'Zásilkovna' ? image
My store https://www.cukrovavata.cz/
Sorry for my English