Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2008
    Posts
    15
    Plugin Contributions
    0

    Default Zen variables in define_privacy.php

    Very new to this, so please forgive my ignorance.

    All I want to do is insert my store name in the privacy policy. So, I just inserted the code below, thinking that it would inherit STORE_NAME from somewhere.

    Code:
    <?php echo "$STORE_NAME"; ?>
    This didn't work, so is there something I have to do to gain access to the Zen variables from .php files ?

    Cheers !

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Zen variables in define_privacy.php

    Since the name is stored in a constant and not in a variable, instead of "$STORE_NAME", you could try just STORE_NAME
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 PHP code to study variables?
    By lewisasding in forum Installing on a Windows Server
    Replies: 6
    Last Post: 19 May 2013, 10:50 AM
  2. Use Zen Variables outside Zen Cart
    By renkforce in forum General Questions
    Replies: 0
    Last Post: 4 Mar 2009, 07:12 PM
  3. Effects Of Disabling PHP Variables
    By karlnj in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 24 Feb 2009, 04:02 PM
  4. Zen Cart Variables
    By Cylants in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Dec 2008, 08:09 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