Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cuauhtli

Archived
  • Posts

    14
  • Joined

  • Last visited

Profile Information

cuauhtli's Achievements

  1. Well, in line 784 I replaced: if (is_object($cart)) { $products = $cart->get_products(); for ($i = 0, $n = sizeof($products); $i < $n; $i++) { $contents[] = array('text' => $products[$i]['quantity'] . ' x ' . $products[$i]['name']); } } } } with if (is_object($cart)) { $products = $cart->get_products(); for ($i = 0, $n = sizeof($products); $i < $n; $i++) { $contents[] = array('text' => $products[$i]['quantity'] . ' x ' . $products[$i]['name']); } } if (sizeof($products) > 0) { $contents[] = array('text' => tep_draw_separator('pixel_black.gif', '100%', '1')); $contents[] = array('align' => 'right', 'text' => TEXT_SHOPPING_CART_SUBTOTAL . ' ' . $currencies->format($cart->show_total(), true, $currency)); } else { $contents[] = array('text' => ' '); } } } But I'm still getting the "show_total() on a non-object" fatal error. I tried this contribution with a MS2 store and It worked great, but I haven't been able to use it on a RC1 store. Maybe that's the problem?
  2. A guide to making your own payment module is needed and would be very appreciated.
  3. There is a great need for a guide on writing your own payment module. I think I saw one in the forums a couple of months ago. I'll try to look for it.
  4. I've been looking for one as well , but haven't found one.
  5. I used the following code in checkuot_process.php to add the customers name, address and telephone to the admin email. The original source code: // send emails to other people ?if (SEND_EXTRA_ORDER_EMAILS_TO != '') { ? ?tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); ?} The modified code: // send emails to other people NEW if (SEND_EXTRA_ORDER_EMAILS_TO != '') { $email_order = $order->customer['firstname'] . ' ' . $order->customer['lastname'] . "\n" . 'Telefono: ' . $order->customer['telephone'] . "\n" . $order->customer['email_address'] . "\n\n" . $email_order; tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT . ' ' . $insert_id, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } So I think you just have to add the extra fields from the gateway to $email_order
  6. Have you checked the requirements for the HSBC payment module contribution? Hope this helps!
  7. I need a securepay / australia module for my shop. Any chance you could post it or at least send me a copy? Thank you.
  8. I'm in need of a Commweb module also. I'll be looking into it shortly.
  9. cuauhtli

    Dialect Safepay

    Hi. I need a module for Dialect Safepay too. I'm starting to write one. Maybe we could work together. Maybe you could upload what you've got somewhere so I can look into it?
  10. I tried the contrib on a store installed on root instead of on /catalog and this contrib worked OK, with restrictions. I found a problem when trying to change languages: all the flags are redirected to the same page, but sorted differently. For example: http://www.mystore.com/category/Books.html?sort=2a Most users only have one language installed, but is necessary for others. :)
  11. I can't make it work. I found a couple of problems: 1) It looks like the store has to be installed in root, since all my links now point to: www.mystore.com/product/product123.html , www.mystore.com/shipping.html instead of www.mystore.com/catalog/product/product123.html , www.mystore.com/catalog/shipping.php 2) My store is in spanish, and this contribution uses the product names in english. So it's no use to me, but I'll try to mod it so it works in spanish. 3) I had trouble editing the .htaccess file. The rewrite rules are VERY long, so if you have word wrap enabled while editting it won't work. Maybe this is why some people are having problems. Anyway, I think this is a much needed contribution. Thank you nimmit!
×
×
  • Create New...