Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Issue with Held Order Add-on (no listed support thread)


toyzonline

Recommended Posts

Hi,

 

I have installed the Held orders Add-on (http://addons.oscommerce.com/info/8984/v,23) and have come across a small issue, which so happens to correspond to the one step in the instructions I had to think about:

 

 

5. Open admin/includes/boxes/customers.php

Find the following:

(
'code' => FILENAME_CUSTOMERS,
'title' => BOX_CUSTOMERS_CUSTOMERS,
'link' => tep_href_link(FILENAME_CUSTOMERS)
)

=============================================
Add this directly behind
=============================================
 

'
array(
'code' => FILENAME_HELD_ORDERS,
'title' => BOX_HELD_ORDERS,
'link' => tep_href_link(FILENAME_HELD_ORDERS)
) .

 

With this step I was wondering whether behind actually meant before or after?

 

Either way I have tried and get the following error (just reporting to different line whether I put before or after)

 

Parse error: syntax error, unexpected ''' (T_CONSTANT_ENCAPSED_STRING), expecting '(' in /home/********/public_html/shop/admin/includes/boxes/customers.php on line 19

 As it stands to get this error my coding looks like

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2014 osCommerce

  Released under the GNU General Public License
*/

  $cl_box_groups[] = array(
    'heading' => BOX_HEADING_CUSTOMERS,
    'apps' => array(
      array
'
array(
'code' => FILENAME_HELD_ORDERS,
'title' => BOX_HELD_ORDERS,
'link' => tep_href_link(FILENAME_HELD_ORDERS)
).
(
        'code' => FILENAME_CUSTOMERS,
        'title' => BOX_CUSTOMERS_CUSTOMERS,
        'link' => tep_href_link(FILENAME_CUSTOMERS)
      )
    )
  );
?>

Any body help me out (sorry to be a complete numpty)

 

Ricardo

Complete Newbie On The Learn - Not A Programmer

But Learning As I Go

Link to comment
Share on other sites

  $cl_box_groups[] = array(
    'heading' => BOX_HEADING_CUSTOMERS,
    'apps' => array(
      array(
        'code' => FILENAME_CUSTOMERS,
        'title' => BOX_CUSTOMERS_CUSTOMERS,
        'link' => tep_href_link(FILENAME_CUSTOMERS)
      ),
      array(
        'code' => FILENAME_HELD_ORDERS,
        'title' => BOX_HELD_ORDERS,
        'link' => tep_href_link(FILENAME_HELD_ORDERS)
      )
    )
  );

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...