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 »
  • Definable fields
  • Print
Pages: [1]   Go Down

Author Topic: Definable fields  (Read 6572 times)

Offline kbob

  • Posts: 6
Definable fields
« on: November 27, 2012, 01:59:29 PM »
Hi :)

Could someone please give me a step by step guide on how to use the definable fields feature?
I can get them to show up under a shop item, (but only on the home page, not when someone clicks on the item for more details), and I would like to know how to take the information gathered from that field and send it with the payment in the order.

Many thanks
Logged

jacobi22

  • Guest
Re: Definable fields
« Reply #1 on: November 27, 2012, 03:18:09 PM »
define your definable fields in the bakery setting
define the values in the item settings
use the placeholders [FIELD_1], [FIELD_2] and/or [FIELD_3] to show the values in your templates
use the placeholders  [TXT_FIELD_1], [TXT_FIELD_2] and/or [TXT_FIELD_3] for the Field-Names in your templates

go to bakery/page setting and put this placeholders where ever you want, maybe like this

Code: [Select]

<tr>
<td align="left" valign="top"><span class="mod_bakery_item_stock_f">[TXT_FIELD_1]:</span></td>
<td align="left" valign="top">[FIELD_1]</td>
</tr>



Help: -> http://www.bakery-shop.ch/#definable_fields

if you need this definable field in the mails, please read here -> https://forum.WebsiteBaker.org/index.php/topic,25028.msg170591.html#new

its german, look to the code
« Last Edit: September 05, 2013, 06:29:12 PM by jacobi22 »
Logged

Offline carto

  • Posts: 12
Re: Definable fields
« Reply #2 on: July 29, 2013, 01:07:16 AM »
Hi,

I still have a problem with defienable fields.

Contrary to KBOB the defineables fields do not show up on my item page, but they show on the add item page.

What am I doing wrong or missing?

Maybe someone could post a link to a bakery website that uses those defineable fileds that I could use as an example?

Thank you and best regards

Luc
« Last Edit: August 17, 2013, 04:30:37 PM by carto »
Logged

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: Definable fields
« Reply #3 on: September 05, 2013, 04:53:44 PM »
The code provided is not correct. This is how you call the user definable fields in your page settings:

Code: [Select]
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_stock_f">[TXT_FIELD_1]:</span></td>
<td align="left" valign="top">[FIELD_1]</td>
</tr>
Logged

jacobi22

  • Guest
Re: Definable fields
« Reply #4 on: September 05, 2013, 06:30:45 PM »
Quote
The code provided is not correct.

thanks!
i change the wrong code in my last post
Logged

Offline carto

  • Posts: 12
Re: Definable fields
« Reply #5 on: September 06, 2013, 01:01:38 AM »
Hi CodeALot,

I just tried your code and it WORKS PERFECT!
Thank you for solving my problem, it is greatly appreciated.
Best regards,

Luc
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Definable fields
 

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