WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Possible to add extra address fields
  • Print
Pages: [1]   Go Down

Author Topic: Possible to add extra address fields  (Read 6027 times)

Offline N1kko

  • Posts: 137
  • Gender: Male
Possible to add extra address fields
« on: December 09, 2014, 12:26:59 PM »
Hi,

Is it possible to add extra address fields? Such as

Address Line 1
Address Line 2
Address Line 3

Thanks
Logged
My Tools: MacBook Pro Retina, Coda2, Sketch 3... Couldn't live without them

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Re: Possible to add extra address fields
« Reply #1 on: September 10, 2015, 01:03:40 PM »
Hi,

It is, I have done it, but there are 7+ pages that need modification. It's a long process. What I did is take a field e.g. 'First Name' and search the downloaded bakery directory to look for files with 'first+name' in it (under Contents, not File Name), copied those files as back up, and amended as necessary with Notepad or Dreamweaver. These files with that search phrase all have the coding that relates to the contact form during checkout process

The files were:
view.php , view_form.php , view_summary.php , save_form.php , (then in /languages directory) EN.php , EN-GB.php , (then in payment_methods/paypal directory) post_data.php

To make it suit my needs for my site I'm working on, I changed 'First Name' to 'Your Name' and then changed 'Last Name' to 'Child Names' where relevant (keeping in mind the case and spelling) in the files needed. Uploaded them to overwrite the files that needed changing (including the post_data.php in the PayPal folder), and it worked fine. Studying the code to see how it is laid out (and I am NOT a programmer) allowed me to add extra fields as well.

Seanie.
Logged

Offline N1kko

  • Posts: 137
  • Gender: Male
Re: Possible to add extra address fields
« Reply #2 on: September 10, 2015, 01:15:13 PM »
Thanks but I no longer use Website Baker!
Logged
My Tools: MacBook Pro Retina, Coda2, Sketch 3... Couldn't live without them

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Possible to add extra address fields
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2