Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Can Anyone Help Me Make a Simple "Credit Account" Mod?

    Quote Originally Posted by philip937 View Post
    Donation sent :-)
    Thanks!
    Quote Originally Posted by philip937 View Post
    I shall dabble a bit more with it to get it finished off :)
    Wishing you well.
    .
    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.

  2. #22
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Can Anyone Help Me Make a Simple "Credit Account" Mod?

    Hi DrByte, any reason this code wouldnt work on older versions of zen cart? just tried it on 1.3.9h on an old site and get an error when it tried to send email, says its trying to send an email to what essentially looks like nothing i.e a blank space? also isnt adding the gv credit either. very odd indeed?
    Phil Rogers
    A problem shared is a problem solved.

  3. #23
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Can Anyone Help Me Make a Simple "Credit Account" Mod?

    Probably because v1.5.1 automatically includes the security token in the zen_draw_form() output, but v1.3.9 didn't. You could try adding that into your older admin html_output.php ... off the top of my head I don't recall whether there were any additional related dependencies to that.
    .
    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.

  4. #24
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Can Anyone Help Me Make a Simple "Credit Account" Mod?

    As It didn't pull the email I am wondering if perhaps $customer_id is defined? Could that be it? Not a biggy was just going to add the code to the live site until my new site goes live.
    Phil Rogers
    A problem shared is a problem solved.

  5. #25
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Can Anyone Help Me Make a Simple "Credit Account" Mod?

    Another difference between 1.3.9 and 1.5.x is in the top of /admin/customers.php:
    Code:
      $customers_id = zen_db_prepare_input($_GET['cID']);
      if (isset($_POST['cID'])) $customers_id = zen_db_prepare_input($_POST['cID']);
    .
    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.

  6. #26
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Can Anyone Help Me Make a Simple "Credit Account" Mod?

    Ah ha! That makes sense then I guess :)
    Phil Rogers
    A problem shared is a problem solved.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 84
    Last Post: 10 Feb 2025, 01:39 PM
  2. Replies: 1
    Last Post: 10 Aug 2011, 02:07 AM
  3. Can I make all "add: 0" input boxes on product pages to "more info..."?
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Aug 2009, 06:05 PM
  4. Anyone successful make the "Group Pricing (Per Item)" & "MSRP Display" togther?
    By explorer1979 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 12 Dec 2008, 08:37 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