Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    525
    Plugin Contributions
    0

    Default Requiring "Other" Mods for new Plugin

    I want to create a new plugin (actually a couple lol). I need to add certain fields to the database as I have previously mentioned. Numinix Product Fields will give me about 90% of what I need.

    If you were doing this, would you just require this mod and add the other 10%?

    Or

    Just add everything you need ...?

    Thanks!

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: Requiring "Other" Mods for new Plugin

    I'd go down path #2 (just add everything you need) to make it easier on people that want to use your newly-minted plugin.

  3. #3
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    525
    Plugin Contributions
    0

    Default Re: Requiring "Other" Mods for new Plugin

    Quote Originally Posted by lat9 View Post
    I'd go down path #2 (just add everything you need) to make it easier on people that want to use your newly-minted plugin.
    that is what I was learning towards. Then upgrades are easier in one package.

    Thanks!

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: Requiring "Other" Mods for new Plugin

    Quote Originally Posted by g2ktcf View Post
    that is what I was learning towards. Then upgrades are easier in one package.

    Thanks!
    Exactly ... and then you're more in-control of your package!

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Requiring "Other" Mods for new Plugin

    Seconded. Unless absolutely necessary, I discourage people from submitting plugins that have preconditions for other plugins.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    525
    Plugin Contributions
    0

    Default Re: Requiring "Other" Mods for new Plugin

    Quote Originally Posted by swguy View Post
    Seconded. Unless absolutely necessary, I discourage people from submitting plugins that have preconditions for other plugins.
    Do how would YOU handle "duplicates" from those other mods? I need product dimensions -> Length, Width and Height for example. If someone already has that additional mod installed then that would cause issues. If it was JUST the database, that is easy enough to look and test for. But changes for inputs on the Admin Products edit page would not be.

    Thoughts?

    PS I have been known to start an idea...and leave it there. I am actively coding this one...slowly, but a little more every day!

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Requiring "Other" Mods for new Plugin

    For this particular case, I would say:
    - if you have Canada Post with dimensional pricing installed, skip this step
    - if you have so-and-so plugin installed, skip this step.

    otherwise, run this sql file ....

    THEN later on you may need to say:

    Note: if your product table already has dimensions, you may need to modify this plugin to reconcile the field names I used (length, width, height) with whatever you already have, if the names are different. Just change these files:

    foo.php
    bar.php
    etc.

    and change "length" to "name-of-your-length-field"
    Something like that.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #8
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    525
    Plugin Contributions
    0

    Default Re: Requiring "Other" Mods for new Plugin

    That makes total sense. I never considered offering options on how to get the field names into the DB! That is great input.

    Thanks!
    Chris

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Requiring "Other" Mods for new Plugin

    You could even make the field names defined constants and tell people to just update those.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    525
    Plugin Contributions
    0

    Default Re: Requiring "Other" Mods for new Plugin

    Quote Originally Posted by swguy View Post
    You could even make the field names defined constants and tell people to just update those.
    exactly what I was thinking!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. New "Pay with Amazon" plugin - calling beta testers
    By cvt123 in forum Addon Payment Modules
    Replies: 4
    Last Post: 25 Aug 2016, 03:02 PM
  2. v154 A "space" appears in Customer record when inserting the State/County in "other" box
    By SarahL in forum Managing Customers and Orders
    Replies: 2
    Last Post: 30 Oct 2015, 09:45 AM
  3. Can someone make "Customer Tax Exempt" and "Local Sales Tax" mods work together?
    By Squanto in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 7
    Last Post: 10 Sep 2010, 12:58 AM
  4. Replies: 1
    Last Post: 31 Jul 2009, 01:07 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