Jump to content

blecky

Members
  • Content count

    34
  • Joined

  • Last visited

1 Follower

Profile Information

  1. blecky

    [Contribution] Ship In Cart

    I use a modified version of this great contribution and it works excellent. Thanks for a good work. Now I wanted to implement the UPS-XML module and that seems to screw things up. I no longer can select a UPS-XML shipping option, it shows wrong costs and it appears it has something to do with the encoding (where the '_' is added). During checkout, when the shipping option is to be selected, everything works fine, so it must be something with the shipping estimator itself. Any idea or suggestion? The testshop runs under http://shoptest.laserpointer4u.de/catalog. It is for testing only, so you can play around. Access is granted to user test and password test rgds
  2. blecky

    UPS XML shipping module

    There seems to be a bug in older php curl versions. It does not work with 4.1, but it does with 4.3.4.
  3. blecky

    [Contribution] Ship In Cart

    Oops, I believe I posted to the wrong contribution, sorry. Please disregard the last posting.
  4. blecky

    [Contribution] Ship In Cart

    I am a little confused: in the array European Union is a inconsistancy. In the original file the entry is: // European Union Origin 'European Union Origin' => array( '07' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_07, '08' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_08, '11' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_11, '54' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_54, '64' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_65, '65' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_69 ), but should it not be: // European Union Origin 'European Union Origin' => array( '07' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_07, '08' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_08, '11' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_11, '54' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_54, '64' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_64, '65' => MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_65 ), Does anyone know what is correct?? rgds Werner
  5. Ivan: That did it!! Works perfect now!! Tanks for your support! :lol: :lol: Have a nice weekend! rgds
  6. Hi Ivan, I use the correct link and it works, if I have "Use Save URL's" in the admin disabled, but it does not work if it is enabled (the variable $products_id remains empty). I was not yet able, to find out why. Re: my script It is not final yet, I want to make it look better, like different font for the paragraph header. When it's done, I will give it to the community.
  7. Ivan: I just installed Opera 7 on another computer and everything works fine. Must be something with this machine. Remains the tep_href_link issue. rgds + thanks again. Werner
  8. Ivan: Yes, you visited the right site. In order to get it work, I changed the link in product_info.php - I don't use the tep_href_link function. If I use that function I get an error message, because the products_id variable is then empty and the script cannot find the image .... I'm using the same Opera version you do. If I use the standard HTML link, nothing happens in Opera, MSIE and Mozilla work, although a customer reported he is not able to view the pdf datasheet with MSIE. Obviously, the problem is caused by the empty variable. As said before, I wrote a script, which creates a pdf file for our sales and shipping terms. It is very simply - not as fas as complex as yours. Get the same results: If I use a HTML link it is loaded (in all browsers), if I use the tep_href_link function I get an error, because the image is not found. If you like, you can view it in the German version of the store. Just select AGB from the info box and the link to the pdf file is at the bottom of the return page. Or directly http://shop.laserpointer4u.de/catalog/agb.pdf?la=DE. I am rather frustrated, because it should not be a big deal to add you contribution and now this. Thanks for your help! rgds
  9. @ivan If you refer to the preferences in Opera, yes, they are set. The mysterium is that the script I wrote works ok even in Opera. However, if I include application_top.php I get the same problem I have with the datasheet. I am using osCommerce 2.2MS1 with many additional contributions installed.... :(
  10. I was able to install the contributiion and got it to work. It appears there is no Problem with Mozilla and MSIE, but the PDF Data sheet does not load if I use Opera. Meanwhile, I wrote a little script which uses the same library to parse my sales conditions and to create a pdf file and it turned out, the problem occurs, when the application_top.php is included. There must be something in that file or other scripts loaded by that file, which cause the problem. :?: Has somebody else the same experience? and perhaps a solution for it? rgds
  11. blecky

    [Contribution] Ship In Cart

    I wanted to do some more modifications because it seems there still is a problem with tax calculation (the prices in my database are net, but they are displayed with tax, because the German authorities require that a B2B shop shows all prices with tax). We have also customers from other countries outside the EU and those customers do not need to pay tax. Therefore, I have 3 tax and shipping zones: Germany, Rest of the EU, Rest of the World. The first and the second need to pay tax, the third does not pay tax. The idea is, when a non-taxable country is selected, all (also the cart content) prices do not include tax, in the other case all do. I am a novice in PHP and I am also new to this great shop package, so it is hard to find out what to do. I (and I'm sure many other) would be grateful, if you could help. Thanks for your attention and time! regards Werner
  12. Ooops, now I got what your reply meant: I mixed up two different applications. Sorry.
  13. Erisen: wherr can I download it? http://www.oscommerce.com/community/contributions,1094 still has the version I have already. :? regards Werner
  14. It appears it was my fault. I checked the downloaded file again and the code is ok. Sorry, please accept my appologize. I made some modifications to the script and put some extra information in the language files. This zip file can be found at our ftp server ftp.optlectra.de/misc/shipcart.zip. I wanted to do some more modifications because it seems there still is a problem with tax calculation (the prices in the database are net, but they are displayed with tax). The German authorities require that a B2B shop shows all prices with tax. We have also customers from other countries outside the EU and those customers do not need to pay tax. Therefore, I have 3 tax and shipping zones: Germany, Rest of the EU, Rest of the World. The first and the second need to pay tax, the third does not pay tax. The idea is, when a non-taxable country is selected, all (also the cart content) prices do not include tax, in the other case all do. I am a novice in PHP and I am also new to this great shop package, so it is hard to find out what to do. I (and I'm sure many other) would be grateful, if you could help. Thanks for your attention and time! regards Werner
  15. blecky

    [Contribution] Ship In Cart

    A nice contribution - however I have one problem: The tax calculation on the merchandize is not corrected. I.e. if one selects a non-taxable country there is still tax calculated on the merchandize and the total. Any idea? Best regards Werner
×