Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where To Place Code In Product Attribute Pictures?


Recommended Posts

I'm installing Product Attribute Pictures v1.3 in OSC 2.3.1 and step 3 says the following:

 

[b][i]Step 3 - [/i][/b]Open the file [u]catalog/admin/includes/boxes/catalog.php[/u]

Add array(
'code' => FILENAME_ATRIBUTOS_IMAGES,
'title' => BOX_CATALOG_ATRIBUTO_IMAGES,
'link' => tep_href_link(FILENAME_ATRIBUTOS_IMAGES)
),

 

but it doesn't say where...I placed it like this under the FILENAME_PRODUCT_ATTRIBUTES, (is this the correct place?)

 

<?php
/*
 $Id$
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com
 Copyright (c) 2010 osCommerce
 Released under the GNU General Public License
*/
 $cl_box_groups[] = array(
   'heading' => BOX_HEADING_CATALOG,
   'apps' => array(
  array(
    'code' => FILENAME_CATEGORIES,
    'title' => BOX_CATALOG_CATEGORIES_PRODUCTS,
    'link' => tep_href_link(FILENAME_CATEGORIES)
  ),
  array(
    'code' => FILENAME_PRODUCTS_ATTRIBUTES,
    'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,
    'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES)
  ),
  array(
    'code' => FILENAME_ATRIBUTOS_IMAGES,
    'title' => BOX_CATALOG_ATRIBUTO_IMAGES,
    'link' => tep_href_link(FILENAME_ATRIBUTOS_IMAGES)
  ),
  array(
    'code' => FILENAME_MANUFACTURERS,
    'title' => BOX_CATALOG_MANUFACTURERS,
    'link' => tep_href_link(FILENAME_MANUFACTURERS)
  ),
  array(
    'code' => FILENAME_REVIEWS,
    'title' => BOX_CATALOG_REVIEWS,
    'link' => tep_href_link(FILENAME_REVIEWS)
  ),
  array(
    'code' => FILENAME_SPECIALS,
    'title' => BOX_CATALOG_SPECIALS,
    'link' => tep_href_link(FILENAME_SPECIALS)
  ),
  array(
    'code' => FILENAME_DISCOUNT_CODES,
    'title' => BOX_CATALOG_DISCOUNT_CODE,
    'link' => tep_href_link(FILENAME_DISCOUNT_CODES)
  ),
  array(
    'code' => FILENAME_PRODUCTS_EXPECTED,
    'title' => BOX_CATALOG_PRODUCTS_EXPECTED,
    'link' => tep_href_link(FILENAME_PRODUCTS_EXPECTED)
  )
   )
 );
?>

 

 

I hope it's right...also, some of the file names are in Spanish...would that cause any problems for an English site?

Link to comment
Share on other sites

  • 2 weeks later...

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...