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 »
  • Free definable Fields will not display (in 2 shops too)
  • Print
Pages: [1]   Go Down

Author Topic: Free definable Fields will not display (in 2 shops too)  (Read 4816 times)

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Free definable Fields will not display (in 2 shops too)
« on: September 11, 2015, 12:45:11 PM »
Hi there Bakers,

This hasn't surfaced in a search of this site, so I need to ask help on the following: I am using 2 of the 3 'Free definable Field' options in General Settings, but they will not display for me in the product's live view. I can confirm that the names I gave the fields exist in the database ('ISBN#' and 'Product Dimensions'), but they do not display in the product view (both when empty and with details added). This is occurring on 2 sites using Bakery at the moment.

Any clues as to where I went wrong?


Thanks,

Seanie.
Logged

Offline jacobi22

  • Betatester
  • **
  • Posts: 5920
Re: Free definable Fields will not display (in 2 shops too)
« Reply #1 on: September 11, 2015, 01:14:18 PM »
do you read the instructions? you have to change the item template to show the definable field

see http://www.bakery-shop.ch/#definable_fields
Logged

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Re: Free definable Fields will not display (in 2 shops too) [SOLVED]
« Reply #2 on: September 11, 2015, 02:17:27 PM »
Quote from: jacobi22 on September 11, 2015, 01:14:18 PM
do you read the instructions? you have to change the item template to show the definable field

see http://www.bakery-shop.ch/#definable_fields

Perfect, that worked, thanks! I might as well add the steps for everyone else to read (rather than leave an un-ended thread!)

First, you need to include some CSS for the Free definable Field:

1. Download frontend.css from the modules/bakery directory.

2. At line 104 where the property:
Code: [Select]
.mod_bakery_item_stock_f {
font-weight: bold;
}
is located, add the following underneath it for a new property:
Code: [Select]
.mod_bakery_item_definable_field_f {
font-weight: bold;
}

3. Save and re-upload to your modules/bakery directory.


Now, you need to add the fields to be displayed to the template. Go to Page Settings in your Bakery's admin backend.

1. Go to the 'Item Detail (footer)' section.

(1a. Tip: It might be easier to copy the text from this box and paste it into Notepad (Win) or Text Edit (Mac) to make it easier to edit. Then when you have finished the edit, copy and paste it back into 'Item Detail (footer)')

2. After you have located the following table row of text:
Code: [Select]
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_stock_f">[TXT_STOCK]:</span></td>
<td align="left" valign="top">[STOCK]</td>
</tr>
paste the following code after it:
Code: [Select]
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_definable_field_f">[TXT_FIELD_1]:</span></td>
<td align="left" valign="top">[FIELD_1]</td>
</tr>
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_definable_field_f">[TXT_FIELD_2]:</span></td>
<td align="left" valign="top">[FIELD_2]</td>
</tr>
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_definable_field_f">[TXT_FIELD_3]:</span></td>
<td align="left" valign="top">[FIELD_3]</td>
</tr>

3. Save the page, making sure you have checked the box for Update Page Settings (without "Continue Shopping URL") of all Shop Pages.

4. And you're done!


Hope this helps,

Seanie.

P.S. If an Admin can add [SOLVED] to the original thread title, brilliant.
« Last Edit: September 11, 2015, 02:25:31 PM by seanie_morris »
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Free definable Fields will not display (in 2 shops too)
 

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