Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2008
    Plugin Contributions

    Default Change (alter) price before or after order is placed (partial refund / extra freight)

    I've got a client I've designed an e-commerce site for, and we are in the final stages where he just has a few more tweaks, and I've been searching on the forums for over an hour trying to find this problem, but can't find a solution :\

    Relevant info:
    Latest version of Zen Cart (v1.3.8a)
    Modules installed that are relevant to these problems-
    Super Orders
    Ultimate SEO URLS
    LinkPoint gateway for Credit Card Transactions
    PayPay Express for Paypal

    Problem 1: Discount Coupon Codes need to be invisible to customers

    He wants the ability to discount someone dynamically (any amount he chooses at any given moment) from an order before the user places the order. I installed the Discount Coupons, but he does not want the user to know what the code is for the discount coupon code. (It shows up on the invoice and also the user's account I believe). He doesn't want people to know because they will be able to use the coupon code to figure out how to automatically get $5-50 off their next order and that's not good. I need to find a way to hide the actual code from the user. Why would we want to do that? Because with phone orders, the Admin logs in AS THE USER, and places the order there and he knows the coupon code, but we don't want the customer to know it.... Super Orders allows us to change the Invoice in the E-Commerce site, but it doesn't credit the user's credit card.

    Problem 2: Charge extra shipping after order

    This is the exact opposite of the problem above, he wants to be able to add extra freight for Canadian orders but not using any formulas, it's based off what he thinks he needs to charge extra (arbitrary) Right now shipping is set Per Unit, and every item has a custom Shipping price, and he is not using Calculated postage modules, nor does he want to. Super Orders allows us to change the Invoice in the E-Commerce site, but it doesn't credit the user's credit card.

    (bonus) Problem 3: SSL certificate is supposedly installed, but not working when turned on in Zen Cart

    Right now, if I go to my site and use any address with https, it automatically redirects me to a file called: nddbc.html

    When I turn on SSL, the site does not work. Can anyone point me to a topic that deals with something like this? I think it has to do with the Ultimate SEO URLs module as that stops working when this is turned on.


  2. #2
    Join Date
    Dec 2008
    Plugin Contributions

    Default Re: Change (alter) price before or after order is placed (partial refund / extra frei

    Ok, we have figured to add shipping, we are just going to add in the extra amount to the current order on Zencart, and physically add in a new charge to the customer's credit card via their POS gateway.

    I edited out the Discount Code from the Invoice, and it automatically erased it from everything except now you can still click on the word "Discount Coupon" and it pops up with which coupon they used, so I still need to eliminate the fact that that is clickable...

    The only thing left is that stupid SSL certificate. Can anyone point me in the right direction there? Here is my config files:

     * @package Configuration Settings circa 1.3.8
     * @copyright Copyright 2003-2007 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license GNU Public License V2.0
    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/
    // Define the webserver and path parameters
      // Main webserver: eg- - 
      // HTTP_SERVER is your Main webserver: eg-
      // HTTPS_SERVER is your Secure webserver: eg-
      // HTTP_CATALOG_SERVER is your Main webserver: eg-
      // HTTPS_CATALOG_SERVER is your Secure webserver: eg-
       * URLs for your site will be built via:  
       *     HTTP_SERVER plus DIR_WS_ADMIN or
       *     HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
       *     HTTP_SERVER plus DIR_WS_CATALOG or 
       * ...depending on your system configuration settings
       * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
      define('HTTP_SERVER', '');
      define('HTTPS_SERVER', '');
      define('HTTP_CATALOG_SERVER', '');
      define('HTTPS_CATALOG_SERVER', '');
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'false');
      define('ENABLE_SSL_ADMIN', 'false');
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      define('DIR_WS_ADMIN', '/admin/');
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_ADMIN', '/admin/');
      define('DIR_WS_HTTPS_CATALOG', '/');
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
      define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
      define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
      define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
      define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    // define our database connection
      define('DB_TYPE', 'mysql');
      define('DB_PREFIX', '');
    ********************************************************edited the rest out due to passwords and such
    // EOF
    Last edited by HerbertFilby; 19 Feb 2009 at 09:10 PM. Reason: addendum



Similar Threads

  1. restock after partial refund
    By Phil020782 in forum Managing Customers and Orders
    Replies: 5
    Last Post: 29 Mar 2011, 04:04 PM
  2. Refund or Partial Refund functionality? (problem with SuperOrders)
    By bi11i in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 24 Oct 2010, 03:27 AM
  3. Partial Refund Cancels Order
    By chabates in forum PayPal Website Payments Pro support
    Replies: 5
    Last Post: 19 Mar 2010, 03:21 PM
  4. Partial refund not changing order total?
    By malice95 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 23 Jul 2009, 03:52 AM
  5. need help editing a price of an item after order is placed
    By ams30gts in forum General Questions
    Replies: 1
    Last Post: 1 Jun 2009, 04:57 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Zen-Cart, Internet Selling Services, Klamath Falls, OR