Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2008
    Posts
    7
    Plugin Contributions
    0

    Default How and Where to display warning/error messages

    I edited the shopping_cart.php file to detect certain conditions when I need to display a warning or message to the user. What is the best way to display these messages? I was thinking of displaying it in a similar fashion to the warnings that are displayed upon initial install of Zen Cart and two warnings are displayed relating to changing permissions and deleting the zc_install directory.

    Does anyone know how I could display a warning similar to those or another method of displaying a warning to the user.

    Thanks in advance,
    -John

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: How and Where to display warning/error messages

    Quote Originally Posted by jsmuck02 View Post
    I edited the shopping_cart.php file to detect certain conditions when I need to display a warning or message to the user. What is the best way to display these messages? I was thinking of displaying it in a similar fashion to the warnings that are displayed upon initial install of Zen Cart and two warnings are displayed relating to changing permissions and deleting the zc_install directory.

    Does anyone know how I could display a warning similar to those or another method of displaying a warning to the user.

    Thanks in advance,
    -John
    JS,
    As of now Zen will send an error message with these 3 results:
    1. admin panel/ configurations/ regulations/ Confirm Terms and Conditions During Checkout Procedure
    2. admin panel/ configurations/ regulations/ Confirm Privacy Notice During Checkout Procedure
    3. On the Product Page, only if you associate attributes to choose from when selecting a product, if set up correctly..
    Mark
    Hare Do

  3. #3
    Join Date
    Apr 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: How and Where to display warning/error messages

    Thanks.

    Any idea which php file those error messages are sent from?

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: How and Where to display warning/error messages

    Quote Originally Posted by jsmuck02 View Post
    Thanks.

    Any idea which php file those error messages are sent from?
    The terms and conditions
    1. admin panel/ tools/ define page editor/ define_conditions.php
    Mark
    Hare Do

 

 

Similar Threads

  1. v151 strict_error_reporting.php - Where to access error messages?
    By MeltDown in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 6 Jul 2015, 03:38 PM
  2. Replies: 1
    Last Post: 10 Feb 2009, 12:34 PM
  3. Error messages when I try to display customer info
    By brimsjewelry in forum Managing Customers and Orders
    Replies: 18
    Last Post: 25 Apr 2008, 02:10 PM
  4. remove the display of error messages
    By bxdavi2 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 23 Mar 2008, 08:55 AM
  5. Replies: 2
    Last Post: 15 Dec 2006, 12:59 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR