WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: kbob 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
-
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
<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
-
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
-
The code provided is not correct. This is how you call the user definable fields in your page settings:
<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>
-
The code provided is not correct.
thanks!
i change the wrong code in my last post
-
Hi CodeALot,
I just tried your code and it WORKS PERFECT!
Thank you for solving my problem, it is greatly appreciated.
Best regards,
Luc