Add Listing in Admin shows $0.00 in Order

Discussion in 'Technical Support' started by awbrys, Oct 17, 2012.

  1. awbrys New Member

    Hi there

    My client runs a 68C website and often uses admin section to add listings on behalf of their users. When they do this the Order associated with the listing is recorded as $0.00 and given a status of "Completed". Whilst this makes logical sense because the listing is created by the administrator, is there a way that this can be changed so that they are assigned the fee that's specified in the "Listing Package"?

    By doing this, users can then make payment for their listings that administrators create for them.

    Thanks,
    Awbrys
  2. Mike-N-Tosh Developer & Moderator

    There isn't any built-in way to accomplish this. Obviously if an administrator is placing a listing there wouldn't be a charge. The only thing that I could suggest is that the administrator logs in as the seller through the front end of the web site and places the ad that way, which of course would then mean that they would go through the checkout process.
  3. awbrys New Member

    Thanks for the suggestion.

    As an alternative, would it be a fairly straightforward process to modify the 68C core files so that the fee specified in the package is applied to the order and the order is marked as "Payment Pending"? Are you able to point me to roughly where in the code the order is created?
  4. Mike-N-Tosh Developer & Moderator

    It has been forever since I've looked at it and the administration works totally different than the front end. I would say that it is most likely in the administration/listings.php file off the top of my head.

    If you are going to mess with it in any way:
    Work from a copy of the original
    Always comment/document your changes (e.g. //modification 2012-10-17 to add blah, blah, blah)
    Keep a separate copy of the changed file on your local computer
    Keep a separate log file of any ".php" files that you changed
    I know it might seem like overkill... It won't when it comes time to update your site to a new version!!!
  5. awbrys New Member

    Thanks, we'll have a look and see what we can do.

Share This Page