Skip to content

Commit

Permalink
updated to v1.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbaseman committed Oct 16, 2015
1 parent 38b887f commit 32c5da8
Show file tree
Hide file tree
Showing 67 changed files with 6,971 additions and 48 deletions.
4 changes: 4 additions & 0 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
// IMAGES AND THUMBNAILS (BACKEND)
// *******************************

// Name of the media subfolder that contains the Bakery images and thumbs
// No more than a proper directory name - no leading nor trailing slash
$img_dir = 'bakery';

// Selectable thumbnail default sizes (modify page settings)
$default_thumb_sizes['40'] = '40x40px';
$default_thumb_sizes['50'] = '50x50px';
Expand Down
7 changes: 5 additions & 2 deletions delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@
// Include WB functions
require_once(WB_PATH.'/framework/functions.php');

// Get some default values
require_once(WB_PATH.'/modules/bakery/config.php');

// Delete item access file, images and thumbs associated with the section
$query_items = $database->query("SELECT item_id, link FROM ".TABLE_PREFIX."mod_bakery_items WHERE section_id = '$section_id'");
if ($query_items->numRows() > 0) {
while ($item = $query_items->fetchRow()) {
// Delete item access file
if (is_writable(WB_PATH.PAGES_DIRECTORY.$item['link'].PAGE_EXTENSION)) { unlink(WB_PATH.PAGES_DIRECTORY.$item['link'].PAGE_EXTENSION); }
// Delete any images if they exists
$image = WB_PATH.MEDIA_DIRECTORY.'/bakery/images/item'.$item['item_id'];
$thumb = WB_PATH.MEDIA_DIRECTORY.'/bakery/thumbs/item'.$item['item_id'];
$image = WB_PATH.MEDIA_DIRECTORY.'/'.$img_dir.'/images/item'.$item['item_id'];
$thumb = WB_PATH.MEDIA_DIRECTORY.'/'.$img_dir.'/thumbs/item'.$item['item_id'];
if (is_dir($image)) { rm_full_dir($image); }
if (is_dir($thumb)) { rm_full_dir($thumb); }
// Delete item attributes in db
Expand Down
6 changes: 4 additions & 2 deletions delete_item.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
// Include WB admin wrapper script and WB functions
$update_when_modified = true; // Tells script to update when this page was last updated
require(WB_PATH.'/modules/admin.php');
// Get some default values
require_once(WB_PATH.'/modules/bakery/config.php');
// Include WB functions file
require_once(WB_PATH.'/framework/functions.php');

Expand All @@ -46,8 +48,8 @@
}

// Delete any images if they exists
$image = WB_PATH.MEDIA_DIRECTORY.'/bakery/images/item'.$item_id;
$thumb = WB_PATH.MEDIA_DIRECTORY.'/bakery/thumbs/item'.$item_id;
$image = WB_PATH.MEDIA_DIRECTORY.'/'.$img_dir.'/images/item'.$item_id;
$thumb = WB_PATH.MEDIA_DIRECTORY.'/'.$img_dir.'/thumbs/item'.$item_id;
if (is_dir($image)) { rm_full_dir($image); }
if (is_dir($thumb)) { rm_full_dir($thumb); }

Expand Down
3 changes: 3 additions & 0 deletions frontend.css
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ Modify the CSS of the invoice template and the view order in the backend stylesh
.mod_bakery_bt_pay_cod_f {
width: 98%;
}
.mod_bakery_bt_pay_bopis_f {
width: 98%;
}
.mod_bakery_bt_pay_advance_f {
width: 98%;
}
Expand Down
17 changes: 15 additions & 2 deletions info.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@
DEVELOPMENT HISTORY:
v0.7.4 (Christoph Marti; 10/16/2015)
+ Added payment method "Buy online, pick up in store" (bopis)
If customer selects bopis shipping is set to 0
+ [config.php] Added configurable name for the media subfolder that contains the Bakery images and thumbs
(requested by sky writer)
+ [languages/states/CA.php] Fixed typo in "British Columbia" (thanks to sky writer)
v1.7.3 (Christoph Marti; 10/06/2015)
+ [send_invoice.php - line 87] Fixed a parse error that was raised running newer php versions (reported by sabo-!)
+ [save_form.php] Fixed double closing wrapper </div> if address form reports an error (reported by sky writer)
+ Added Mollie payment plugin (API version) for Bakery 1.7.x (credits to Ruud - Dev4me)
http://www.dev4me.nl/modules-snippets/opensource/bakery-betaal-plugin-voor-mollie
v1.7.2 (Christoph Marti; 05/04/2015)
+ [languages/states/GB.php] Updated GB countries list
+ Bugfix: Fixed some PHP include pathes using full path: WB_PATH.'/modules/bakery/'
Expand All @@ -33,7 +46,7 @@
db function returned NULL instead of 0
+ [save_item.php] Bugfix: Under certain circumstances false images have been deleted (reported by Boudi)
http://forum.websitebaker.org/index.php/topic,28198.msg196712.html#msg196712
+ Added a button to the order page that makes is possible to send the customer invoice as an html email
+ Added a button to the order page that makes it possible to send the customer invoice as an html email
Makes use of the Premailer api to bring css inline (http://premailer.dialect.ca/api)
(thanks to marmot, jacobi22 and dbs)
Expand Down Expand Up @@ -657,7 +670,7 @@ function require_once() by include()
$module_directory = 'bakery';
$module_name = 'Bakery';
$module_function = 'page';
$module_version = '1.72';
$module_version = '1.74';
$module_platform = '2.7';
$module_author = 'Christoph Marti';
$module_license = 'GNU General Public License';
Expand Down
2 changes: 1 addition & 1 deletion languages/CS.php

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions languages/DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHOD'] = 'Zahlungsart ausw&auml;hlen';
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHODS'] = 'Zahlungsmethoden ausw&auml;hlen';
$MOD_BAKERY['TXT_PAYMENT_METHOD_COD'] = 'Nachnahme';
$MOD_BAKERY['TXT_PAYMENT_METHOD_BOPIS'] = 'Abholung im Ladengesch&auml;ft';
$MOD_BAKERY['TXT_PAYMENT_METHOD_ADVANCE'] = 'Vorauszahlung';
$MOD_BAKERY['TXT_PAYMENT_METHOD_INVOICE'] = 'Rechnung';
$MOD_BAKERY['TXT_PAYMENT_METHOD_PAYMENT_NETWORK'] = 'SOFORT &Uuml;berweisung';
Expand Down
1 change: 1 addition & 0 deletions languages/EN-GB.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHOD'] = 'Select Payment Method';
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHODS'] = 'Select Payment Methods';
$MOD_BAKERY['TXT_PAYMENT_METHOD_COD'] = 'Cash on Delivery';
$MOD_BAKERY['TXT_PAYMENT_METHOD_BOPIS'] = 'Buy online, pick up in store';
$MOD_BAKERY['TXT_PAYMENT_METHOD_ADVANCE'] = 'Advance Payment';
$MOD_BAKERY['TXT_PAYMENT_METHOD_INVOICE'] = 'Invoice';
$MOD_BAKERY['TXT_PAYMENT_METHOD_PAYMENT_NETWORK'] = 'SOFORT Banking';
Expand Down
1 change: 1 addition & 0 deletions languages/EN.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHOD'] = 'Select Payment Method';
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHODS'] = 'Select Payment Methods';
$MOD_BAKERY['TXT_PAYMENT_METHOD_COD'] = 'Cash on Delivery';
$MOD_BAKERY['TXT_PAYMENT_METHOD_BOPIS'] = 'Buy online, pick up in store';
$MOD_BAKERY['TXT_PAYMENT_METHOD_ADVANCE'] = 'Advance Payment';
$MOD_BAKERY['TXT_PAYMENT_METHOD_INVOICE'] = 'Invoice';
$MOD_BAKERY['TXT_PAYMENT_METHOD_PAYMENT_NETWORK'] = 'SOFORT Banking';
Expand Down
1 change: 1 addition & 0 deletions languages/FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHOD'] = 'Veuillez choisir une M&eacute;thode de Paiement';
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHODS'] = 'S&eacute;lectionner les M&eacute;thodes de Paiement';
$MOD_BAKERY['TXT_PAYMENT_METHOD_COD'] = 'Contre Remboursement';
$MOD_BAKERY['TXT_PAYMENT_METHOD_BOPIS'] = 'L&apos;enl&eacute;vement d&eacute;part boutique';
$MOD_BAKERY['TXT_PAYMENT_METHOD_ADVANCE'] = 'Paiement anticip&eacute;';
$MOD_BAKERY['TXT_PAYMENT_METHOD_INVOICE'] = 'Facture';
$MOD_BAKERY['TXT_PAYMENT_METHOD_PAYMENT_NETWORK'] = 'SOFORT Banking';
Expand Down
3 changes: 2 additions & 1 deletion languages/IT.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHOD'] = 'Prego selezionare un metodo di pagamento';
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHODS'] = 'Seleziona Metodi Pagamento';
$MOD_BAKERY['TXT_PAYMENT_METHOD_COD'] = 'Pagamento a Consegna';
$MOD_BAKERY['TXT_PAYMENT_METHOD_BOPIS'] = 'Ritiro in Negozio';
$MOD_BAKERY['TXT_PAYMENT_METHOD_ADVANCE'] = 'Pagamento Anticipato';
$MOD_BAKERY['TXT_PAYMENT_METHOD_INVOICE'] = 'Fattura';
$MOD_BAKERY['TXT_PAYMENT_METHOD_PAYMENT_NETWORK'] = 'SOFORT Banking';
Expand Down Expand Up @@ -159,7 +160,7 @@
$MOD_BAKERY['TXT_CART'] = 'Carrello';
$MOD_BAKERY['TXT_ORDER'] = 'Ordine';
$MOD_BAKERY['TXT_ORDER_ID'] = 'Ordine #';
$MOD_BAKERY['TXT_INVOICE_ID'] = 'Fattura#';
$MOD_BAKERY['TXT_INVOICE_ID'] = 'Fattura #';
$MOD_BAKERY['TXT_CONTINUE_SHOPPING'] = 'Continua lo shopping';
$MOD_BAKERY['TXT_ADD_TO_CART'] = 'Aggiungi al carrello';
$MOD_BAKERY['TXT_VIEW_CART'] = 'Vedi carrello';
Expand Down
1 change: 1 addition & 0 deletions languages/NL.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHOD'] = 'Kies een betaalmethode';
$MOD_BAKERY['TXT_SELECT_PAYMENT_METHODS'] = 'Kies betaalmethodes';
$MOD_BAKERY['TXT_PAYMENT_METHOD_COD'] = 'COD';
$MOD_BAKERY['TXT_PAYMENT_METHOD_BOPIS'] = 'Afhalen in de winkel';
$MOD_BAKERY['TXT_PAYMENT_METHOD_ADVANCE'] = 'Vooruitbetaling';
$MOD_BAKERY['TXT_PAYMENT_METHOD_INVOICE'] = 'Factuur';
$MOD_BAKERY['TXT_PAYMENT_METHOD_PAYMENT_NETWORK'] = 'SOFORT Banking';
Expand Down
2 changes: 1 addition & 1 deletion languages/states/CA.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// Modify the state list to fit your needs by deleting lines or changing the lines order

$MOD_BAKERY['TXT_STATE_CODE'][1] = 'AB'; $MOD_BAKERY['TXT_STATE_NAME'][1] = 'Alberta';
$MOD_BAKERY['TXT_STATE_CODE'][] = 'BC'; $MOD_BAKERY['TXT_STATE_NAME'][] = 'British Columnbia';
$MOD_BAKERY['TXT_STATE_CODE'][] = 'BC'; $MOD_BAKERY['TXT_STATE_NAME'][] = 'British Columbia';
$MOD_BAKERY['TXT_STATE_CODE'][] = 'MB'; $MOD_BAKERY['TXT_STATE_NAME'][] = 'Manitoba';
$MOD_BAKERY['TXT_STATE_CODE'][] = 'NB'; $MOD_BAKERY['TXT_STATE_NAME'][] = 'New Brunswick';
$MOD_BAKERY['TXT_STATE_CODE'][] = 'NL'; $MOD_BAKERY['TXT_STATE_NAME'][] = 'Newfoundland and Labrador';
Expand Down
4 changes: 3 additions & 1 deletion modify.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
}
}

