Jump to content
Nimmit

AJAX Attribute Manager support

Recommended Posts

Hi!

 

I need to add function that can copy the attribute's price when I create templete.

Please help me to code this part if you know about this area.

Thanks in advance.

 

Yongary :'(

Edited by yongary

Share this post


Link to post
Share on other sites

I tied the 23 dec version -all it did was removed all my attributes to 1 letter attributes??

 

Helle .-(

 

now using the 13 dec version again without any problems

 

Hoping that one day soon this great contribution will have a file field where I can write the name of the file to download

 

Merry Christmax to all

Share this post


Link to post
Share on other sites

HI. I've added this contrib (dec 13 version)

but action=new_product still looks stock...

 

I've looked at it in firefox (OSX) and in IE.

 

When I look at the page source, I see the first two additions;

<!-- osc@kangaroopartners.com - AJAX Attribute Manager  -->
<script language="JavaScript" type="text/JavaScript">
var productsId='136';
var pageAction='new_product';
var sessionId='osCAdminID=1cfce1b01e93955f6d116f721c67e87f';
</script>
<script language="JavaScript" type="text/JavaScript" src="attributeManager/javascript/requester.js"></script>
<script language="JavaScript" type="text/JavaScript" src="attributeManager/javascript/alertBoxes.js"></script>
<script language="JavaScript" type="text/JavaScript" src="attributeManager/javascript/attributeManager.js"></script>

<link rel="stylesheet" type="text/css" href="attributeManager/css/attributeManager.css" />
<script language="JavaScript" type="text/javascript">

function goOnLoad() {
attributeManagerInit();	SetFocus();
}

</script>
<!-- osc@kangaroopartners.com - AJAX Attribute Manager  end -->

 

but at the crucial point, I see;

<!-- osc@kangaroopartners.com - AJAX Attribute Manager  -->
<tr>
<td colspan="2">
<div id="attributeManager">


</div></td>
</tr>
<!-- osc@kangaroopartners.com - AJAX Attribute Manager end -->

 

I removed the .htaccess file, still no-see-um.

 

Java error panel shows ;

Error: goOnload is not defined
Source File: http://d..../admin/categories.php?selected_box=catalog
Line: 1


psst... wanna buy a wand?

Share this post


Link to post
Share on other sites

Hey i get this error:

 

Fatal error: Call to undefined method attributeManagerAtomic::getAllProductOptionsAndValues() in xxxxxx/admin/attributeManager/classes/attributeManager.class.php on line 536

 

All the attributes only shows one number, adding of attributes dont work.. none of the "roll down"windows displays anything but ----

 

Can anyone help me?

Share this post


Link to post
Share on other sites
Hey i get this error:

 

Fatal error: Call to undefined method attributeManagerAtomic::getAllProductOptionsAndValues() in xxxxxx/admin/attributeManager/classes/attributeManager.class.php on line 536

 

All the attributes only shows one number, adding of attributes dont work.. none of the "roll down"windows displays anything but ----

 

Can anyone help me?

 

 

Sorry about that, i can see this has been reported already.

 

But is it possible to add a text field to show after attributename?

Reason: it would be great to see each of the attributes productnumber when it is time to order!

Share this post


Link to post
Share on other sites

can anyone tell me why the goonload call is throwing a register globals error to whit:

Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.

 

When i remove the goonload call i get no error and i have reg globals on in my php ini file...

 

Any ideas?? Someone else asked this an nobody was kind enuff to answer....

Share this post


Link to post
Share on other sites
HI. I've added this contrib (dec 13 version)

but action=new_product still looks stock...

 

I've looked at it in firefox (OSX) and in IE.

 

When I look at the page source, I see the first two additions;

<!-- osc@kangaroopartners.com - AJAX Attribute Manager  -->
<script language="JavaScript" type="text/JavaScript">
var productsId='136';
var pageAction='new_product';
var sessionId='osCAdminID=1cfce1b01e93955f6d116f721c67e87f';
</script>
<script language="JavaScript" type="text/JavaScript" src="attributeManager/javascript/requester.js"></script>
<script language="JavaScript" type="text/JavaScript" src="attributeManager/javascript/alertBoxes.js"></script>
<script language="JavaScript" type="text/JavaScript" src="attributeManager/javascript/attributeManager.js"></script>

<link rel="stylesheet" type="text/css" href="attributeManager/css/attributeManager.css" />
<script language="JavaScript" type="text/javascript">

function goOnLoad() {
attributeManagerInit();	SetFocus();
}

</script>
<!-- osc@kangaroopartners.com - AJAX Attribute Manager  end -->

 

but at the crucial point, I see;

<!-- osc@kangaroopartners.com - AJAX Attribute Manager  -->
<tr>
<td colspan="2">
<div id="attributeManager">
</div></td>
</tr>
<!-- osc@kangaroopartners.com - AJAX Attribute Manager end -->

 

I removed the .htaccess file, still no-see-um.

 

Java error panel shows ;

Error: goOnload is not defined
Source File: http://d..../admin/categories.php?selected_box=catalog
Line: 1

 

Hi,

 

Did you manage to solve the issue as to why nothing was showing up when adding/editing a product because the same is happening to me except that I get no errors in firefox j/s panel.

 

Thanks

 

Mark


Lifes a bitch, then you marry one, then you die!

Share this post


Link to post
Share on other sites

Great contributions... have not been working with OSC for a while and the attributes was always cumbersome..

 

however.. :-"

 

I get console error when trying to add values to my "sub attributes" .. the debugger

 

getElement(id) has no properties attributeManager.... (line 17)

getDropDownValue attributeManager.... (line 17)

amUpdate attributeManager.... (line 83)

 

 

Problem is triggered by the onchange event when I try add a value to the attribute (eg +25.00)

 

A bit rusty at the moment .. any leads would come in handy! :D

 

TV

 

(osx safari & firefox)

Edited by teveo

Share this post


Link to post
Share on other sites

Ok forget what I said above, I now get this error:

 

Fatal error: Call to undefined function: getallproductoptionsandvalues() in /home/oscommer/public_html/demo/admin/attributeManager/classes/attributeManager.class.php on line 536

 

Talk about doing your head in!

 

Anyone any clues???

 

Thanks

 

Mark


Lifes a bitch, then you marry one, then you die!

Share this post


Link to post
Share on other sites

Is it possible to add a text field to show after attributename?

Reason: it would be great to see each of the attributes productnumber when it is time to order!

Share this post


Link to post
Share on other sites

Using(dec 13th edition on MS2 no sort_oder)

 

ajax-problem.gif

 

blue boxes are the empty names (with the right +$ amount though), the empty ones appear in the red box drop down

 

problem varies from option to option

Share this post


Link to post
Share on other sites

I just installed this contrib and it's very usefull.... Unfortunely, I'm having two (2) problem but I just solved one for the:

 

Fatal error: Call to undefined method attributeManagerAtomic::getAllProductOptionsAndValues() in xxxxxx/admin/attributeManager/classes/attributeManager.class.php on line 536

 

But my attributes still have a problem, look at my screenshot, you can see that all attributes are B or N:

 

screenshot.jpg

 

Thanks!

Share this post


Link to post
Share on other sites

Hi

I have installed the 2,3b, but have a problem with everything freezing up when I click on up/down arrown on sort order.

 

Anyone know why

Share this post


Link to post
Share on other sites

Hi

I have installed the "Product attribute sort order support" version, and found a way to get the fields to update when changed.

 

open attributeManager/javascript/attributeManager

 

find:

function amUpdate(optionId, optionValueId) {

amSendRequest('amAction=update&option_id='+optionId+'&option_value_id='+optionValueId+'&price='+getDropDownValue('price_'+optionValueId)+'&prefix='+getDropDownValue('prefix_'+optionValueId)+'&sortOrder='+getDropDownValue('sortOrder_'+optionValueId),'',false);

getElement('price_'+optionValueId).blur();

 

after add:

getElement('sortOrder_'+optionValueId).blur();

 

Save and upload.

 

Hope this helps.

Share this post


Link to post
Share on other sites
I just installed this contrib and it's very usefull.... Unfortunely, I'm having two (2) problem but I just solved one for the:

 

Fatal error: Call to undefined method attributeManagerAtomic::getAllProductOptionsAndValues() in xxxxxx/admin/attributeManager/classes/attributeManager.class.php on line 536

 

But my attributes still have a problem, look at my screenshot, you can see that all attributes are B or N:

 

screenshot.jpg

 

Thanks!

 

 

I have exactly the same problem, in the Product attributes section a Attribute = Yes but on the Product Edit/Creation it come up with Y

 

Ive tested in firefox and IE7, both same error

Share this post


Link to post
Share on other sites
AJAX ATTRIBUTE MANAGER PRICE/PREFIX PROBLEM

 

I'm using AJAX Attribute Manager to manage my prices/prefixes and when I try to change a price + - anything it doesn't save it so when I reload it its back to the 0.00, it only works if I manually type it in when I make the attribute or go through the attribute page with OSC.

 

Any help is of-course appreciated

 

 

I've the same problem! Can't change (or better: can't save) the prefix of price of an existing atribute.

Share this post


Link to post
Share on other sites

I had 13 dec 06 AJAX-AttributeManager-v2.3b-beta working fine for some time. Now I also have MVS installed, and now I cannot insert or update attribute prices?? I keep getting javascript error messages??

 

I have been looking and looking for differencies. The only thing I can see is that I have moved the Ajax code a bit down - right after the vendor price - can that be it?

 

Helle :'(

 

<td class="main"><?php echo TEXT_PRODUCTS_PRICE_GROSS; ?></td>
		<td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price_gross', $pInfo->products_price, 'OnKeyUp="updateNet()"'); ?></td>
	  </tr>
	  <?php //MVS start
	   ?>
	  <tr bgcolor="#ebebff">
	  <td class="main"><?php echo TEXT_VENDORS_PRODUCT_PRICE_BASE; ?></td>
		<td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('vendors_product_price', $pInfo->vendors_product_price, 'onKeyUp="updateNet()"'); ?></td>
	  </tr>
	  <?php  //MVS end
	  ?>
<!-- osc@kangaroopartners.com - AJAX Attribute Manager  -->
<tr>
<td colspan="2"><?php require_once( 'attributeManager/includes/attributeManagerPlaceHolder.inc.php' )?></td>
</tr>
<!-- osc@kangaroopartners.com - AJAX Attribute Manager end -->
	  <tr>

Share this post


Link to post
Share on other sites

Most recent version works only for existing products w/attributes. Try to add a new product and I get the same error as mark27uk3 posted above ...

 

Fatal error: Call to undefined function: getallproductoptionsandvalues() in /home/USERNAME/public_html/admin/attributeManager/classes/attributeManager.class.php on line 536

Any ideas what is causing this error?

 

This is line 533-541

function buildOptionDropDown($subtract = true) {

	$allOptionsAndValues = $this->getAllOptionsAndValues();
	$allProductsOptionsAndValues = $this->getAllProductOptionsAndValues();

	$returnArray = array();

	foreach($allOptionsAndValues as $optionId => $optionValues)
		$returnArray[$optionId] = $optionValues['name'];

Thanks,

EricK

Edited by EricK

Share this post


Link to post
Share on other sites

getElement(id) has no properties

 

Hi there

 

I've just installed the contribution. It looks great but it does not work properly. If I add an attribute to a product and would like to add a second, i can not set a price. I get de following error in Firefox Error Log:

 

getElement(id) has no properties

http://..../admin/attributeManager/javascript/attributeManager.js on line 17

 

could some one please hel me? I realy would like to use this contribution.

 

THX a lot.

 

Peak

Share this post


Link to post
Share on other sites

Fatal error: Cannot redeclare class amdb in w:\home\test.com\www\admin\attributeManager\classes\amDB.class.php on line 18

 

Help :'( :'(

Share this post


Link to post
Share on other sites
I have exactly the same problem, in the Product attributes section a Attribute = Yes but on the Product Edit/Creation it come up with Y

 

Ive tested in firefox and IE7, both same error

 

 

ditto: same problem

Share this post


Link to post
Share on other sites

I just installed this today, and am having problems with it. Here is the error I get when I go in to edit my catalog:

 

Warning: main(attributeManager/includes/attributeManagerHeader.inc.php): failed to open stream: No such file or directory in /XXXX/XXXX/public_html/store/admin/categories.php on line 346

 

I followed the instructions, but never saw anywhere that said to create the attributeManager/includes folder. Maybe it's just because I'm a bit of a noob...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×