Jump to content

Crazypilot

Members
  • Content count

    60
  • Joined

  • Last visited

Profile Information

  1. Crazypilot

    [add-on] Discount Code (support)

    Hi All, I am having the same problem that many other are complaining about. When discount is set as a percentage, like 10%, then the NET price is discounted by 10% = all correct. Sample: original price 100€ will be discounted with 10% and show as subtotal 90€. But, when the TAX /VAT is added to the NET price, then the TAX/VAT is calculated on the price BEFORE the discount. It should off course be based and calculated on the price AFTER discount, right? Example on how it should be with 15% TAX/VAT: NET price before discount: 100€ Discount 10% ==> NET Price after discount = 90€ TAX/VAT 15% ==> 0,15 x 90€ = 13,5€ Total Price= 90 + 13,50 = 103,50€ including TAX Now Example on how it is wrongly working: NET price before discount: 100€ Discount 10% ==> NET Price after discount = 90€ TAX/VAT 15% ==> 0,15 x ( Wrongly based on original price) 100€ = 15,00€ Total Price= 90 + 15,00 = 105,00€ including TAX which is giving a false TAX figure As seen, the latter example is wrong and is giving me faulty invoices/Receipts and can not be used for fiscal declarations. I contacted high-quality-php-coding.com that created this handy ADD-ON and explained the problem and got following reply: Hello, Thank you for your interest in our product. To get correct order total info, you should adjust the following variables: $order->info['tax'] $order->info['tax_groups'][<your tax>] $order->info['total'] Sincerely, The High Quality PHP Coding Team. Maybe someone smarter than I can help me figure out where and how to use this information to get the contribution to show correct TAX? It is a super good contribution, BUT as long as it shows wrong TAX, it can not really be used right? Best regards CrazyP
  2. Hi all, Hopefully someone can help me with following Ajax News ticker problem. I have installed the add-on ok, but the ticker line does NOT start scrolling as it seems stuck on loading content. Pls Check www.securiled.com However, if I navigate to another page, then it starts and functions 100%. Anyone that can help to figure out why the ticker get's stuck only on the entry-page? Add-on download: http://addons.oscommerce.com/info/5590 Best regards CrazyP
  3. Crazypilot

    Reviews in Product Display v2.0

    Anyone who figured out how to show reviews in all languages (if using multilingual shop) ? I mean, if having 2 reviews in English and 3 in French, all 5 reviews would be shown undepending on selected language. Best regards Crazypilot
  4. Crazypilot

    Multiple languages News scroller?

    For all that is interested of a language specified News scroller, I got it finally to work. Thanks Chris for the script above, however I had to "try and a lot of error" it before I got it to work. Note, my Catalog is in the Root so I deleted DIR_WS_CATALOG and finally got below script to work like a charm. Regards Cp */ ?> <!-- scroller //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => BOX_HEADING_LINKS ); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $filename = DIR_WS_LANGUAGES. $language . '/' . "news.html"; $fd = fopen ($filename, "r"); $contents = fread ($fd, filesize ($filename)); fclose ($fd); $info_box_contents[] = array('align' => 'left', 'text' => '<center><marquee direction="up" height="160" scrollAmount="2" onMouseover="scrollAmount=0" onMouseout="scrollAmount=2">'.$contents.'</marquee></center>' ); new infoBox($info_box_contents); ?> </td> </tr> <!-- links_eof //-->
  5. Crazypilot

    Multiple languages News scroller?

    Really super support!! Thank you Chris for superfast answer. I thought somtething like that would be applicable, but was to unsure about the code. I will try it out and reply to this string if it works. By the way, anyone with a solution for a similar problem. When using a multilingual shop the Newsletter that can be used with Osc is only in one language. Is there a way to sort customers to english_newsletter/ swedish_newsletter/french_newsletter/german_newsletter? Regards Crazypilot
  6. Hi all, I am using the contribution: News Scroller Box - NO JAVA/HTML Version and are quite happy with it. My problem is that my shop: www.tokyotoys.biz is multilingual and I would like to have the news only in selected language. At the moment there is only 1 news.html page located in the Catalog folder. Contrib is :http://www.oscommerce.com/community/contributions,389/category,all/search,news+scroller As I am not so very good at php I humbly reach out my hand for some support at this forum. The main problem is shown below where the HTML page that will scroll in the infobox is stated as "./news.html"; I have tried to look at the other infoboxes for clues on how to do it, but I have not figred it out yet. Anyone with a helping hand? */ ?> <!-- scroller //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => BOX_HEADING_LINKS ); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $filename = "./news.html"; $fd = fopen ($filename, "r"); $contents = fread ($fd, filesize ($filename)); fclose ($fd); $info_box_contents[] = array('align' => 'left', 'text' => '<center><marquee direction="up" height="160" scrollAmount="2" onMouseover="scrollAmount=0" onMouseout="scrollAmount=2">'.$contents.'</marquee></center>' ); new infoBox($info_box_contents); ?> </td> </tr> <!-- links_eof //--> Best regards Crazypilot
  7. Sorry, me again, In Web-interface Admin there is a possibility to use a function if " only valid if Members Discount Mod is loaded". Sounds great! Anyone that knows which "members discount contribution" it refers to? regards Cp
  8. Lewis, i really like Your contribution and love your anigif, but as a Ms2 rebuilder i must say this V3 rwas the only version functionable for me. No multiple pictures and a proffecional appearance. Only thing bugging me is the bloke wishing for 5 bucks( in contr readme), this is not the wright place, but shure he is worth it. Crazypilot tokyotoys.biz
  9. Crazypilot

    JUST RELEASED! Printable Catalog

    Hi Lewis, Thanks for cool contribution. I downloaded your latest version 2.0, but it still gives multiple pics and info of the same product. There must be something more to do with it than the out-commented splits. Any Idea? My shop: www.tokyotoys.biz Regards Crazypilot
  10. Crazypilot

    Must agre to terms problem

    Just to end this topic with no reply. The multi language problem is solved and author Paul Wehle will update the contrib. Search for must agree to terms in contrib section. Note, new contrib only a must for shops with multiple languages. Cp
  11. Crazypilot

    Must agre to terms problem

    Update to same question. As i Noticed it is the Javascript that opens up the terms page to the default language that is the problem. If I default Swedish as "start" language, it will show swedish terms, English as default = english terms. As it is now a french customer, when he clicks "read our terms" will have the popup terms page in English (English default language in Admin). Any suggestion how to change the script so the popup terms will show selected language terms?? All help is good help! Regards Crazypilot
  12. Hi, I've installed The Must agree to terms 1.5 and it works like a clock except that if the customer click the link to our terms only the Swedish terms will be shown. The shop should work in English, Swedish, German and French and all languages have their own native terms/conditions page. I have understand that much that the "read our terms" link is faulty, but haven't yet figured out how. Anyone out there with a clue? Best regards Crazypilot
×