Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2011
    Posts
    5
    Plugin Contributions
    0

    Default Order Status Link

    Hello,

    I have a slight problem and was wondering if anyone could help me.
    I am trying to changed the link in my Order Update Email as it is link to the wrong page.
    Example
    "Order Number: 10003

    Detailed Invoice:
    //https://www..com/index.php?main_page=FILENAME_ORDER_STATUS&order_id=10003

    Date Ordered: Wednesday 16 March, 2011

    The comments for your order are: blah

    Your order has been updated to the following status:
    New status: Shipped"
    Link needs to be
    Order Confirmation

    afa dsdf

    Thanks for shopping with us today!
    The following are the details of your order.
    ------------------------------------------------------
    Order Number: 10003
    Date Ordered: Wednesday 16 March, 2011
    Check order status:
    //https://www..com/index.php?main_page=order_status&order_id=10003

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Order Status Link

    You appear to be missing one or more define statements on your site:
    FILENAME_ORDER_STATUS

    That is not something that comes with Zen Cart ... the closest is:
    /includes/filenames.php

    Line #101 : define('FILENAME_ORDERS_STATUS', 'orders_status');
    Are you using an add on?

    If you do a search in the Tools ... Developers Tool Kit ... and enter that in the bottom input box:
    FILENAME_ORDER_STATUS

    and select Catalog/Admin ... and click Search ... what comes up that uses it?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Mar 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Order Status Link

    This is what shows up


    /home/content/30/7305330/html/includes/classes/order.php

    Line #947 : $html_msg['INTRO_URL_VALUE'] = zen_href_link(FILENAME_ORDER_STATUS, 'order_id=' . $zf_insert_id, 'SSL', false);



    /home/content/30/7305330/html/includes/extra_datafiles/order_status_filenames.php

    Line #10 : define('FILENAME_ORDER_STATUS', 'order_status');



    /home/content/30/7305330/html/includes/templates/my_own_template/templates/tpl_order_status_default.php

    Line #145 : echo zen_draw_form('order_status', zen_href_link(FILENAME_ORDER_STATUS, '', 'SSL'), 'post') . zen_draw_hidden_field('action', 'process');



    /home/content/30/7305330/html/admin/orders.php

    Line #113 : EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_ORDER_STATUS, 'order_id=' . $oID, 'SSL') . "\n\n" .

    Line #121 : $html_msg['EMAIL_TEXT_INVOICE_URL'] = '<a href="' . zen_catalog_href_link(FILENAME_ORDER_STATUS, 'order_id=' . $oID, 'SSL') .'">'.str_replace(':','','Click here to check the status of your order:').'</a>';

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Order Status Link

    This looks like you have a define on the Catalog but not on the Admin for:
    /includes/extra_datafiles/order_status_filenames.php

    Line #10 : define('FILENAME_ORDER_STATUS', 'order_status');
    I am not familiar with what you are using on this, but it strikes me there needs to be the same define added to the:
    /your_secret_admin_dir/includes/extra_datafiles

    for that define ...

    You may need other things as well but at least that one line is needed ...

    You might want to review any installation instructions for whatever add on you are using ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Mar 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Order Status Link

    That Fixed IT Thanks ALOT!

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Order Status Link

    You are most welcome thanks for the update that this is now working for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v150 Gigantic Flag pic in "Order Status" / Cannot re-order or edit "order status" text
    By lindagal2 in forum Managing Customers and Orders
    Replies: 6
    Last Post: 25 Aug 2016, 06:16 PM
  2. Changing the status of an order by an external link
    By AlexThibo in forum General Questions
    Replies: 6
    Last Post: 20 Oct 2015, 04:54 PM
  3. v154 Change Order Status By Clicking A Link
    By ShopVille in forum Managing Customers and Orders
    Replies: 1
    Last Post: 20 Oct 2015, 04:53 PM
  4. v150 Customize order status email subject line to include status name
    By ShopVille in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Oct 2015, 09:24 PM
  5. Order Status Problem: 100% coupon is not setting desired status
    By LissaE in forum Managing Customers and Orders
    Replies: 4
    Last Post: 4 Apr 2011, 08:12 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
  •  
disjunctive-egg