Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,592
    Plugin Contributions
    3

    Default How do I call a variable

    Hi

    I am not sure if this belongs here, but if it doesn't please move it to where it does belong

    I'm writing up a new report for products that are at the re-order level, I have just copied the low stock report, but added an extra condition and it works beautifully

    However I am currently hard coding the value of the re-order variable into the code, as i can't seem to figure out where to call it from or how to call it, and I would like it to be able to be changeable through the admin reorder variable.

    If anyone can point me in the right direction it would be appreciated, it's probably very obvious but it is late at night and 0 degrees centigrade and the new office doesn't have heating yet so i fear my brain has frozen up

    Basically all i want to know is how to call/access the value of the reorder variable

    thank you and good night all

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,592
    Plugin Contributions
    3

    Default Re: How do I call a variable

    Ok no worries I got it working properly now the variable was

    STOCK_REORDER_LEVEL

  3. #3
    Join Date
    Jun 2003
    Posts
    33,797
    Plugin Contributions
    0

    Default Re: How do I call a variable

    Thanks for taking the time to tell us that you found the constant that controls the number you were looking for.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. v154 Naming a global variable the same as a SESSION, GET or POST variable
    By torvista in forum General Questions
    Replies: 5
    Last Post: 6 Dec 2015, 11:11 AM
  2. how to add a new session variable?
    By delia in forum General Questions
    Replies: 11
    Last Post: 13 Oct 2011, 02:51 PM
  3. How to style a php variable??
    By DesignLessDesign in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Sep 2010, 08:20 PM
  4. Replies: 8
    Last Post: 10 Jan 2010, 08:04 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