// Get some default values
require_once(WB_PATH.'/modules/bakery/config.php');
// Include WB functions file
require_once(WB_PATH.'/framework/functions.php');

Expand Down Expand Up @@ -127,7 +129,7 @@
$main_image = FALSE;
$main_image = $database->get_one("SELECT `filename` FROM ".TABLE_PREFIX."mod_bakery_images WHERE `item_id` = '{$post['item_id']}' AND `active` = '1' ORDER BY `position` ASC LIMIT 1");
$main_thumb = str_replace(".png", ".jpg", $main_image);
$main_thumb_url = WB_URL.MEDIA_DIRECTORY.'/bakery/thumbs/item'.$post['item_id'].'/'.$main_thumb;
$main_thumb_url = WB_URL.MEDIA_DIRECTORY.'/'.$img_dir.'/thumbs/item'.$post['item_id'].'/'.$main_thumb;

?>
<tr id="row_<?php echo $post['item_id']; ?>" class="irow">
Expand Down
4 changes: 2 additions & 2 deletions modify_item.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ function show_wysiwyg_editor($name,$id,$content,$width,$height) {
$main_img = '<b>'.$MOD_BAKERY['TXT_MAIN_IMAGE'].'</b><br />';

// Prepare image and thumb directory pathes and urls
$img_url = WB_URL.MEDIA_DIRECTORY.'/bakery/images/item'.$item_id.'/';
$thumb_url = WB_URL.MEDIA_DIRECTORY.'/bakery/thumbs/item'.$item_id.'/';
$img_url = WB_URL.MEDIA_DIRECTORY.'/'.$img_dir.'/images/item'.$item_id.'/';
$thumb_url = WB_URL.MEDIA_DIRECTORY.'/'.$img_dir.'/thumbs/item'.$item_id.'/';

// Get image top position for this item
$top_img = $database->get_one("SELECT MAX(`position`) FROM ".TABLE_PREFIX."mod_bakery_images WHERE `item_id` = '$item_id'");
Expand Down
2 changes: 2 additions & 0 deletions modify_payment_methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function mod_bakery_select_payment_method_b() {
// If needed replace payment method names by localisations
switch ($directory) {
case 'cod': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_COD']; break;
case 'bopis': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_BOPIS']; break;
case 'advance': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_ADVANCE']; break;
case 'invoice': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_INVOICE']; break;
case 'payment-network': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_PAYMENT_NETWORK']; break;
Expand Down Expand Up @@ -156,6 +157,7 @@ function mod_bakery_select_payment_method_b() {
// If needed replace payment method names by localisations
switch ($payment_method) {
case 'cod': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_COD']; break;
case 'bopis': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_BOPIS']; break;
case 'advance': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_ADVANCE']; break;
case 'invoice': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_INVOICE']; break;
case 'payment-network': $name = $MOD_BAKERY['TXT_PAYMENT_METHOD_PAYMENT_NETWORK']; break;
Expand Down
2 changes: 1 addition & 1 deletion payment_methods/advance/languages/DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$MOD_BAKERY[$payment_method]['TXT_ACCOUNT'] = 'Bezahlen Sie Ihre Bestellung im Voraus auf unser Konto.';
$MOD_BAKERY[$payment_method]['TXT_PAY'] = 'Ich bezahle per Vorauszahlung';

// USED BY FILE bakery/view.php
// USED BY FILE bakery/view_confirmation.php
$MOD_BAKERY[$payment_method]['TXT_SUCCESS'] = 'Sie erhalten von uns eine E-Mail mit der Auftragsbest&auml;tigung und den Zahlungsinformationen.';
$MOD_BAKERY[$payment_method]['TXT_SHIPMENT'] = 'Sobald Ihre Zahlung bei uns eingegangen ist, werden wir Ihnen die gew&uuml;nschten Artikel unverz&uuml;glich zusenden.';

Expand Down
28 changes: 28 additions & 0 deletions payment_methods/bopis/check_payment.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

/*
Module developed for the Open Source Content Management System WebsiteBaker (http://websitebaker.org)
Copyright (C) 2007 - 2015, Christoph Marti
LICENCE TERMS:
This module is free software. You can redistribute it and/or modify it
under the terms of the GNU General Public License - version 2 or later,
as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html.
DISCLAIMER:
This module is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/


// Prevent this file from being accessed directly
if (defined('WB_PATH') == false) {
exit("Cannot access this file directly");
}

// Set payment status tu success
$payment_status = 'success';
include(WB_PATH.'/modules/bakery/view_confirmation.php');
return;
60 changes: 60 additions & 0 deletions payment_methods/bopis/gateway.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php

/*
Module developed for the Open Source Content Management System WebsiteBaker (http://websitebaker.org)
Copyright (C) 2007 - 2015, Christoph Marti
LICENCE TERMS:
This module is free software. You can redistribute it and/or modify it
under the terms of the GNU General Public License - version 2 or later,
as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html.
DISCLAIMER:
This module is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/


// Prevent this file from being accessed directly
if (defined('WB_PATH') == false) {
exit("Cannot access this file directly");
}

// Include info file
include(WB_PATH.'/modules/bakery/payment_methods/'.$payment_method.'/info.php');

// Look for payment method language file
if (LANGUAGE_LOADED) {
include(WB_PATH.'/modules/bakery/payment_methods/'.$payment_method.'/languages/EN.php');
if (file_exists(WB_PATH.'/modules/bakery/payment_methods/'.$payment_method.'/languages/'.LANGUAGE.'.php')) {
include(WB_PATH.'/modules/bakery/payment_methods/'.$payment_method.'/languages/'.LANGUAGE.'.php');
}
}
?>


<tr>
<td colspan="2"><h3 class="mod_bakery_pay_h_f"><?PHP echo $MOD_BAKERY[$payment_method]['TXT_TITLE']; ?></h3></td>
</tr>
<tr>
<td colspan="2"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr align="left" valign="top">
<td width="33.3%" class="mod_bakery_pay_td_f"><b>1</b>.<br />
<?PHP echo $MOD_BAKERY[$payment_method]['TXT_SUCCESS']; ?></td>
<td width="33.3%" class="mod_bakery_pay_td_f"><b>2</b>.<br />
<?PHP echo $MOD_BAKERY[$payment_method]['TXT_PICKUP']; ?></td>
<td width="33.4%" class="mod_bakery_pay_td_f"><b>3</b>.<br />
<?PHP echo $MOD_BAKERY[$payment_method]['TXT_PAY']; ?></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" class="mod_bakery_pay_submit_f">
<input type="submit" name="payment_method[<?php echo $payment_method ?>]" class="mod_bakery_bt_pay_<?php echo $payment_method ?>_f" value="<?php echo $MOD_BAKERY[$payment_method]['TXT_PAY']; ?>" onclick="javascript: return checkTaC()" />
</td>
</tr>
<tr>
<td colspan="2"><hr class="mod_bakery_hr_f" /></td>
</tr>
Binary file added payment_methods/bopis/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions payment_methods/bopis/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

/*
Module developed for the Open Source Content Management System WebsiteBaker (http://websitebaker.org)
Copyright (C) 2007 - 2015, Christoph Marti
LICENCE TERMS:
This module is free software. You can redistribute it and/or modify it
under the terms of the GNU General Public License - version 2 or later,
as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html.
DISCLAIMER:
This module is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/


header("Location: ../../../../index.php");
46 changes: 46 additions & 0 deletions payment_methods/bopis/info.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php

/*
Module developed for the Open Source Content Management System WebsiteBaker (http://websitebaker.org)
Copyright (C) 2007 - 2015, Christoph Marti
LICENCE TERMS:
This module is free software. You can redistribute it and/or modify it
under the terms of the GNU General Public License - version 2 or later,
as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html.
DISCLAIMER:
This module is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/



// DEFINE THE PAYMENT METHOD SETTINGS
// **********************************

/*
Define the payment method settings that the shop admin will have to set in the Bakery backend.
Make sure that every var set below has its counterpart in the payment method language files:
eg. $field_1 = 'email';
$MOD_BAKERY[$payment_method]['TXT_EMAIL'] = 'E-Mail';
=> 'email' will be converted to uppercase 'TXT_EMAIL'
*/
$field_1 = '';
$field_2 = '';
$field_3 = '';
$field_4 = '';
$field_5 = '';
$field_6 = '';



// PAYMENT METHOD INFO
// *******************

$payment_method_name = 'Buy online, pick up in store';
$payment_method_version = '0.1';
$payment_method_author = 'Christoph Marti';
$requires_bakery_module = '1.7';
Loading

0 comments on commit 32c5da8

Please sign in to comment.