msinternet Posted October 26, 2007 Posted October 26, 2007 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 Quote
Recommended Posts
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.