Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

woodde

Pioneers
  • Posts

    22
  • Joined

  • Last visited

Profile Information

woodde's Achievements

  1. Thanks for your reply. I've already copied all files from the standard version modules folder into my catalog / modules folder and nothing changed. Still the same error.
  2. Hi there i need some help to get the Paypal Express or Paypal Standard payment working for my Shop. I'm using osCommerce Online Merchant v2.3.3 When choosing Paypal Express payment from cart it loops back to the cart again with the error message "ReturnURL is invalid." Where can i modify that Return URL and what do i have to change? In Admin Panel at Payment modules i've tried "Test API Credentials" and it returns this error Warning: require(../includes/modules/payment/paypal_express.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/*****/html/admin/ext/modules/payment/paypal/paypal_express.php on line 15 Warning: require(../includes/modules/payment/paypal_express.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/*****/html/admin/ext/modules/payment/paypal/paypal_express.php on line 15 Fatal error: require() [function.require]: Failed opening required '../includes/modules/payment/paypal_express.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/*****/html/admin/ext/modules/payment/paypal/paypal_express.php on line 15 configure.php is like that define('HTTP_SERVER', 'http://www.****.de'); define('HTTPS_SERVER', 'http://www.****.de'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_IMAGES_PRODUCTS', 'http://images.****.de/'); define('DIR_WS_IMAGES_PRODUCTS_SMALL', 'http://images.****.de/products_small/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  3. Thanks very much for this excellent contribution. It was easy to install and works well with the first product image. But i'm also using the "multi images extra 1.02" contribution and i failed to get both working together. Sadly I'm not a PHP / MySQL Pro. According to the code in the popup_image_extra.php file i assume this file asks the details about the image to be open from the database. So this must be included into the product_info.php when calling the lightbox link, right?. Any clue how to change that code? my product_info.php (starting at line 115) <td class="main"> <?php if (tep_not_null($product_info['products_image'])) { ?> <table border="0" cellspacing="0" cellpadding="0" align="right"> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="0"') . /*'<!--- <br> --->' . TEXT_CLICK_TO_ENLARGE . */'</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="0"') . /*'<!--- <br> --->' . TEXT_CLICK_TO_ENLARGE . */' </a>'; ?> </noscript> </td> </tr> <?php } for($nb=1; $nb <= NB_IMAGE_EXTRA; $nb++) { $var_products_image = "products_image".$nb; if (tep_not_null($product_img[$var_products_image])) { ?> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE_EXTRA, 'pID='.$product_info['products_id']).'&id='.$nb.'\\\')">'. tep_image(DIR_WS_IMAGES_EXTRA . $product_img[$var_products_image], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="0"') . '<!--- <br> --->' . /* TEXT_CLICK_TO_ENLARGE . */'</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES_EXTRA . $product_info[$var_products_image]) . '" target="_blank">' . tep_image(DIR_WS_IMAGES_EXTRA . $product_img[$var_products_image], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="0"') . '<!--- <br> --->'. /* TEXT_CLICK_TO_ENLARGE . */'</a>'; ?> </noscript> </td> The first portion that calls the main images works perfectly but i couldn't get the NB_IMAGE_EXTRA part doing the same. When adding the same code as above it opens the products main image, so i tried modifying it with adding the "pID" code but didn't get it working. I noticed that pID is interpreted from the popup_image_extra.php but i failed to include that coe to the product_info.php. popup_image_extra.php that shows the additional images <?php /* $Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); $navigation->remove_current_page(); $id = $_REQUEST['id']; $products_query = tep_db_query("SELECT pd.products_name, pi.products_image".$id." FROM ".TABLE_PRODUCTS_IMAGES." pi, ".TABLE_PRODUCTS." p, ".TABLE_PRODUCTS_DESCRIPTION." pd WHERE p.products_id = pd.products_id AND p.products_id = pi.products_id AND p.products_status = '1' AND p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' AND pd.language_id = '" . (int)$languages_id . "'"); $products = tep_db_fetch_array($products_query); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo $products['products_name']; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <script language="javascript"><!-- var i=0; function resize() { if (navigator.appName == 'Netscape') i=0; if (document.images[0]) window.resizeTo(document.images[0].width +35, document.images[0].height+80-i); self.focus(); } //--></script> </head> <body onload="resize();" bgcolor="#333333"> <a HREF="#" onClick="window.close();return false"><?php $products_image = "products_image".$id; echo tep_image(DIR_WS_IMAGES_EXTRA . $products[$products_image], $products['']); // products_name ?></a> </body> </html> <?php require('includes/application_bottom.php'); ?> Any help is appreciated.
  4. It's working perfectly, thanks very much for your help. Damn, i need to learn much more about PHP to get such problems done by myself in future.
  5. I'm using the Base Price contribution and it works fine. Recently i stumble upon the "Product Listing in Columns 2.2.7"contribution I've tried to combine both but i failed. Anyone combinated both already and can direct me to what to do? code of my product_listing.php file (used before adding the colums contribution) case 'PRODUCT_LIST_PRICE': //Base Price Change $lc_align = 'right'; $lc_text = tep_get_products_display_price($listing['products_id']) . tep_get_products_display_price($listing['products_id'], true) . '<br>'; //Base Price End break; this results in: note the Price of 21,06 EUR and the Baseprice of 8,49 EUR / m² code used in the product_listing_col.php file: case 'PRODUCT_LIST_PRICE': $lc_align = 'right'; if (tep_not_null($listing[$x]['specials_new_products_price'])) { $lc_text = '<br> <s>' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($listing[$x]['specials_new_products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</span> '; } else { $lc_text = '<br>' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . ' <br><br>'; } break; this results in: without baseprice. I've tried several ways to include that "old" code but all failed. Anyone have a clue what to do to use this colums contribution with the base price contribution?
  6. found this contrib recently, installed (Product Listing in Columns 2.2.7 from 23.may 2008), tested and i like it .... but with one exception. I'm using the "Base Price" contrib that shows the base price beside each price but i wasn't able to include it to this contrib. anyone can help please? code of my product_listing.php file (used before adding the contrib) case 'PRODUCT_LIST_PRICE': //Base Price Change $lc_align = 'right'; $lc_text = tep_get_products_display_price($listing['products_id']) . tep_get_products_display_price($listing['products_id'], true) . '<br>'; //Base Price End break; this results in: note the Price of 21,06 EUR and the Baseprice of 8,49 EUR / m² code used in the product_listing_col.php file: case 'PRODUCT_LIST_PRICE': $lc_align = 'right'; if (tep_not_null($listing[$x]['specials_new_products_price'])) { $lc_text = '<br> <s>' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($listing[$x]['specials_new_products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</span> '; } else { $lc_text = '<br>' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . ' <br><br>'; } break; this results in: without baseprice. I've tried several ways to include that "old" code but all failed. Anyone have a clue what to do to use this contrib with the base price contrib?
  7. woodde

    Cash on Pickup

    Hello i've came across the Cash on Pickup contrib and included it without problems. I need to use the "Shipping methods allowed" option there but as i'm using Multi Vendor Shipping modul instead of the standard OSC shipping modules i can't use that "Shipping methods allowed" option. Anyone with using both COP and MVS does have an solution for this please? I need to allow Cash on Pickup only for the Pickup option that i use for two of my 8 vendors.
  8. i've changed $orderarray[$i] = array( "Model" => nl2br("" . $order->products[$i]['name'] . $products_ordered_attributes . "\n" ), into $orderarray[$i] = array( "Model" => ("" . $order->products[$i]['name'] . $products_ordered_attributes . "\n" ), so now there is only one space line between them. not perfect but better than before. thanks for your help.
  9. but where? please tell me what file and what line does have that code. my problem is i did not found that code. to make it clear: i don't know if the code is <br> or \n in the source file. The email source code shows <br> but as both <br> and \n would create a <br> in the arrived email i'm not sure which of both to look for. anyway, i assume i have to change something in catalog/checkout_process.php within this code $orderarray[$i] = array( "Model" => nl2br("" . $order->products[$i]['name'] . $products_ordered_attributes . "\n" ), "Modelnr"=> nl2br($order->products[$i]['model'] . "\n"), "Qty" => nl2br($order->products[$i]['qty'] . "\n"), "Price" => nl2br($currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . "\n")); but as between $order->products[$i]['name'] and $products_ordered_attributes there is no <br> or \n i don't know why the mail has three <br> between them.
  10. similar problem. i do have 2 <br> between products name and products_attributes like this USL 50 Endkappe Rechts (23 Dekore) <----- Products name <br> <br> Dekor kiefer <----- Products attribute but i want it like this instead USL 50 Endkappe Rechts (23 Dekore) Dekor kiefer what code do i have to remove? I've tried several code changes but none of them worked.
  11. Reihenfolge: Zwischensumme Versandkosten MwSt. Summe Bilder posten geht wohl nicht daher ein Link zu dem Screenshot http://www.wood-dealer.de/zusammenfassung.gif und auch gleich noch der von den Steuern http://www.wood-dealer.de/mwst.gif hm, ich darf wohl weder Bilder noch Links posten. Bitte URL copy & paste zum ansehen der screenshots. Danke.
  12. Ich denke das habe ich alles gemacht. Hier mal die Screenshots der 3 Steuerseiten: Stimmt das so oder muss ich noch was anderes einstellen? Bei den Artikelpreisen wird die MwSt. richtig dazuberechnet, nur nicht bei den Versandkosten. Die erscheinen Netto.
  13. Hello I've installed MVS recently to my Shop. Now i can define shipping methods for groups of products (but not for each product as said?). Anyway I've added the Shipping costs in the Admin without Tax. Tax class was choosen. But when i'm doing a test and buy some things in the Shop no Tax is added to the shipping costs but only to the products price - so there it works. This is what i've entered: Versandkosten nach Zonen Enable Zones Method True Tax Class Mehrwertsteuer Sort Order 2 Zone 1 Countries DE Zone 1 Shipping Table 10:5.88,20:8.40,30:25.97,50:31.09,100:35.71,200:47.90,300:63.44537815,400:79.831 93277,500:96.63865546,600:109.2436975,700:126.0504202,800:149.5798319,900:161.344 5378,1000:168.0672269, Zone 1 Handling Fee 0 Zone 2 Countries Zone 2 Shipping Table 3:8.50,7:10.50,99:20.00 Zone 2 Handling Fee 0 Zone 3 Countries Zone 3 Shipping Table 3:8.50,7:10.50,99:20.00 Zone 3 Handling Fee 0 Anyone can help me to get the Tax also added to the shipping costs? Thanks
  14. Hallo Wo kann ich die Einheit des Gewicht für die Artikel umstellen? Bei mir wird alles mit lb(s) angezeigt. danke.
×
×
  • Create New...