Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. YePix

    SMTP Authentication and OSCommerce

    I hope it works now;) For everyone in the future. Write by PM. You can get the required PHPMailer via the download link
  3. the shipping is 0.00 for me. When I look at the addon 2015 Order Totals 3.3 BS by @raiwa info@sarplataygemas.com from raiwa, the final price is calculated and output in includes / modules / content / shopping_cart. But I don't get any further in the shopping_cart classes. i only need the final price. before the customer clicks on the buy button in checkout_confirmation.php.
  4. I may not be understanding what you are wanting to do but you can't know the final total in the shopping cart since shipping has not been selected. Before that, the final total for the shopping cart would be the sub-total that is already shown on that page.
  5. Hello everyone. I would like to write the final total in the table customer_basket - final_price. does anyone of you have an approach how I can determine the amount from order_total in the shopping_cart.php classes?
  6. Yesterday
  7. Psytanium

    SMTP Authentication and OSCommerce

    I removed : namespace PHPMailer\PHPMailer; from PHPMailer.php Is that OK to remove it ? Anyway, now I have another error: Fatal error: Class 'SMTP' not found in /home/woodandgasleb/public_html/ext/modules/PHPMailer/PHPMailer.php on line 1939 Any idea ? I appreciate your help. Because apparently all the docs and topics I already found are for older version of PHPMailer.
  8. frankl

    New management and osCommerce v4

    Great! Looking forward to it 👍
  9. Psytanium

    SMTP Authentication and OSCommerce

    I downloaded the latest version of PHPMailer, I found 5 files inside it : Exception.php OAuth.php PHPMailer.php POP3.php SMTP.php Uploaded to ext/modules/PHPMailer But in your admin/includes/classes/mail.php filem the first line started with : require_once '../ext/modules/PHPMailer/class.phpmailer.php'; There is no such file (class.phpmailer.php) in PHPMailer folder. If I change the line to require_once '../ext/modules/PHPMailer/PHPMailer.php'; I get an error when I open the backend: Fatal error: Class 'PHPMailer' not found in /home/user/public_html/backend/includes/classes/email.php on line 11
  10. Last week
  11. radhavallabh

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Fixed it dear.. it was a curly braces issue from server.
  12. radhavallabh

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Hi thank you for the reply dear; I used the code you gave and the error disappeared. But dear when I click the product link on shopping cart page it redirects to the index page instead; Please can you help me understand and fix the issue... Thank you so much in advance; Warm Regds./ radhavallabh
  13. Jack_mcs

    PayPal App with osCommerce 2.2-MS2

    @bholland PM sent.
  14. bholiand

    PayPal App with osCommerce 2.2-MS2

    Can I hire you for a screenshare session? I think this might be more effective. Please send me a PM.
  15. There's nothing in the code that would allow that. It should be possible to insert the language anywhere in the code where a link is created though I've never tried it. That's strange. While none of the SERVER variables are guaranteed to be present, there is a standard that lists items that should be present and that is one of them. I can only think it is something specific to your server since it has never come up before. To prevent it, you can change this line $this->real_uri = ltrim( basename($_SERVER['SCRIPT_NAME']) . '?' . $_SERVER['QUERY_STRING'], '/' ); to this $this->real_uri = ltrim( basename($_SERVER['SCRIPT_NAME']) . ( isset($_SERVER['QUERY_STRING']) ? '?' . $_SERVER['QUERY_STRING'] : ''), '/' );
  16. radhavallabh

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Hi; Also I am getting this error on install dear version 1.0.8.6 phoenix , I used the fresh seo.class file you shared here in forum- Undefined index: QUERY_STRING in /xx/xx/xx/includes/classes/seo.class.php on line 2599
  17. radhavallabh

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Hi dear; is it possible we have the multi language urls with the lanuage folder name in url prior to the actual product name instead like below? https://www.xxx.com/de/yy-yy-130.html
  18. Demitry

    Need some JS/jQuery help

    Hi, I’m finishing up an update to a Multi-Vendor Shipping (MVS) addon feature, and have encountered a situation that I am having a difficult time resolving. The problem is with my JS/jQuery skills. A while back, I made a Purchase Order feature that can be saved as a PDF file and sent to the vendor via email from the same page. While updating this page and its features, I came across an issue where the text that wraps inside of a textbox/textarea element, but does not wrap when rendered via a PDF file. I found a number of solutions to wrap this text for those fields in the PDF, but cannot seem to make any of these solutions work with my current jQuery code for generating the PDF file. The screenshot image below shows how the admin Vendor Purchase Order page looks. Within this page, there are 4 fields that I need to allow for text wrapping. The product name (when it’s a long one), the Vendor Instructions (not visible when no instructions are listed via the vendor profile), the customer’s comments from the order (not visible if no comments are made at the time of purchase), and the additional order comments (last-minute store-owner comments added before generating the PDF – these are not saved anywhere in osC, only to the generated PDF file). I could probably use the wordwrap() function via PHP for the first three fields (because the data for these are extracted from the database), but not for the last one. That additional order comments textarea should be jQuery. Here is the code I have to generate the PDF: <script src="https://unpkg.com/jspdf@latest/dist/jspdf.umd.min.js"></script> <script src="https://unpkg.com/html2canvas@1.3.2/dist/html2canvas.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.min.js"></script> and in the body: <script> $(document).ready(function() { $(".btn_genPDF").click(function() { var element = document.getElementById("pdf-Content"); html2pdf(element, { margin: <?php echo $js_margin; ?>, // margin in pixels when jsPDF units set to 'pt' = best page-centering filename: '<?php echo $filename; ?>', image: { type:'jpeg', quality:0.98 }, // default quality setting is 0.95 html2canvas: { scale:3, dpi:192, logging:true, letterRendering:true, position:0 }, // scale: 1 to 5, where 1 is default and lowest quality setting pagebreak: { mode:'avoid-all', before:'#po_page_break' }, jsPDF: { unit:'pt', format:'letter', orientation:'<?php echo $js_orientation; ?>' } }) }); }); </script> It seems that using the jQuery splitTextToSize() function is the valid way to wrap text inside an element, but I could really use some help with how to integrate that function with the current code that generates the PDF file. Any help would be greatly appreciated.
  19. Hotclutch

    ### POINTS AND REWARDS MODULE V1.00 ###

    For everybody's information - this excellent contribution, and version thereof (version dated 12 Oct. 2012), still works very well. There are only some minor code changes to make for php8.
  20. Hotclutch

    ### POINTS AND REWARDS MODULE V1.00 ###

    Must be a non issue, I have 2 shops on the same hosting environment. Working on the one. Must be something wrong on the other one.
  21. bonbec

    New management and osCommerce v4

    https://www.oscommerce.com/Us&amp;Team
  22. My charset settings are correct. I suppose its the Admin setting format causing the multiple addresses warning from Google.
  23. Jack_mcs

    PayPal App with osCommerce 2.2-MS2

    I think you may be misreading the instructions, which is easy to do. For example, changes to the application_top files are not optional for your version of oscommerce.
  24. bholiand

    PayPal App with osCommerce 2.2-MS2

    application_top files: yes (its optional as well) order.php: no (its optional) The order.php should not effect the installation process at all.
  25. Jack_mcs

    PayPal App with osCommerce 2.2-MS2

    Did you make the changes to the two application_top files and the order class file?
  26. Hotclutch

    ### POINTS AND REWARDS MODULE V1.00 ###

    https://apps.oscommerce.com/stQCS&amp;points-and-rewards-module-v1-00 Using version dated 12 Oct. 2012. On checkout_payment.php, when the checkbox is selected to redeem points, and then press continue, there is this error notice (not fatal, and php8 only): Warning: A non-numeric value encountered in /includes/classes/currencies.php on line 42 There is no error / notice using php7.3 / 7.4 There is also no error when the checkbox is not ticked i.e when points are not being redeemed.
  27. bholiand

    PayPal App with osCommerce 2.2-MS2

    Can you help me with the steps? I did the following: I downloaded the full paypal app (app-paypal-5_010) After extracting the App package, I copied the files located in the catalog directory to my shop. I followed the insctructions on page 45: "1. Administration Tool App Setup" and "2. Hooks for the Administration Tool and Catalog". I skipped "3. Administration Tool Order Administration Page" since I dont need the new order page. I did "4. Public CA Certificate Bundle" and uploaded the file. Than it says on page 47: I do see the new PayPal navigation menu box and can open the page. But nothing happens when I click on a buttons or open the page.
  28. Jack_mcs

    PayPal App with osCommerce 2.2-MS2

    There are a number of other changes you missed if this is the only one you did. The instructions can be difficult to follow due to all of the version checks. But there are at least five steps, as I recall, required to install the app into an older shop.
  1. Load more activity
×