Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi,

 

I am trying to put a button in attribute manager to popup the box from separate price per customer to allow separate attribute prices to be set for different customers. in attributeManager.php I added:

 

<?php /* MS_added popup separate price per group */ echo '<input type="image" border="0" onclick="window.open(\'' . tep_href_link(FILENAME_ATTRIBUTES_GROUPS, 'attribute_id=' . $?????????????, 'NONSSL') . '\',\'' . NAME_WINDOW_ATTRIBUTES_GROUPS_POPUP . '\',\'menubar=yes,resizable=yes,scrollbars=yes,status=no,location=no,width=500,hei
ght=350\');return false" src="attributeManager/images/users.png" >';?>

 

I can post a link to the image if anyone wants it.

 

Where $??????????? is the variable representing the "products_attributes_id" field from table "products_attributes".

 

What holds this info in attribute manager?

 

Also, will this remain the same as updates are done though attribute manger or will this id change with each update?

 

Martin

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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