Latest News: (loading..)

dstebo

Members
  • Content count

    125
  • Joined

  • Last visited

About dstebo

Profile Information

  • Real Name
    dstebo
  1. Use module payment boletophp on oscommerce 2.2 IE 7,8,9,10 when select Payment Method boletophp i click button confirm order It doesn't work. Other browers OK. Anyone have any ideas?
  2. How do I configure the ports XAMPP.
  3. I am using oscommerce on localhost with XAMPP. With the modules installed FedEx Freight. Buy product, payment checkout_payment.php this error appears: This is currently the only shipping method available to use on this order. Does anyone have any idea what can be. Thank you.
  4. I took this contribution Quick Price Updates 2.8.3 Correction de la prévisualisation quick_updates.php l484 ajout de $spec_price = $HTTP_POST_VARS['spec_price']; et l493 } else $price = $products['products_price'] + $spec_price ;
  5. digit percentage price appears to change but do not write new value changes price in the database this line of code is the error //// check for global add value or rates, calcul and round values rates if ($HTTP_POST_VARS['spec_price']){ $flag_spec = 'true' ; //page select fix v2.8.3 August 11, 2009 $spec_price = $HTTP_POST_VARS['spec_price']; if (substr($HTTP_POST_VARS['spec_price'],-1) == '%') { if($HTTP_POST_VARS['marge'] && substr($HTTP_POST_VARS['spec_price'],0,1) != '-'){ $valeur = (1 - (ereg_replace("%", "", $HTTP_POST_VARS['spec_price']) / 100)); $price = sprintf("%01.2f", round($products['products_price'] / $valeur,2)); }else{ $price = sprintf("%01.2f", round($products['products_price'] + (($spec_price / 100) * $products['products_price']),2)); } } else $price = sprintf("%01.2f", round($products['products_price'] + $spec_price,2)); //page select fix v2.8.3 August 11, 2009 } else $price = sprintf("%01.2f", round($products['products_price'], 2)); this line //page select fix v2.8.3 August 11, 2009 $spec_price = $HTTP_POST_VARS['spec_price'] //page select fix v2.8.3 August 11, 2009 } else $price = sprintf("%01.2f", round($products['products_price'], 2));
  6. Hi, makes change in price and I click update, but price is not changed and remains the same Can someone help me
  7. Use this form to receive requests filled do not get the (products_text_attributes_name) (products_text_attributes_text) added product Can someone help me
  8. can put a text on top of the input that appears only once. <?php if ($text_attributes['products_text_attributes_name'] == 0){ echo 'text text' ;}?> did not work
  9. how do I receive the text input in the form require('includes/application_top.php'); if ($cart->count_contents() == 0) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL')); } $produtos = $cart->get_products(); $subject = "Contact"; $message = '<HTML><HEAD><TITLE>email</TITLE></HEAD><BODY><FONT face="Tahoma, Verdana, Arial" size=2> <br><b>Products<b/><br></font><table border=1 width=100%>';$prod_lin = ' <TR bgColor="#ffffcc"><TD width=361><FONT face="Tahoma, Arial" size=1><STRONG>Product</STRONG></FONT></TD> <TD width=105><FONT face="Tahoma, Verdana, Arial" size=1><STRONG>Color</STRONG></FONT></TD> <TD width=105><FONT face="Tahoma, Verdana, Arial" size=1><STRONG>Cod</STRONG></FONT></TD> <TD width=69><FONT face="Tahoma, Verdana, Arial" size=1><STRONG>Qts</STRONG></FONT></TD> <TD width=89><FONT face="Tahoma, Verdana, Arial" size=1><STRONG>Price</STRONG></FONT></TD> <TD width=80><FONT face="Tahoma, Verdana, Arial" size=1><STRONG>Price Total</STRONG></FONT></TD></TR>';for($i=0;$i<sizeof($produtos);$i++) { $prod_pric = ($produtos[$i]['price']==0?'Price':$currencies->format($produtos[$i]['price'])); $prod_tota = ($produtos[$i]['price']==0?'Price':$currencies->format($produtos[$i]['price'] * $produtos[$i]['quantity'])); $prod_lin .= '<TR><TD><FONT face="Tahoma, Verdana, Arial" size=1>' .$produtos[$i]['name'].' </FONT></TD><TD><FONT face="Tahoma, Verdana, Arial" size=2>' .$produtos[$i]['products_text_attributes_name'].' </FONT></TD><TD><FONT face="Tahoma, Verdana, Arial" size=2>' .$produtos[$i]['model'].' </FONT></TD><TD><FONT face="Tahoma, Verdana, Arial" size=2>' .$produtos[$i]['quantity'].' </FONT></TD><TD><FONT face="Tahoma, Verdana, Arial" size=2>' .$prod_pric.' </FONT></TD><TD><FONT face="Tahoma, Verdana, Arial" size=2>'.$prod_tota.' </FONT></TD></TR>'; } $prod_lin .= '<TR bgColor="#cccccc"><TD><FONT face="Tahoma, Verdana, Arial" size=2><STRONG>TOTAL</STRONG></FONT></TD><TD> </TD><TD> </TD><TD> </TD><TD><FONT face="Tahoma, Verdana, Arial" size=2>'.$currencies->format($cart->show_total()).' </FONT></TD></TR>'; $message .= $prod_lin; $message .= '</table></body></html>'; $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "From: $firstname <$email_address>\n"; mail(STORE_OWNER_EMAIL_ADDRESS, $subject, $message, $headers); $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "To: $firstname <$email_address>\n"; $headers .= "From: ".STORE_OWNER."<".STORE_OWNER_EMAIL_ADDRESS.">\n"; mail($email, $subject, $message, $headers); $cart->reset(TRUE); tep_session_unregister('sendto'); tep_session_unregister('comments'); well placed but have not received information entered in input field .$produtos[$i]['products_text_attributes_name'].' </FONT></TD><TD><FONT face="Tahoma, Verdana, Arial" size=2>'
  10. Oscommerce Thumbnail Viewer II http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm I put in oscommerce rc2, the image is appearing more great is to leave the 400px resolution: I put so it does not work <div id="loadarea" style="width: 400px" align="left"></div> how do I scale the image size product_info.php <table border="0" cellspacing="0" cellpadding="2" align="center"> <tr> <td align="center" id="loadarea" class="smallText"> <?php if ($product_info['products_image_med']!='') { $new_image = $product_info['products_image_med']; $image_width = MEDIUM_IMAGE_WIDTH; $image_height = MEDIUM_IMAGE_HEIGHT; } else { $new_image = $product_info['products_image']; $image_width = SMALL_IMAGE_WIDTH; $image_height = SMALL_IMAGE_HEIGHT; } ?> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']).'"rel="opacity:70; opacity-reverse:true; zoom-fade:true; zoom-fade-in-speed:800; zoom-fade-out-speed:400; zoom-width:420px; zoom-height: 420px; zoom-position:center; thumb-change:mouseover; drag-mode:false; always-show-zoom:false "class="MagicZoom">' .tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], 420, 420, 'hspace="0" vspace="0"') . '</a>'; ?><br> <?php echo tep_image(DIR_WS_IMAGES . 'detalhes.gif', HEADER_DETALHES); ?></td> </tr> </table> additional_images.php <?php echo '<a class="magicborder" href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_sm_1']) . '"rel="enlargeimage::click" rev="loadarea"">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '</a>'; ?>
  11. http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm I put in oscommerce rc2, the image is appearing more great is to leave the 400px resolution: I put so it does not work <div id="loadarea" style="width: 400px" align="left"></div> product_info.php <table border="0" cellspacing="0" cellpadding="2" align="center"> <tr> <td align="center" id="loadarea" class="smallText"> <?php if ($product_info['products_image_med']!='') { $new_image = $product_info['products_image_med']; $image_width = MEDIUM_IMAGE_WIDTH; $image_height = MEDIUM_IMAGE_HEIGHT; } else { $new_image = $product_info['products_image']; $image_width = SMALL_IMAGE_WIDTH; $image_height = SMALL_IMAGE_HEIGHT; } ?> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']).'"rel="opacity:70; opacity-reverse:true; zoom-fade:true; zoom-fade-in-speed:800; zoom-fade-out-speed:400; zoom-width:420px; zoom-height: 420px; zoom-position:center; thumb-change:mouseover; drag-mode:false; always-show-zoom:false "class="MagicZoom">' .tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], 420, 420, 'hspace="0" vspace="0"') . '</a>'; ?><br> <?php echo tep_image(DIR_WS_IMAGES . 'detalhes.gif', HEADER_DETALHES); ?></td> </tr> </table> additional_images.php <?php echo '<a class="magicborder" href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_sm_1']) . '"rel="enlargeimage::click" rev="loadarea"">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '</a>'; ?>
  12. Additional images open at the site of the main image, like tabbed browsing images internal style that site.