Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help With A Contribution Code


JustinS

Recommended Posts

Multiple Products Manager v2.6.

 

Trying to get this installed. I've put everything in the correct files, but now I am getting a problem with the code they give me to put into admin/includes/boxes/catalog.php.

 

Instructions Given:

 

 

Find:

 

'<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' .

 

 

Add After:

 

'<a href="' . tep_href_link(FILENAME_PRODUCTS_MULTI, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_MULTI . '</a><br>' .

______________

 

What I find:

 

 

array(

'code' => FILENAME_PRODUCTS_ATTRIBUTES,

'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,

'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES)

),

 

What I tried to convert it to:

array(

'code' => FILENAME_PRODUCTS_MULTI,

'title' => MultiProducts,

'link' => (FILENAME_PRODUCTS_MULTI

),

 

Error:

 

Parse error: syntax error, unexpected ';', expecting ')' in /home/a7852663/public_html/admin/includes/boxes/catalog.php on line 58

 

EDIT: FIXED. I WAS MISSING AN ) AFTER (FILENAME_PRODUCTS_MULTI)

 

Will leave here for Google I guess?

Edited by JustinS
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...