Jump to content

melhaa

Members
  • Content count

    113
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    melhaa
  1. Hi I have added multilanguage and sort to the images, but can't seem to work out how to make the sort and images_description editable. Can anyone help please
  2. Hi Is there a way of getting the images_description in additional images table to be multilingual and editable ?
  3. I know that its not a part of additional images now, but how to get this function merged into additional images is what I'm asking.
  4. Has anyone made it so that admin can say that width is 100px but height is proporsjonal to the actual image size? The default image in oscommerce has this. if ( (CONFIG_CALCULATE_IMAGE_SIZE == 'true') && (empty($width) || empty($height)) ) { if ($image_size = @getimagesize($src)) { if (empty($width) && tep_not_null($height)) { $ratio = $height / $image_size[1]; $width = $image_size[0] * $ratio; } elseif (tep_not_null($width) && empty($height)) { $ratio = $width / $image_size[0]; $height = $image_size[1] * $ratio; } elseif (empty($width) && empty($height)) { $width = $image_size[0]; $height = $image_size[1]; } } elseif (IMAGE_REQUIRED == 'false') { return false; } }
  5. melhaa

    AJAX Attribute Manager support

    Hi Has anyone integrated this with the attributes product codes mod?
  6. melhaa

    Attribute Product Codes [Contribution]

    Hi Will this contrib be able to make an exact sales report? No other salesreport have been able to separate between sold products with attributes, only products. And Have anyone installed it with ajax attribute manager?
  7. melhaa

    AJAX Attribute Manager support

    Hi I got an error saying. There was an error while retrieving the url: internal server error ! So it's the tep_round(tep_add_tax($optionValueInfo['price'],$_GET['taxRate'],true),4) that's supposed to write the price in the incl price in the field?
  8. melhaa

    AJAX Attribute Manager support

    Hi Got some help to get the firebug to work. Here is the get pageAction new_product products_id 423 sdAdminID 3854260f1befbc0b8b12fa6181acbf9a taxRate 25 And the Response <div id="topBar"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td> </td> <td align="right"> <div style="padding:5px 3px 5px 0px"> <select name="template_drop" id="template_drop" style="margin-bottom:3px"><option value="0" SELECTED >-- Valg --</option></select> <input type="image" src="attributeManager/images/icon_load.png" onClick="return customTemplatePrompt ('loadTemplate');" border="0" title="Bruk det valgte templatet" /> <input type="image" src="attributeManager/images/icon_save.png" onClick="return customPrompt('saveTemplate' );" border="0" title="Lagre det eksisterende templatet" /> <input type="image" src="attributeManager/images/icon_rename.png" onClick="return customTemplatePrompt ('renameTemplate');" border="0" title="Gi det valgte templatet nytt navn." /> <input type="image" src="attributeManager/images/icon_delete.png" onClick="return customTemplatePrompt ('deleteTemplate');" border="0" title="Slett det valgte templatet." /> </div> </td> </tr> </table> </div><div id="attributeManagerAll"><div id="currentAttributes"> <table width="100%" border="0" cellspacing ="0" cellpadding="3"> <tr class="header"> <td width="50" align="center"> <input type="image" src="attributeManager/images/icon_plus.gif" onClick="return amShowHideAllOptionValues ([1,3],true);" border="0" /> <input type="image" src="attributeManager/images/icon_minus.gif" onClick="return amShowHideAllOptionValues ([1,3],false);" border="0" /> </td> <td> Produkt Alternativer<span style="font-size: 11px; color: red;"> Trykk på + tegnet for å se alle attributtene</span> </td> <td align="right"> <span style="margin-right:40px"></span> </td> </tr> <tr class="option"> <td align="center"> <input type="image" border="0" id="show_hide_1" src="attributeManager/images/icon_plus.gif" onClick ="return amShowHideOptionsValues(1);" /> </td> <td> Farge (1) </td> <td align="right"> <select name="new_option_value_1" style="margin:3px 0px 3px 0px;" id="new_option_value_1"><option value="4">R?d</option><option value="5">Sort</option></select> <input type="image" src="attributeManager /images/icon_add.png" value="Add" border="0" onClick="return amAddOptionValueToProduct('1');" title="Legger til attributtet fra nedtrekksmenyen til Farge alternativet. " /> <input type="image" title="Lag et nytt attributt som ikke eksisterer i nedtrekksmenyen til Farge ." border="0" src="attributeManager/images/icon_add_new.png" onClick="return customPrompt('amAddNewOptionValueToProduct' ,'option_id:1|option_name:Farge');" /> <input type="image" border="0" onClick="return customPrompt('amRemoveOptionFromProduct','option_id :1|option_name:Farge');" src="attributeManager/images/icon_delete.png" title="Sletter produktalternativet Farge og de 1 attributtene som tilhører dette alternativet." /> </td> </tr> <tr class="optionValue" id="trOptionsValues_1" style="display:none" > <td align="center"> <img src="attributeManager/images/icon_arrow.gif" /> </td> <td> Bl </td> <td align="right"> <span style="font-size:9px; color:black;"> prefix pris m/mva pris u/mva rekkefølge ; ; </span><br> <span style="margin-right:41px;"> <select name="prefix" id="prefix_2" style="margin:3px 0px 3px 0px;" onChange="return amUpdate('1' ,'2');"><option value=""></option><option value="%2B" SELECTED>+</option><option value="-">-</option ></select> <input type="text" name="price_gross_2" style="margin:3px 0px 3px 0px;" id="price_gross_2" size="7" onKeyUp="amUpdNet('2')" onChange="return amUpdate('1','2');"> <input type="text" name="price_2" value="40.0000" style="margin:3px 0px 3px 0px;" id="price_2" size="7" onKeyUp="amUpdGross('2')" onChange ="return amUpdate('1','2');"> <input type="text" name="sortOrder_2" value="0" style="margin:3px 0px 3px 0px;" id="sortOrder_2" size="7" onChange="return amUpdate('1','2');"> </span> <input type="image" border="0" onClick="return customPrompt('amRemoveOptionValueFromProduct','option_id :1|option_value_id:2|option_value_name:Bl');" src="attributeManager/images/icon_delete.png" title="Sletter attributtet Bl fra produktalternativet Farge." /> </td> </tr> <tr class="option"> <td align="center"> <input type="image" border="0" id="show_hide_3" src="attributeManager/images/icon_plus.gif" onClick ="return amShowHideOptionsValues(3);" /> </td> <td> Test (1) </td> <td align="right"> <select name="new_option_value_3" style="margin:3px 0px 3px 0px;" id="new_option_value_3"><option value="0">----</option></select> <input type="image" src="attributeManager/images/icon_add.png" value="Add" border="0" onClick="return amAddOptionValueToProduct('3');" title="Legger til attributtet fra nedtrekksmenyen til Test alternativet. " /> <input type="image" title="Lag et nytt attributt som ikke eksisterer i nedtrekksmenyen til Test ." border="0" src="attributeManager/images/icon_add_new.png" onClick="return customPrompt('amAddNewOptionValueToProduct' ,'option_id:3|option_name:Test');" /> <input type="image" border="0" onClick="return customPrompt('amRemoveOptionFromProduct','option_id :3|option_name:Test');" src="attributeManager/images/icon_delete.png" title="Sletter produktalternativet Test og de 1 attributtene som tilhører dette alternativet." /> </td> </tr> <tr class="optionValue" id="trOptionsValues_3" style="display:none" > <td align="center"> <img src="attributeManager/images/icon_arrow.gif" /> </td> <td> dyr </td> <td align="right"> <span style="font-size:9px; color:black;"> prefix pris m/mva pris u/mva rekkefølge ; ; </span><br> <span style="margin-right:41px;"> <select name="prefix" id="prefix_8" style="margin:3px 0px 3px 0px;" onChange="return amUpdate('3' ,'8');"><option value="" SELECTED></option><option value="%2B">+</option><option value="-">-</option ></select> <input type="text" name="price_gross_8" style="margin:3px 0px 3px 0px;" id="price_gross_8" size="7" onKeyUp="amUpdNet('8')" onChange="return amUpdate('3','8');"> <input type="text" name="price_8" value="0.0000" style="margin:3px 0px 3px 0px;" id="price_8" size="7" onKeyUp="amUpdGross('8')" onChange ="return amUpdate('3','8');"> <input type="text" name="sortOrder_8" value="0" style="margin:3px 0px 3px 0px;" id="sortOrder_8" size="7" onChange="return amUpdate('3','8');"> </span> <input type="image" border="0" onClick="return customPrompt('amRemoveOptionValueFromProduct','option_id :3|option_value_id:8|option_value_name:dyr');" src="attributeManager/images/icon_delete.png" title="Sletter attributtet dyr fra produktalternativet Test." /> </td> </tr> </table> </div><div id="newAttribute"> <table border="0" cellpadding="3"> <tr> <td colspan="5"><span style="font-size:13px; color:black; font-weight:bold;">Lag et nytt produktalternativ </span></td> </tr> <tr> <td align="right" valign="top"> Produktalternativ: <select name="optionDropDown" id="optionDropDown" onChange="return amUpdateNewOptionValue (this.value);"><option value="0">St?rrelse</option><option value="2" SELECTED>Størrelse</option></select > <div class="optionValueAddDelete"> <input border="0" type="image" src="attributeManager/images/icon_add_new.png" onClick="return customPrompt ('amAddOption');" title="Lag et nytt produktalternativ." /> </div> </td> <td align="right" valign="top"> Attributt: <select name="optionValueDropDown" id="optionValueDropDown"><option value="7">large</option ><option value="9">medium</option><option value="6">small</option></select> <div class="optionValueAddDelete" > <input border="0" type="image" src="attributeManager/images/icon_add_new.png" onClick="return customPrompt ('amAddOptionValue');" title="Lag et nytt attributt." /> </div> </td> <td valign="top"> <input type="image" src="attributeManager/images/icon_add.png" value="Add" onClick="return amAddAttributeToProduct ();" title="Legger til attributtet til produktet." border="0" /> </td> </tr> </table> </div></div>
  9. melhaa

    AJAX Attribute Manager support

    Hi I tried it, but could not find the get etc. The only error I got was for fck editor language. If you would like, you can send me a msg and I can give you an admin accont. The admin is in norwegian, but its quite logic where to go to edit a product.
  10. melhaa

    AJAX Attribute Manager support

    Hi Sorry, still didn't work. How do I test it with firebug? Thanks for helping me.
  11. melhaa

    AJAX Attribute Manager support

    Hi Sorry. What happens is that when I write the price (gross or net) it calculate the other perfect. Then I save and the correct price(inklusive tax) is shown in the shops dropdown menu for attributes. But when I go back into edit on the product and look at the price, the inklusive tax field is empty and the ex tax field show the price ex tax(as it should). My question is then how to get the field to show the price when I go back in to edit. I had a look at my code, and it is exact as you wrote in your last post. Hope my explenation was better this time.
  12. melhaa

    AJAX Attribute Manager support

    Hi Almost work like a charm. The only small issue is how to get the price inkl to show up after update. Now the field is empty. Thanks a lot for great help......
  13. melhaa

    AJAX Attribute Manager support

    Hi Have anyone made a mod to this so that the price I write in admin is incl tax instead of ex tax?
  14. melhaa

    Newsletter products, HTML email

    Have anyone made a registred globals off patch for this?
  15. melhaa

    AJAX Attribute Manager support

    Hi Has anyone set the attribute prices to include tax when entering the amount? At the present time I have to calculate the attribute prices. A solution is to remove the tax in products_info, but I need the tax to be specified in orders so that wont work.
×