Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ajax Attribute Manager v.2.8.1


Guest

Recommended Posts

Posted

I just installed the Attribute Manager addon to a new oscommerce 2.3.1. I followed the instructions that came in the install package (install-osc-2.3.1.htm) and everything appeared to go smoothly, in other words, I didn't clobber the software. Keep in mind I did not proceed any further with the install instructions because I don't have any of the other contributions installed. When I go to edit a product, I don't see anything under the price field where the instructions said there would be. I have no errors on any pages and verified the installation steps over and over. Can someone shed some light on this issue for me please. I have found other posts on this but no answer

Posted

ensure you have completed this step correctly.

 

Open admin/includes/template_top.php

 

Find around line 38

 

<script type="text/javascript" src="includes/general.js"></script>

 

Below add

 

<!-- AJAX Attribute Manager -->

<?php require_once( 'attributeManager/includes/attributeManagerHeader.inc.php' )?>

<!-- AJAX Attribute Manager end -->

 

 

Find around line 45

 

<body>

 

Replace With

 

<!-- AJAX Attribute Manager -->

<body onload="goonload();">

<!-- AJAX Attribute Manager end -->

 

Posted

My install instructions say something different. Here is what it says on the "install-osc-2.3.1.htm" document.

 

Open admin/includes/templates_top.php

Find (Around line 39 on a fresh 2.3.1)

</head>

BEFORE add

<!-- AJAX Attribute Manager -->

<?php

if ((basename($_SERVER["SCRIPT_NAME"]) == FILENAME_CATEGORIES)) {

require('attributeManager/includes/attributeManagerHeader.inc.php');

}

?>

<!-- AJAX Attribute Manager end -->

 

 

Find (Around line 47 on a fresh 2.3.1)

<body>

Replace With

<body onload="goonload();">

 

 

 

This is what my code looks like:

 

<script type="text/javascript" src="includes/general.js"></script>
<!-- AJAX Attribute Manager -->
<?php
	if ((basename($_SERVER["SCRIPT_NAME"]) == FILENAME_CATEGORIES)) {
			require('attributeManager/includes/attributeManagerHeader.inc.php');
	}
?>
<!-- AJAX Attribute Manager end -->
</head>
<body onload="goonload();">

 

 

I really appreciate your help. I tried your suggestions but I still wasn't able to see anything below the price field. Thank you for your suggestions. Do you have anymore??

Posted

possible typo in the install instructions,

 

try changing it to this

 

<body onload="goonload();">

 

change it to a capital O (On) and L(oad)

 

the forum software is making it all lowercase

 

Mark

Posted

Okay, I changed it and still nothing showing under the price field when I go to edit a product. I know it is installed because when I go to add a new product there is an icon and next to it says "Save Product before adding options" under the price field.

 

Is my code under the javascript correct? Your suggestion was something different.

 

<script type="text/javascript" src="includes/general.js"></script>

<!-- AJAX Attribute Manager -->

<?php

if ((basename($_SERVER["SCRIPT_NAME"]) == FILENAME_CATEGORIES)) {

require('attributeManager/includes/attributeManagerHeader.inc.php');

}

?>

<!-- AJAX Attribute Manager end -->

</head>

<body onload="goonload();">

 

Thanks,

 

Jay

Posted
Your suggestion had something different..

 

???

 

The code is the same as mine and it works so you will need to go through your install again and make sure you have not missed anything or put it in the wrong place.

 

Mark

Posted

Thank you for all your help. I will go through the install again and post an update here.

 

Jay

Posted

Hi,

 

Have just installed was a bit buggy PM me if you need the files.

 

regards

John

To improve is to change; to be perfect is to change often.

 

Posted
Have just installed was a bit buggy PM me if you need the files.

 

Whatcha got for me??

Archived

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

×
×
  • Create New...