Search:

Type: Posts; User: lightnb

Search: Search took 0.04 seconds.

  1. Re: Need to determine login status from JavaScript?

    In the session, what do I check for to see if logged in? When logged in I get the customers name ID, etc. Is it reliable to see if $_SESSION['customer_id'] is set as a means of determining log in...
  2. Can I determine login status from JavaScript?

    I need a way for JavaScript (without an AJAX call) to know if the user is logged in or not. I suspect the best way to do this is to check a cookie. The ZenID is always set, regardless or whether a...
  3. application_top is unsetting non-zen session variables

    I'm setting a session variable on a non-zen cart page (ad tracking url), and then sending a 301 redirect to a zen cart product page. This is for tracking inbound clicks for an ad campaign.
    ...
  4. Re: How do I pass the Shipping Address into the shipping module?

    * bump *
  5. How do I pass the Shipping Address into the shipping module?

    Hi everyone,

    I've created a new Page Module (By creating a folder in "includes/modules/pages", and adding a "header_php.php" file there.)

    It loads when I go to "index.php?main_page=my_page".
    ...
  6. Replies
    5
    Views
    2,188

    Re: Add Product By URL

    I'm not trying to add anything outside of Zen Cart. I just want to know what form values I need to make an "add to cart" form.

    Somewhere in the cart, there is a function that receives form input,...
  7. Replies
    5
    Views
    2,188

    Re: Add Product By URL

    I guess I didn't specify "to the cart". The product is already in the database.

    Normally, on the product info page, there's a quantity box and an "add to cart button". There's also a hidden input...
  8. Re: Is There a Chained Attributes Contribution Yet?

    A couple questions then:

    1. Where is the appropriate place in the cart to add a class file? In includes/classes with the "Official" ones? Or is there an override/user class folder?

    I've got a...
  9. Is There a Chained Attributes Contribution Yet?

    Hi everyone,

    I've found lots of posts in the forums asking for both Chained Attributes (ie. Color dependent on Size, etc), and inventory by attribute. Has anyone created an Add-On for these...
  10. Replies
    5
    Views
    2,188

    Add Product By URL

    Is it possible to add a product using a hyperlink instead of the "Add Product Form", If I know the product ID and the quantity?

    ie:



    <a...
  11. Replies
    5
    Views
    895

    Re: Two Coding Questions

    Cool, Thanks guys!

    Is there anyway to call a side box anywhere in the page? I saw the "sideboxes anywhere" contribution, but that seems to apply to the entir site, not whithin Zen Cart itself. I'd...
  12. Replies
    5
    Views
    895

    Re: Two Coding Questions

    Thanks Wilt,

    It would be cool if there were a "developer's manual" or similar, that explained all the objects, variables, and the program flow...

    One more question: I need to load a javascript...
  13. Replies
    5
    Views
    895

    Two Coding Questions

    1. Where is the appropriate place in the cart, to set the php error_reporting variable to "E_NOTICE"?

    2. What does "$db->Execute()" actually return, and what can I put in my foreach loop to cycle...
  14. Replies
    1
    Views
    1,290

    Where Are These Variables Comming From?!

    The file "tpl_columnar_display.php" contains a variable "$title", and an array "$list_box_contents".

    Where do these variables come from?
  15. Replies
    2,220
    Views
    484,555

    Re: MultiSite Module Support Thread

    I don't know if you found a solution to this or not, but if not, here's what to try:

    make sure your custom config files, ie "www.yoursite.com_config.php" are in the "/includes/config_sites"...
Results 1 to 15 of 17
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR