Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easier Attributes


Jack_mcs

Recommended Posts

1 hour ago, bastosdesign said:

Update - this happens when I update the english.php file like the instructions call for... trying to debug why now

All of the definitions for admin, not just for this addon, are missing so the change you made to the english.php file is at fault. Maybe you used the one from the shop side? Or overwrote what was in it?

You should restore that file to the original. You will still get the missing definitions but only for this addon. Once you get to that point, making the changes to the english file should get rid of those remaining warnings.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 2 months later...

In admin/includes/template_top.php, find this line

<base href="<?php echo ($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_ADMIN : HTTP_SERVER . DIR_WS_ADMIN; ?>" />

and change it to

<?php 
/****Begin Easier Attributes ****/
if ($PHP_SELF !== 'easier_attributes.php') { ?>
<base href="<?php echo ($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_ADMIN : HTTP_SERVER . DIR_WS_ADMIN; ?>" />
<?php 
} 
/****End Easier Attributes ****/
?>

Please note that I can only guess at what to change since you didn't mention your version of oscommerce. Please be sure to always mention that in any post on these forums..

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 2 months later...
1 hour ago, pictoncyclesliverpool said:

that has disappeared since I installed this

Then you've made a mistake with the installation since this addon does not touch the original code.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 3 weeks later...
On 10/26/2019 at 5:16 PM, Jack_mcs said:

Then you've made a mistake with the installation since this addon does not touch the original code.

I think I've found the fault instead of putting this code below I've replaced the code with it, do you know what the original code was so I can put it back?

4) If your shops version is 2.3 or above, in the
 admin/includes/boxes/catalog.php file,

FIND:

        'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES)
      ),

AND ADD THIS BENEATH:

      array(
        'code' => 'easier_attributes.php',
        'title' => BOX_CATALOG_CATEGORIES_EASIER_ATTRIBUTES,
        'link' => tep_href_link('easier_attributes.php')
      ),

 

Link to comment
Share on other sites

Try this

      array(
        'code' => FILENAME_PRODUCTS_ATTRIBUTES,
        'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,
        'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES)
      ),

 

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...
  • 1 year 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...