alda, (edited )
@alda@topspicy.social avatar

Adding a form field in most web frameworks:

  1. Add property to model
  2. Write a migration (if it isn't automated)
  3. Add field to the relevant templates
  4. Perhaps write a validation function

Adding a form field to the WooCommerce checkout process:

I have written 330 lines of code and I'm still not entirely sure if it really works.

#WordPress #WooCommerce #PHP

  • All
  • Subscribed
  • Moderated
  • Favorites
  • wordpress
  • DreamBathrooms
  • magazineikmin
  • thenastyranch
  • modclub
  • everett
  • rosin
  • Youngstown
  • slotface
  • ethstaker
  • mdbf
  • kavyap
  • osvaldo12
  • InstantRegret
  • Durango
  • megavids
  • ngwrru68w68
  • tester
  • khanakhh
  • love
  • tacticalgear
  • cubers
  • GTA5RPClips
  • Leos
  • normalnudes
  • provamag3
  • cisconetworking
  • anitta
  • JUstTest
  • All magazines