Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bugmenot

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by bugmenot

  1. Hi!

     

    I need your help to do this modification:

     

    In Ajax Attribute Manager the attributes price goes without taxes. I attempt to add an new box beside the price attribute value. In this box you would insert the price with tax and then, in the first box, the price without taxes will be calculate automatically, and it value will be registered.

     

    This line define de prefix (+ or -) and the price without taxes:

     

    <?php echo drawDropDownPrefix('id="prefix_'.$optionValueId.'" style="margin:3px 0px 3px 0px;" onChange="return amUpdate(\''.$optionId.'\',\''.$optionValueId.'\',\'prefix\');"',$optionValueInfo['prefix']);?><?php echo tep_draw_input_field("price_$optionValueId",$optionValueInfo['price'],' style="margin:3px 0px 3px 0px;" id="price_'.$optionValueId.'" size="7" onfocus="amF(this)" onblur="amB(this)" onChange="return amUpdate(\''.$optionId.'\',\''.$optionValueId.'\',\'price\');"'); ?>

     

    How can I do this?? I don't have any idea to do this because AJAX is very difficult for me!!

     

    Thank you very mach for your help!!

     

    Please i need to do this modification to insert the attribute price with VAT!

     

    Thanks!!

  2. Hi!

     

    I need your help to do this modification:

     

    In Ajax Attribute Manager the attributes price goes without taxes. I attempt to add an new box beside the price attribute value. In this box you would insert the price with tax and then, in the first box, the price without taxes will be calculate automatically, and it value will be registered.

     

    This line define de prefix (+ or -) and the price without taxes:

     

    <?php echo drawDropDownPrefix('id="prefix_'.$optionValueId.'" style="margin:3px 0px 3px 0px;" onChange="return amUpdate(\''.$optionId.'\',\''.$optionValueId.'\',\'prefix\');"',$optionValueInfo['prefix']);?><?php echo tep_draw_input_field("price_$optionValueId",$optionValueInfo['price'],' style="margin:3px 0px 3px 0px;" id="price_'.$optionValueId.'" size="7" onfocus="amF(this)" onblur="amB(this)" onChange="return amUpdate(\''.$optionId.'\',\''.$optionValueId.'\',\'price\');"'); ?>

     

    How can I do this?? I don't have any idea to do this because AJAX is very difficult for me!!

     

    Thank you very mach for your help!!

  3. I have "Register Globals" installed and when trying to access the "product attributes" page in the admin I received the following error:

    Anyone recognize this?

     

    Linda

     

    Add following in admin/include/functions/general.php line 25 (before the 'link_get_variable' calls which cause the error)

    	function link_get_variable($var_name)
    {
      // Map global to GET variable
      if (isset($_GET[$var_name]))
      {
    	$GLOBALS[$var_name] =& $_GET[$var_name];
      }
    }

×
×
  • Create New...