php - Change default magento shipping price -


so website delivers flowers people , depending on how far away shipment is, it's going cost more shipping. there 2 prices: 12.95 , 30.00. owner of website wants automatically "12.95" before zip code or typed in because says "turning people away" see 30.00 that. if type zip code in, isn't problem. it'll display correct amount. need 12.95, or totally blank until zip code typed in, default instead of 30.00. suggestions?

edit 1

the zip code input , radio button select price on 2 different pages. theyre under 1 larger umbrella page, doesnt seem able detect zip code tag or radio button/label. thats why cant make invisible until zip code typed. because can't bridge javascript across 2 pages that.

edit 2

well im not sure how 3 pages come together, im assuming zip code page , radio button page "included". arent part of actual document, cant accessed via dom. when theyre displayed on page, code comes whole. or appears way. tried manipulate variables via dom couldnt find them. tried change things via cookies gave me world of shit too. didnt work

set price 12.95 , set onchange eventlistener zip code input recalculate price.

$('#zipcode').change(function() {   updateprice($(this).val()); }); 

it's hard give specifics without actual code, sorry.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -