Hamer01 Posted March 7, 2014 Share Posted March 7, 2014 Ahojte, upravil som si Dodatocne naklady na dopravu tak ze ked hodnotu ktoru tam zadam je vlastne cena dopravy pre dany produkt. Takze sumu ktoru tam zadavam mi nepripocitava k zakladnej taxe. Ked mam viac produktov tak vzdy vyberie najvyssiu cenu dopravy. Ked zadam do kolonky 0 tak mam dopravu zadarmo. Ide o to ze ked necham toto policko prazdne, a ulozim produkt tak do databazy mi zapise 0. (potrebujem nechavat toto policko prazdne pri produktoch kde mi pocita klasicky dopravu ako mam nastavene v systeme.) Zmenil som typ v pola additional_shipping_cost v databaze na real, ale aj varchar, predvolene som dal Ziadne. a stale ked ulozim produkt do databazy mi zapise 0. Viete mi poradit ako spravit aby sa do DB nezapisalo nic? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now