Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2012
    Posts
    282
    Plugin Contributions
    0

    Default Any tuts available for creating add-ons?, how to get started guidelines?,

    I have created an add-on for ZenCart as per a clients request for a 'Features List'. It be can be described as an additional product description field but gets formatted as an HTML list and given a class of 'features-list'. I'm aware that a similar plug-in may already exist but i am learning how to be a pro php programmer.

    The problem is my code kind of a hack-job! (although it does work!) only because i'm sort of mid-level programmer and also still learning my way around ZenCart. i would like too though, learn how to do it right, and even offer as an download.

    can someone advise how to get started doing this? Are there tuts or FAQ's on how to create a ZenCart plug-in or add-on?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Any tuts available for creating add-ons?, how to get started guidelines?,

    http://www.zen-cart.com/content.php?...ion-guidelines

    If you want advice on improving or streamlining your code, you could post your edits here. If they are reasonably short, just put them in php tags; if not, attach a zip to a post. (It's quicker & easier for us to comment on code directly posted here.)

  3. #3
    Join Date
    Oct 2012
    Posts
    282
    Plugin Contributions
    0

    Default Re: Any tuts available for creating add-ons?, how to get started guidelines?,

    thank you

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Any tuts available for creating add-ons?, how to get started guidelines?,

    Quote Originally Posted by tcarden View Post
    i am learning how to be a pro php programmer.
    Me too. Been doing it for decades, and STILL learning something new every day :)

    Quote Originally Posted by tcarden View Post
    The problem is my code kind of a hack-job! (although it does work!)
    There's and old adage that any code that works is good code.

    Quote Originally Posted by tcarden View Post
    only because i'm sort of mid-level programmer and also still learning my way around ZenCart. i would like too though, learn how to do it right, and even offer as an download.

    can someone advise how to get started doing this? Are there tuts or FAQ's on how to create a ZenCart plug-in or add-on?
    I see that Glenn has already directed you to the plugin-contribution-guidelines, which is good, but that'll only tell you so much.

    My advise is to check the code of some of the other modules (especially the smaller, less complex ones, and especially the ones developed by the ZenCart team members). You'll pick up a lot of good techniques and coding practices from them. Don't be afraid to cut/copy/use the code snippets in your own work. It isn't worth trying to re-invent the wheel.

    Above all, remember that there no such thing as 'right' code or 'wrong' code. Make liberal use of comments, and aim to produce code that you'll be able to come back to a couple of years down the track and not have to ask yourself "what the heck is this supposed to be doing", or better yet, code that someone else can look at and figure out what it does (or supposed to do) without having to do much head scratching.

    Welcome aboard. Oh, and if you do run into specific coding problems there are many very good coders around here that'll go out of their way to help out (which is pretty much what Glenn told you anyway.

    Cheers
    Rod

    ps. Of all the different carts I've developed for, ZenCart is without a doubt one of the most developer friendly ones I've come across. You've made an *excellent* choice for a platform to develop and learn new skills/techniques with.

    pss. Not really important, but which IDE do you use (if any?)
    Last edited by RodG; 10 Jan 2013 at 01:55 PM.

 

 

Similar Threads

  1. how do I get started on my web hosting space?
    By whatsanike in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 2 Feb 2010, 03:29 AM
  2. Simple how to for installig add ons?
    By wesis69 in forum Addon Sideboxes
    Replies: 2
    Last Post: 31 Aug 2009, 11:17 PM
  3. Any add-ons or tweaks to improve search
    By MotoDelta in forum General Questions
    Replies: 2
    Last Post: 10 Mar 2009, 05:45 AM
  4. how do i get started
    By theluxuryperformance in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 May 2008, 02:20 PM

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