Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2007
    Posts
    3
    Plugin Contributions
    0

    Default Changes for custom code to run and interface with zencart

    Hi everyone, I have been a long time interchange user and I am thinking about moving all my IC sites over to ZC.

    Here is my question.

    Right now, I have a custom app in IC that runs a lot of perl code, and setups a transaction. A user logs in, enters some values into some IC perl code, and then clicks a button, the IC perl code adds items to the cart of that user, they then check out.

    Can some one point me to where I can write php code (its not really OO code either) and have it be able to interact with the zencart API.

    I could do it as a module, but its really 3 pages (page 1 -> posts to page 2 -> page 2 posts to page 3 -> page 3 adds items to cart and takes user to checkout.

    Thanks,

    Mike

  2. #2
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Changes for custom code to run and interface with zencart

    Check the wiki http://www.zen-cart.com/wiki/index.php/Developers

    You'll find developers instructions in there.

    But would'nt it be just as easy to have a user go into the admin section of zen cart to enter the products?

    Another idea, is to have your app connect to the mysql db instead of bothering with the zen cart code. You just have to figure out which cells to send the data too.

    Good luck.

  3. #3
    Join Date
    Mar 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Changes for custom code to run and interface with zencart

    I read over the wiki dev documentation, I did not really find what I am looking for..

    There are only 10 "products" but those get chosen from what the user fills out on the first 3 pages, also their attributes get filled in there too.

    Mike

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Changes for custom code to run and interface with zencart

    I could do it as a module, but its really 3 pages (page 1 -> posts to page 2 -> page 2 posts to page 3 -> page 3 adds items to cart and takes user to checkout.

    There are only 10 "products" but those get chosen from what the user fills out on the first 3 pages, also their attributes get filled in there too.
    Trying to do this off cart you will run into the security/sessions area of the code. A session is created when one begins shopping or logs in.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Replies: 5
    Last Post: 22 Nov 2014, 04:26 AM
  2. v139h Run Custom Jquery for a particular category
    By stephenconnolly in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Apr 2012, 04:03 PM
  3. Replies: 0
    Last Post: 20 Jul 2011, 02:17 PM
  4. Run EZ Page with PHP code
    By TheGuest in forum General Questions
    Replies: 1
    Last Post: 19 Aug 2009, 08:20 PM
  5. customizing interface and cart code
    By bcamp1973 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Jun 2006, 06:02 AM

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