I have developed Ajax base shipping plugin for woocomerce, where user select the city from the dropdown (have used ajax on drop-down) and charges for that city are showing and adding to the total. so its working fine, but issue is that its only calculate the price for first time, when i select the second drop-down its update $rates array but the
$this->add_rate( $rates );not working.
And when i refresh the page its getting the last selected city shipping charges. so to me looking like issues with
$this->add_rate( $rates );which only register the rate at first time.
Any one here who can help me to figure out where is the issue.
- The topic ‘Woocomerce Ajax Base Shipping plugin…’ is closed to new replies.