Search:

Type: Posts; User: crazy_chris

Search: Search took 0.01 seconds.

  1. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    well, seems it spits out the code as html.
    check if you forgot the opening php tags <?php in front of the code.
  2. Replies
    271
    Views
    137,554

    Re: How-To: Add new Properties to your Products

    Guarantee:

    <?php if (!empty($product_info->fields['products_guarantee'])) echo $product_info->fields['products_guarantee']; ?>
  3. Replies
    18
    Views
    3,428

    Re: Can shopping cart go in header?

    hey, sorry; i think i misunderstood your question.

    forget about "(($i<$n) && ($i < YOUR_MAX_NUMBER))"

    if you just want to output the total number of displayed products, this piece of code...
  4. Replies
    18
    Views
    3,428

    Re: Can shopping cart go in header?

    sure

    this is line 5:

    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
    change it to:

    for ($i=0, $n=sizeof($products); (($i<$n) && ($i < YOUR_MAX_NUMBER)); $i++) {
  5. Re: where in the css stylesheet is the info box?

    to get the shopping cart in the header, read this thread.
    it's mainly about the code you need to put in tpl_header.php though.

    you could give that new div an absolute position, so it's kinda...
  6. Replies
    3
    Views
    2,226

    Re: Powered by Zen Cart... Squared

    check out the template-basics in this thread.

    the footer file is your_template_dir/common/tpl_footer.php. it should contain this code:

    <div id="siteinfoLegal" class="legalCopyright"><?php echo...
  7. How-To: zc Modification / Programming Basics

    hey all,

    maybe offtopic, but i wanted to sum this infos up, just to have a quick overview of the basic techniques for modifying and re-writing parts of zencart.
    useful


    zencart forum
    ...
  8. Replies
    31
    Views
    8,386

    Re: Header change according to category

    sure.

    i'd suggest to connect the header-image to the cPath (it's easy).

    basics
    each category has it's own cPath. the first step is to write down which categories you want to use and their...
  9. Re: where in the css stylesheet is the info box?

    hey,

    to your css-question:
    zencart loads all .css files in "your_template_dir/css". it's best to create a new stylesheet for your own code called something like 'stylesheet_newelements.css'. add...
  10. Replies
    2
    Views
    1,734

    Re: attributes not displaying correct in IE

    hey there,

    first of all, i do not completely understand what you mean, maybe you can explain it again...

    also, there is no float-value like center. read more here: float @ w3schools.com
    an...
  11. Thread: Side Boxes

    by crazy_chris
    Replies
    5
    Views
    1,241

    Re: Side Boxes

    could you please express more clearly what you want to do?
  12. Replies
    4
    Views
    1,797

    Re: $_SESSION['customer_last_name'] ??

    yeah, i also used "includes/modules/pages/login/header_php.php"


    i simply added "customers_lastname" to $check_customer_query at line 44

    $check_customer_query = "SELECT customers_id,...
  13. Re: Will this Fly? Adding text+link to Account Notifications Page

    depends where you put that code :D


    heh, just joking... if you want to customize your shop, you usually create your own template first. for most layout changes, you need to edit files inside the...
  14. Replies
    4
    Views
    1,202

    Re: site looks different in IE and firefox

    one of the problems i experienced with ie6 and zc is, that ie does sometimes not like "<br style="clear:both">" tags (of which zc uses plenty).
    using "<div style="clear:both"></div>" instead seem to...
  15. Replies
    18
    Views
    3,428

    Re: Can shopping cart go in header?

    to get the same display as in the shopping_cart sidebox, add this code at the bottom (or anywhere else) of "YOUR_TEMPLATE_DIR/common/tpl_header.php"

    the cart-content is wrapped in a <div> tag with...
  16. Replies
    3
    Views
    1,211

    Re: customer sign up problem

    it will work best if you set it up from scratch

    but just to be on the safe side, make a copy of your folder and the database, then wipe it all and do a clean setup.
    copy your folder

    mkdir...
  17. Re: Forbidden - you don't have permission to access ...

    try that:
    login as root
    execute that command:
    chmod 777 /catalog/pub -Ras root you can change the permissions for every folder, and the -R option with chmod sets the permission recursively (for...
  18. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    this looks good...

    well done ryk!
    :bigups:
  19. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    hey,

    fine that it's working!

    thanks for the feedback - i see what you mean and totally agree. i'll try to be more specific in the future :)

    if you want to realease it as module, go ahead....
  20. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    no, 72 is too early, better go around 90 after the "$_SESSION['..." part.

    the best place is just after $_SESSION['cart']->restore_contents(); which is line 91 here.

    this is very important and...
  21. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    hehe, alright then :P

    well, it seems, it doesn't find the customer_id in the cookie.

    could you please add this code before the "$c = explode(....)":
    "echo...
  22. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    hey, is this a joke... because you just put the lines in the wrong file!! :blush:

    the code you just posted (for automatically logging in) is meant to be put in...
  23. Replies
    3
    Views
    769

    Re: Is Zen Cart Overkill for us?

    i also agree to what kim said.

    i'm dealing with zencart for a few weeks now to make a cusomized printer-shop and my overall impression is that it's really easy to customize zencart for any basic...
  24. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    hey, no problem!

    it's a template file you should first copy into your own template-directory.

    copy the file "includes/templates/template_default/templates/tpl_login_default.php" to...
  25. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    hi.
    first of all, add a checkbox to your login-form called something like "permLogin".
    _
    edit the file "/includes/modules/pages/login/header_php.php"
    if the login is ok, zencart will proceed to...
  26. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    okay, i'll write a brief explanation of that.
    but tomorrow... :P
  27. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    sorry, my mistake.

    of course i can store the password from the db in the cookie and have not to deal with this extendet encryption method :P
  28. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    sorry, but WHY wouldn't you take md5-encryption for the customers password?

    zen_validate_password doesn't help any, because that function deals with the unencrypted password as value.
    in the...
  29. Replies
    208
    Views
    35,771

    Re: Is a Permanent Login (Auto-Login) Possible?

    okay, that works really nice.
    but since it's so easy to modify cookies, how to make it safe?
    store the password as md5-string in the cookie?
  30. Replies
    208
    Views
    35,771

    Is a Permanent Login (Auto-Login) Possible?

    hey,

    how could it be possible to let users "stay logged in on this computer" (auto / permanent login)?

    thx
  31. Re: Howto add "Guarantee Time" to a Product

    problem solved.

    here is the how-to
  32. Replies
    271
    Views
    137,554

    How-To: Add new Properties to your Products

    hi folks,

    this is a little howto add new properties to general products
    (like guarantee time, color, oem-number, compatible models, whatsoever)
    think
    decide which new properties you want to...
  33. Re: Howto add "Guarantee Time" to a Product

    well, i do know a bit of php/mysql - that shouldn't be the problem. but i intendet my shop to be upgradeable and hoped, there was a solution for this more-or-less everyday problem to add new fields...
  34. Re: Howto add "Guarantee Time" to a Product

    hey, please help...

    some of you sure know how to add extra values / info-fields to products.
    would i need to setup my own product_type?


    :cry:
  35. Howto add "Guarantee Time" to a Product

    hey folks,

    I'd like to add a "guarantee time" field to the product input mask. how could i possibly do that?

    i believe it's not an attribute since they are for colors, etc... do i need to...
  36. Replies
    4
    Views
    1,797

    $_SESSION['customer_last_name'] ??

    hey,

    okay, i have $_SESSION['customer_first_name'], but where can i find the family name?

    thx for any help!
  37. Replies
    7
    Views
    1,249

    Re: How can I link products?

    thanks a lot!
  38. Replies
    7
    Views
    1,249

    How can I link products?

    hy,

    i want to link a product to more than 1 category.
    i found infos that zenCart can do that, but i found nowhere how...

    please help me on how i can do that!

    thx
    chris
Results 1 to 38 of 38
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR