Guest Posted September 27, 2009 Share Posted September 27, 2009 There is still an issue with other parts e.g. <input type="image" src="attributeManager/images/icon_delete.png" onclick="return customTemplatePrompt('deleteTemplate');" border="0" title="<?=AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?>" /> This displays as <?=AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?> Still can't get this to work! This bit was annoying me as I did what I thought would work and it didn’t Now I have tried it again and it works! Replace <?= with <?php echo This seems to have sorted it for me. Quote Link to comment Share on other sites More sharing options...
mattholland Posted September 27, 2009 Share Posted September 27, 2009 Wow, You Rock! You are correct, after that everything works except the 4 icons to the right of the template. Here is the block of code in the attributemanager.php file that seems to not be working... </td> <td align="right"> <?php if(false !== AM_USE_TEMPLATES) { ?> <div style="padding:5px 3px 5px 0px"> <input type="image" <?php if($attributeManager->getTemplateOrder()=='123'){echo 'style="border:1px solid #DDDDDD;"';} ?> src="attributeManager/images/icon_123.png" onclick="return amTemplateOrder('123');" border="0" title="" /> <input type="image" <?php if($attributeManager->getTemplateOrder()=='abc'){echo 'style="border:1px solid #DDDDDD;"';} ?> src="attributeManager/images/icon_abc.png" onclick="return amTemplateOrder('abc');" border="0" title="" /> <?php echo tep_draw_pull_down_menu('template_drop',$attributeManager->buildAllTemplatesDropDown($attributeManager->getTemplateOrder()),(0 == $selectedTemplate) ? '0' : $selectedTemplate,'id="template_drop" style="margin-bottom:3px"'); ?> <input type="image" src="attributeManager/images/icon_load.png" onclick="return customTemplatePrompt('loadTemplate');" border="0" title="<?=AM_AJAX_LOADS_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_save.png" onclick="return customPrompt('saveTemplate');" border="0" title="<?=AM_AJAX_SAVES_ATTRIBUTES_AS_A_NEW_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_rename.png" onclick="return customTemplatePrompt('renameTemplate');" border="0" title="<?=AM_AJAX_RENAMES_THE_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_delete.png" onclick="return customTemplatePrompt('deleteTemplate');" border="0" title="<?=AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?>" /> </div> <?php } ?> </td> </tr> </table> the problem seems to start at ="<?=AM_AJAX_LOADS_SELECTED_TEMPLATE?>" But seriously thanks for the help, much appreciated! Ok,I am starting to get someware with this. In admin/attributeManager/languages/english/attributeManager.php I replaced <? with <?php This sorted out some of the language issues. Then in admin/attributeManager/attributeManager.php I replaced all the <? echo with <?php echo There is still an issue with other parts e.g. <input type="image" src="attributeManager/images/icon_delete.png" onclick="return customTemplatePrompt('deleteTemplate');" border="0" title="<?=AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?>" /> This displays as <?=AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?> Still can't get this to work! Quote Link to comment Share on other sites More sharing options...
Guest Posted September 28, 2009 Share Posted September 28, 2009 Wow, You Rock! You are correct, after that everything works except the 4 icons to the right of the template. the problem seems to start at ="<?=AM_AJAX_LOADS_SELECTED_TEMPLATE?>" But seriously thanks for the help, much appreciated! Yep thats the bit (or one of them) there are some more. try changing <input type="image" src="attributeManager/images/icon_load.png" onclick="return customTemplatePrompt('loadTemplate');" border="0" title="<?=AM_AJAX_LOADS_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_save.png" onclick="return customPrompt('saveTemplate');" border="0" title="<?=AM_AJAX_SAVES_ATTRIBUTES_AS_A_NEW_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_rename.png" onclick="return customTemplatePrompt('renameTemplate');" border="0" title="<?php echo AM_AJAX_RENAMES_THE_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_delete.png" onclick="return customTemplatePrompt('deleteTemplate');" border="0" title="<?php echo AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?>" /> to <input type="image" src="attributeManager/images/icon_load.png" onclick="return customTemplatePrompt('loadTemplate');" border="0" title="<?php echo AM_AJAX_LOADS_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_save.png" onclick="return customPrompt('saveTemplate');" border="0" title="<?php echo AM_AJAX_SAVES_ATTRIBUTES_AS_A_NEW_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_rename.png" onclick="return customTemplatePrompt('renameTemplate');" border="0" title="<?php echo AM_AJAX_RENAMES_THE_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_delete.png" onclick="return customTemplatePrompt('deleteTemplate');" border="0" title="<?php echo AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?>" /> This worked for me Quote Link to comment Share on other sites More sharing options...
mattholland Posted September 28, 2009 Share Posted September 28, 2009 That works for me too! You should put it all together and submit it up on the contrib. This seems way much better at least for me running a fresh install of 2.2rc2a. Again, thanks! Yep thats the bit (or one of them) there are some more. try changing <input type="image" src="attributeManager/images/icon_load.png" onclick="return customTemplatePrompt('loadTemplate');" border="0" title="<?=AM_AJAX_LOADS_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_save.png" onclick="return customPrompt('saveTemplate');" border="0" title="<?=AM_AJAX_SAVES_ATTRIBUTES_AS_A_NEW_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_rename.png" onclick="return customTemplatePrompt('renameTemplate');" border="0" title="<?php echo AM_AJAX_RENAMES_THE_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_delete.png" onclick="return customTemplatePrompt('deleteTemplate');" border="0" title="<?php echo AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?>" /> to <input type="image" src="attributeManager/images/icon_load.png" onclick="return customTemplatePrompt('loadTemplate');" border="0" title="<?php echo AM_AJAX_LOADS_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_save.png" onclick="return customPrompt('saveTemplate');" border="0" title="<?php echo AM_AJAX_SAVES_ATTRIBUTES_AS_A_NEW_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_rename.png" onclick="return customTemplatePrompt('renameTemplate');" border="0" title="<?php echo AM_AJAX_RENAMES_THE_SELECTED_TEMPLATE?>" /> <input type="image" src="attributeManager/images/icon_delete.png" onclick="return customTemplatePrompt('deleteTemplate');" border="0" title="<?php echo AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?>" /> This worked for me Quote Link to comment Share on other sites More sharing options...
mattholland Posted October 8, 2009 Share Posted October 8, 2009 I noticed I lost the ability to remove attributes and templates, all my 'minus' signs are gone, also lost the sort ability. Have you experienced this? Can you post your attributemanager.php? Ive tried all the ones in the download, and the fixes you had me do actually work, and none of the downloads work for me, but when I have to remove an attribute I have to resort to the old way. Ok, I am starting to get someware with this. In admin/attributeManager/languages/english/attributeManager.php I replaced <? with <?php This sorted out some of the language issues. Then in admin/attributeManager/attributeManager.php I replaced all the <? echo with <?php echo There is still an issue with other parts e.g. <input type="image" src="attributeManager/images/icon_delete.png" onclick="return customTemplatePrompt('deleteTemplate');" border="0" title="<?=AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?>" /> This displays as <?=AM_AJAX_DELETES_THE_SELECTED_TEMPLATE?> Still can't get this to work! Quote Link to comment Share on other sites More sharing options...
Guest Posted October 11, 2009 Share Posted October 11, 2009 i have added a template to all my items, but i thought that if i altered the template on one item and overwrite the template it would alter the prices for every product i have? but it does not? Can you help me please! Quote Link to comment Share on other sites More sharing options...
allaboutwicker Posted October 31, 2009 Share Posted October 31, 2009 I have an issue where I had the ajax attribute manager working, but some time ago I went to change attributes of an item and discovered it no longer is working. I have tried to upload several different versions of this contribution, but none of them work for me. Here is a screenshot of what I get when I go to the product page: And here is the source code I get on this page where the ajax attribute manager is: <td class="main"><img src="images/pixel_trans.gif" border="0" alt="" width="24" height="15"> <input type="text" name="products_price_gross" value="129.0000" OnKeyUp="updateNet()"></td> </tr> <!-- BOF - Zappo - Option Types v2 - AttribManager - AJAX Attribute Manager plugin //--> <tr> <td colspan="2"><div id="attributeManager"></div></td> </tr> <!-- EOF - Zappo - Option Types v2 - AttribManager - AJAX Attribute Manager plugin //--> <tr> <td colspan="2"><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="10"></td> </tr> <script language="javascript"><!-- updateGross(); //--></script> <tr> <td class="main" valign="top">Products Description:</td> Does anyone have any ideas for me to look into to get this fixed? Quote Link to comment Share on other sites More sharing options...
homestead embroidery Posted November 19, 2009 Share Posted November 19, 2009 Hello, i juat installed this and Ihave no idea what i did wrong. In my catalog page I get this = Save Product before adding options. Any help in fixing this. thanks Matt Quote Link to comment Share on other sites More sharing options...
Guest Posted December 31, 2009 Share Posted December 31, 2009 I have this installed and it works great. I would like to have it show actual price as my customers can't seem to grasp the idea of adding two numbers together. Is there a mod that will work with this? Quote Link to comment Share on other sites More sharing options...
maxemus Posted January 18, 2010 Share Posted January 18, 2010 Hello People of Oscommerce I am wondering if this contrib AJAX Attribute Manager. I currently use Options as Images and Attribute Sets contribs. Does any one have this all installed and working smooth? Quote Link to comment Share on other sites More sharing options...
r00ki3 Posted January 20, 2010 Share Posted January 20, 2010 Hey All, I'm currently using the AJAX Attribute manager succesfully. However recently I came across a small problem concerning the use of the prefix and price. Now when I have for example a certain size which costs the customer €10 more, I fill in + 8,40. The 8,40 is calculated by myself...10/1+tax rate. Instead of calculating it everytime...is there an option to just fill in +10 and it adds just 10 to the price instead of calculating the tax etc. in it. I've been looking in the code but could not find the code where I can define this. Any suggestion/help is appreciated! Thnx. Martin Quote Link to comment Share on other sites More sharing options...
RusNN Posted January 22, 2010 Share Posted January 22, 2010 Hello People of Oscommerce I am wondering if this contrib AJAX Attribute Manager. I currently use Options as Images and Attribute Sets contribs. Does any one have this all installed and working smooth? I have QT Pro, OaI, AJAX AM and many more except Attribute Sets and all works fine. What is the problem between AJAX AM and OaI? Quote Link to comment Share on other sites More sharing options...
wauziweb.de Posted January 22, 2010 Share Posted January 22, 2010 Hi... working on a new store and just add the "AJAX Attrib Manager" Running on a error in the admin area: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 131968 is not allowed to access /tmp owned by uid 0 in .../shop22a/admin/includes/functions/sessions.php on line 165 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at .../shop22a/admin/includes/functions/sessions.php:165) in .../shop22a/admin/includes/functions/sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at .../shop22a/admin/includes/functions/sessions.php:165) in .../shop22a/admin/includes/functions/sessions.php on line 102 Warning: Cannot modify header information - headers already sent by (output started at .../shop22a/admin/includes/functions/sessions.php:165) in .../shop22a/admin/includes/functions/general.php on line 70 Details: Core... osCommerce Online Merchant v2.2 RC2a Contribs... * Cash * cDynamic Meta Tags * Easy html Editor * Impressum1.1 * PayPal ipn * Sitemap SEO * Skype Contact 1.0 * Store Pick Up * TagCloud_2.0.2 * ULTIMATE Seo Urls 5 * Ultra Pics * Web 2.0 Scrolling Best Sellers * whats new box scrolling * Admin Create Account 1.0 * ManualOrderMaker v1.5.7 (don't running w/o order editor) * order_editor_5_0_9 REGISTER GLOBALS: OFF (and provider does not allow ON) Quote Link to comment Share on other sites More sharing options...
maxemus Posted January 22, 2010 Share Posted January 22, 2010 (edited) Hi people I have tried to installing this along side Attribute sets and Options as images. the first thing I notice is the new sets don't show up properly. thats probably because of attrib sets contrib. This is a really cool contrib. I do have some suggestions. 1. put an option in the Categories / Products screen to allow a template to be added to the product with out having to go back into the product. That would make me get rid of Attribute sets contrib. 2. Have a separate screen to make the templates. at least not have to be in a product in order to make a set. Edited January 22, 2010 by maxemus Quote Link to comment Share on other sites More sharing options...
wauziweb.de Posted January 22, 2010 Share Posted January 22, 2010 Don't know why... BUT just upload the admin/categories.php once more AND IT RUNS PERFECT!!! THX for this genius contrib!!! Quote Link to comment Share on other sites More sharing options...
RusNN Posted January 27, 2010 Share Posted January 27, 2010 I have tried to installing this along side Attribute sets and Options as images. the first thing I notice is the new sets don't show up properly. thats probably because of attrib sets contrib. Yes, you should merge this two contribs together by yourself. I never use Attrubute Sets. Seems it is some kind of QT Pro. May it is better to use QT Pro? If no, I think it is possible to mix OaI and Attribute Sets. If I understand the idea of Attribute Sets, you need to modify catalog\options_images.php so, that it must be a table with an option ID. One table per one option. So you may show and hide them by javascript. I do something like that in QT Pro module. Quote Link to comment Share on other sites More sharing options...
RusNN Posted January 27, 2010 Share Posted January 27, 2010 Version 2.8.7 This version is fully support QT Pro. Now you may do the following: * Add options and options combination with quantity. * Adding same option combination replaces the stock for that option. * Delete options and combinations. * Product stock is automatically corrected based on total options quantity in stock. Only quantity of 1 and more is take into account. * Control deletes or not options combination with zero quantity from stock. * Change only quantity of option and combinations (as you do for product price) * Adding new options or attributes to product automatically results on ability to use them in QT Pro plugin * If product has no option, you may add quantity to product itself also * Added support for More Product Weight plugin (default is turned off) * Russian translation added * Screenshot added Please, read Release Notes in zip to more info and special features. Quote Link to comment Share on other sites More sharing options...
ssnb Posted January 30, 2010 Share Posted January 30, 2010 Hey thanks for the great add on I have admin access levels installed and I have added the SQL query to enable access to Group 1 - however, that ugly message that comes up "ACCESS DENIED" for clients is a bit heavy. Does anyone know how I could simply disable the entire AJAX cont for anyone other than admins? Follows is the excerpt from the install manual Additonal Notes for other contribution compatability (Only needed if you have any of the following contributions installed) - Admin Access If you have this contribution installed you will need to run this run this sql query, this will give access to the top administrator group (1). If you need more change the last value ('1') to include the other admin_groups_id eg '1,2,3'. SQL Query INSERT INTO `admin_files` VALUES ('', 'attributeManager.php', 0, 3, '1'); Quote Link to comment Share on other sites More sharing options...
Guest Posted February 10, 2010 Share Posted February 10, 2010 I have got a strange problem here. AAM will not save all attributes. Here is what I try to save: After I have saved this an go back, the only thing saved is this: As you can see, only 2 of 4 attributes are saved. What can cause this and what can I do to fix this problem? Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
RusNN Posted February 10, 2010 Share Posted February 10, 2010 Here is what I try to save: .... Impossible to view screenshots. Username and password needed :huh: Quote Link to comment Share on other sites More sharing options...
Guest Posted February 10, 2010 Share Posted February 10, 2010 Try again with other location of the screenshots: I have got a strange problem here. AAM will not save all attributes. Here is what I try to save: After I have saved this an go back, the only thing saved is this: As you can see, only 2 of 4 attributes are saved. What can cause this and what can I do to fix this problem? Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
RusNN Posted February 10, 2010 Share Posted February 10, 2010 What is stored in database in am_attributes_to_templates table? Is there 2 or 4 values for that template? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 10, 2010 Share Posted February 10, 2010 What is stored in database in am_attributes_to_templates table? Is there 2 or 4 values for that template? This I'm not sure how to find. Please tell me how. I have fond this in phpMyAdmin, but dont know what to look for... Quote Link to comment Share on other sites More sharing options...
RusNN Posted February 10, 2010 Share Posted February 10, 2010 Goto to phpMyAdmin and run the SQL: SELECT distinct att.options_id FROM `am_attributes_to_templates` att, `am_templates` at WHERE att.template_id = at.template_id AND at.template_name = '<NAME_OF_YOUR_TEMPLATE>' Before you run, change the <NAME_OF_YOUR_TEMPLATE> to the exactly yours, as I can see from screenshot it should be SizeColorTrimLiv. You should see several lines. Amount of rows must be match the amount of options you adding to the template (in our case it should be 4 rows). If no, the problem is mostly in code that saves template to DB. If rows matches, the trouble is in the reading and/or adding to new product procedures. And say, please, what version of ATT do you have? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 10, 2010 Share Posted February 10, 2010 Goto to phpMyAdmin and run the SQL: SELECT distinct att.options_id FROM `am_attributes_to_templates` att, `am_templates` at WHERE att.template_id = at.template_id AND at.template_name = '<NAME_OF_YOUR_TEMPLATE>' Before you run, change the <NAME_OF_YOUR_TEMPLATE> to the exactly yours, as I can see from screenshot it should be SizeColorTrimLiv. You should see several lines. Amount of rows must be match the amount of options you adding to the template (in our case it should be 4 rows). If no, the problem is mostly in code that saves template to DB. If rows matches, the trouble is in the reading and/or adding to new product procedures. And say, please, what version of ATT do you have? Thanks for your help. I have got it to work now. It was another attrib contrib that caused the problem. I removed the code for that contrib an now everything is ok.. Quote Link to comment Share on other sites More sharing options...
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.