Jump to content

Dodatocna cena dopravy


Recommended Posts

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?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More