Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    480
    Plugin Contributions
    3

    Default Writing Code for Admin Panel Add-On

    Is there some sort of guide to writing SQL statements for modules that use the ACP to set their options?

    For example, I'm trying to write the following option but can't figure out how to do it:

    - Dropdown menu of: 7 days, 14 days, 21 days, 28 days, 30 days, Other.
    - Other: INPUT box for the admin to use.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,835
    Plugin Contributions
    9

    Default Re: Writing Code for Admin Panel Add-On

    All that I have seen is in the wiki

    http://www.zen-cart.com/wiki/index.php/Developers
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    5,409
    Plugin Contributions
    207

    Default Re: Writing Code for Admin Panel Add-On

    If you spend some time looking at Sales Report, you can see how it's done.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  4. #4
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    480
    Plugin Contributions
    3

    Default Re: Writing Code for Admin Panel Add-On

    Quote Originally Posted by swguy View Post
    If you spend some time looking at Sales Report, you can see how it's done.
    Not sure what you mean with this one.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    5,409
    Plugin Contributions
    207

    Default Re: Writing Code for Admin Panel Add-On

    Go to the Free Software Add Ons at the top of this page. Find and download "Sales Report." Read the code and you'll see how some of the things you're asking about can be accomplished.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

 

 

Similar Threads

  1. v151 Add Sort by Product ID to Specials Page in Admin Panel | Possible?
    By sportbiker in forum Customization from the Admin
    Replies: 1
    Last Post: 3 Jan 2015, 04:16 AM
  2. Add Custom Menu / Submenus in Admin Panel
    By aklahiri in forum General Questions
    Replies: 5
    Last Post: 1 Aug 2011, 07:06 AM
  3. ups xml add on not working in admin panel
    By vregali in forum Addon Shipping Modules
    Replies: 0
    Last Post: 22 Dec 2010, 03:44 AM
  4. Add Image to Main Page via Admin Panel
    By aajc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jun 2009, 09:49 AM
  5. Can I add a new order via admin panel?
    By stardustservices in forum Managing Customers and Orders
    Replies: 2
    Last Post: 22 Oct 2008, 08:26 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