Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Juanernesto

Archived
  • Posts

    22
  • Joined

  • Last visited

Everything posted by Juanernesto

  1. Hello everybody! I 've just found this contribution and I would like to know if it's also possible to send an invoice to each customer as a pdf attachement (automatically when his order status gets updated). In my store each purchase creates automatically an invoice.pdf. Would it be possible to have this invoice.pdf get mailed to each customer with this contribution? Many thanks in advance, Johannes
  2. Hey, I have the typical German special characters, like ?. It gets replaced in an odd manner in the URL, how can I define how they should be replaced in the URL? I tried the following code, but it didn#t work: if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) { while (strstr($link, '&&')) $link = str_replace('&&', '&', $link); $link = str_replace('?', '/', $link); $link = str_replace('&', '/', $link); $link = str_replace('=', '/', $link); $separator = '?'; } $link = str_replace('?', 'ue', $link); $link = str_replace('?', 'oe', $link); $link = str_replace('?', 'ae', $link); $link = str_replace('?', 'ss', $link); $seo_link = str_replace('?', 'ue', $seo_link); $seo_link = str_replace('?', 'oe', $seo_link); $seo_link = str_replace('?', 'ae', $seo_link); $seo_link = str_replace('?', 'ss', $seo_link); $seo_rewrite_link = str_replace('?', 'ue', $seo_rewrite_link); $seo_rewrite_link = str_replace('?', 'oe', $seo_rewrite_link); $seo_rewrite_link = str_replace('?', 'ae', $seo_rewrite_link); $seo_rewrite_link = str_replace('?', 'ss', $seo_rewrite_link); I didn#t get any errors, it just didn't show up as it should be. Any ideas? Thanks in advance.
  3. Hmmm, I couldn't get the attributes into the vendors_email yet and I really don't know why. Anyway, if you got a minute these days, it would be great if you could take a look into this. 4 eyes can find more than 2 eyes. ;) I did everything how it was described in the installation.txt. This is the snippet from the /admin/orders.php // Get all the products to be included in the email $vendors_email_products_query = tep_db_query("select distinct o.orders_id, v.vendors_id, p.vendors_prod_comments, o.products_name, p.vendors_prod_id, o.products_model, o.products_id, o.products_quantity, p.vendors_product_price, o.orders_products_id FROM vendors v, orders_products o, products p where p.vendors_id=v.vendors_id and v.vendors_id='" . $vendors_email_list['vendors_id'] . "' and o.products_id=p.products_id and o.orders_id='" . $oID . "' order by o.products_name"); while ($vendors_email_products= tep_db_fetch_array($vendors_email_products_query)) { $email = $email . EMAIL_SEPARATOR . "\n" . EMAIL_SEPARATOR . "\n". 'Sehr geehrte Damen und Herren,' . "\n" . "\n" .'hiermit bestellen wir folgende(n) Artikel:' . "\n" . "\n" . 'Artikelbezeichnung: '.$vendors_email_products['products_name'] . "\n" . 'Artikelnummer: '.$vendors_email_products['vendors_prod_id'] . "\n" . 'Preis (inkl. Mehrwertst. und Versandkosten): '.$vendors_email_products['vendors_product_price'] . ' EUR' . "\n" . 'St?ckzahl: ' .$vendors_email_products['products_quantity']."\n" . 'Anmerkungen: '.$vendors_email_products['vendors_prod_comments'] . "\n" . "\n" . 'Bitte versenden Sie - sofern wir nichts Gegenteiliges vereinbart haben - die Ware mit unserem Absender. Die Rechnung schicken wir direkt an den Kunden.' . "\n" . EMAIL_SEPARATOR . "\n" .'Nur f?r Dokumentationszwecke:' . "\n" ."\n" . 'Unsere Artikelnr. bei Prontomania: ' . $vendors_email_products['products_model'] . "\n" . EMAIL_SEPARATOR . "\n" . 'Mit freundlichen Gr??en,' ."\n" . "\n" . 'Johannes Pieper' . "\n" . 'Prontomania' . "\n" . 'www.prontomania.de'; $current_products_id=$vendors_email_products['products_id']; $vendors_email_products_attributes_query = tep_db_query("select distinct p.vendors_id, opa.products_options_values from orders_products_attributes opa, orders o, products p where opa.orders_id='" . $oID . "' and opa.orders_products_id='" . $current_products_id . "' and p.vendors_id='" . $vendors_email_products['vendors_id']. "' GROUP BY vendors_id"); while ($vendors_email_products_attributes= tep_db_fetch_array($vendors_email_products_attributes_query)) { $email_message = $email_message . '<tr><td> </td><td colspan=3>'. $vendors_email_products_attributes['products_options_values'] .'</td></tr>'; } $email= $email . '<br>' . $email_message; } $email = $email . '</table><br><HR><br>'; As you see, I didn't comment this line out: $email= $email . '<br>' . $email_message; The email is perfect, just as it should be. Only the attributes are not shown. So, did you or somebody else find the issue? Thanks in advance!
  4. Hey, many thanks. I 've just inserted the code you provided me wit, and it works a charme. I will take a look into your MVS Demo Admin and Demo Catalog for sure. When I decide to install MVS, do I still need Vendor_Auto_Email. Is it recommendable to use both of them? if you don't mind, I still have got one question regarding the Vendor_Auto_email-contribution. I 'd still like to make the products attributes (e.g. color: green) shown in the vendors email. I guess I must insert products_attributes somehow into the $vendors_email_products_query, but I was not sure since "products_atributes" is a table of its own and its not a field of the products table. Can you give me a hint? Cheers, Johannes
  5. Oh, I thought the latest release was a full package. But it just provided the changed files. So .. I ' ll try how things change when I upload the ext folder as well. Many thanks !
  6. Sorry, it mind sound stupid, but I don't find this file: catalog/ext/modules/payment/paypal_ipn/ipn.php. I just uploaded the two other files. In the package that I downloaded there was no file like ext/modules/payment/paypal_ipn/ipn.php. What have I done wrong?
  7. First of all: This is the greatest contribution ever. It's just perfect for people who use Drop Shipping just like me. I' ve been looking so long for something like this. If I would have to pay for a software that would send these emails, I would have to pay so much ... Anyway, I still have got one question (or actually two) ... :) 1. I 'd like to display the customer's telephone number in the vendors email. Therefore I added a new field to the 'orders' table called delivery_telephone and I also added a new field to the Adress_book table called entry_telephone. Then I added this line to the vendors email section in the admin/orders.php: $delivery_address_list['delivery_telephone'] ."\n" . But still I don't get the number displayed in the email. I also don't get any errors. Does somebody know how I can solve this? 2. I 'd also like to display the products attributes in the vendor's email. any ideas how I can do this? Thanks in advance!
  8. I 've just modified the paypal_ipn.php and the english/modules/payment/paypal_ipn.php. What else shall I modify? When I installed paypal_ipn, I just uploaded these files, I didn't modify anything else. That's why I wonder why it's not enough just to modify these two files. With the normal paypal files, I did the same (replaced "paypal" with "creditcard", as described above) and it works.
  9. Hey, thanks for your answer. I 've let the the URL field at Paypal free now and the customer first gets a confirmation by paypal that the amount has been paid and then he gets redirected to the checkout_confirmation of my store. There - again - he gets this warning as posted above. Another question: I 'd like to copy the paypal_ipn.php file and name it "creditcard payment" because with this, customers see better that they can pay with credit cards (via paypal) at my store. Therfore, I copied the paypal_ipn files and replaced every paypal_ipn with creditcard and every PAYPAL_IPN with CREDITCARD. I didn't change anything else. In my admin, now, I do see a new payment option "creditacard" and it also has got the "Enable creditcard payment" true/false options. All the other options at the bottom ("Gateway server", "Transaction Type" and so on) are not shown. There are just the blank fields. Therefore I don't get this "new" creditcard_ipn module to work. I have been doing the same way with th paypal file that comes with osC by default, and it works great. Has anybody some idea, why it doesn't work with paypal_ipn? any advice welcome. Thanks in advance!
  10. Hey folks, first of all: thanks for this great contribution. I installed it and it works .. .... beside one thing. In my paypal account I 've set the redirect url as www.myshopwhatever.com/checkout_process.php When a customer buys a product now at my shop, he gets redirected to this page https://www.whatever.com//checkout_confirma...AGREEMENT_ERROR On the top he sees a red warning CONDITION_AGREEMENT_ERROR!. I tried the same with entering the checkout_succes.php and the checkout_confirmation.php. The reason of this is probably, that I am using the contribution "Must agree to terms". Has anybody an idea how I can fix this?? Thanks in advance. These are my settings of Paypal IPN: PayPal IPN Enable PayPal IPN Module True E-Mail Address [email protected] Transaction Currency Only EUR Payment Zone Set Preparing Order Status Preparing [PayPal IPN] Set PayPal Acknowledged Order Status Preparing [PayPal IPN] Gateway Server Live Transaction Type Per Item Page Style Prontomania Debug E-Mail Address [email protected] Sort order of display. 0 Enable Encrypted Web Payments False Your Private Key Your Public Certificate PayPals Public Certificate Your PayPal Public Certificate ID Working Directory OpenSSL Location /usr/bin/openssl Can anybody answer me these questions: 1. What shall I type in my IPN settings in my paypal account as the url at which I 'd like to receive my IPN notifications? I wrote www.myshop.com. Is that correct? 2. How can I fix the problem regarding this CONDITION_AGREEMENT warning at the top. Is anybody using this contrib and also "Must agree to terms"? 3. Which redirect url is the correct one? I 've already read checkout_confirmation or checkout_success. which s the right one? It would be great if you could give me some advice. Thanx in advance
  11. Look for return htmlspecialchars(utf8_encode($link)); in your sep_class.php. Notice that this line exists twice. Replace both with return str_replace('"','"',str_replace('>','>',str_replace('<','<',utf8_encode($link)))); For me it worked. Good luck!
  12. I 've just found the answer to my problem. In case anybody else needs it:
  13. I just found something out ... when I change the & in the adress field into just "&" a customer sees the product in his shopping cart (as it should be). So, have you got any ideas why I get this "&" in my adress field? There should be a way to change the code in order that instead of & just & comes up. Any ideas? Thanks in advance!
  14. I just found something out ... when I change the & in the adress field into just "&" a customer sees the product in his shopping cart (as it should be). So, have you got any ideas why I get this "&" in my adress field? There should be a way to change the code in order that instead of & just & comes up. Any ideas? Thanks in advance!
  15. Hey folks. I 've just installed the latest version of this great contribution. It works great except for one problem: When a customer clicks on "Buy now" he won#t get to the login.php, but to the shoppingcart.php. So he gets a product not found message. :( I know, this problem is already known, but I thought it already had been solved since the version 1.2 release. So, how come is the problem still there? Do you guys get the same problem? any ideas? Thanks for any help in advance!
  16. Hello, I ve got a question regarding shipping fees. Let?s say I offer two kinds of products in my store. Product A has got a shipping fee within my country (Germany) of 5 ?. Product B has got a shipping fee within Germany of 20 ?. There is no logical connection between the two different shipping fees (I mean e.g. that product B is not 4 times as heavy as product A). OK ... Until now I could solve my problem using the contribution Individual Product Shipping Prices - v1.0 http://www.oscommerce.com/community/contributions,1333 Now the more tricky part comes: Product A can be delivered to the countries C, D and E. All of these countries have got different shipping fees. Product B can be delivered, let?s say to the countries D, E, F, G. All of these countries again have got diffferent shipping fees. The shipping fees of D and E shall also differ from the ones that apply to A. Again there is no connection, that means that you can?t say: Delivering a product to D is e.g. 10 ? (or 5 % or whatever) more expensive than delivering it witin Germany. You see, my problem is that I want to define an individual shipping fee for each product and also define different zones with different shipping fees for each product individually. Does anybody know if that?s possible? You would help me a lot. Thanks in advance ..
×
×
  • Create New...