Page 25 of 48 FirstFirst ... 15232425262735 ... LastLast
Results 241 to 250 of 476
  1. #241
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    This may well be a daft question, but I've read the docs and this thread and have either missed the obvious or it isn't there.

    How to import/export Specials data to/from the Specials table?
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

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

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    Quote Originally Posted by Ryk View Post
    This may well be a daft question, but I've read the docs and this thread and have either missed the obvious or it isn't there.

    How to import/export Specials data to/from the Specials table?
    Not a daft question, nor did you miss the description in the documentation. There's not (currently) a ProductSpecials handler, but I've created a GitHub issue to identify and track the request.

  3. #243
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    Thanks. Looking forward to seeing it.

  4. #244
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    Another possibly silly question. I can see that v_dbio_command can include ADD or REMOVE, but what should be the command for just updating? Leaving the column blank throws a fatal error.

    All I've found in the readme is

    DbIo introduces a new column (v_dbio_command) that a handler can conditionally enable to support record-removal and/or other commands. Starting with v1.1.0, the Products handling supports this field; set that column's value to REMOVE for a particular product and, if the product exists, it will be removed.

  5. #245
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    Quote Originally Posted by Ryk View Post
    Another possibly silly question. I can see that v_dbio_command can include ADD or REMOVE, but what should be the command for just updating? Leaving the column blank throws a fatal error.

    All I've found in the readme is
    You've not given me much to work with! What version of DbIo, which import handler, what is the fatal error thrown?

  6. #246
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    Thanks for getting back to me.

    Version 1.5.4

    Products

    Unrecognized command (0) found at line #2; the operation was not performed.

    (This was because file had 0 under v_dbio_command - changing it to ADD removed the error)

    But my question should probably have been - is there a specific entry required in the v_dbio_command column when just updating a product

  7. #247
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    Quote Originally Posted by Ryk View Post
    Thanks for getting back to me.

    Version 1.5.4

    Products

    Unrecognized command (0) found at line #2; the operation was not performed.

    (This was because file had 0 under v_dbio_command - changing it to ADD removed the error)

    But my question should probably have been - is there a specific entry required in the v_dbio_command column when just updating a product
    When simply updating a product, the v_dbio_command column should be left blank (i.e. an empty string).

  8. #248
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    Hi Cindy.

    Zen Cart 1.5.6a
    PHP: 7.2.18
    MySQL 5.6.44
    DBIO Version 1.5.4
    Handler - Products

    If we leave products_id blank, we get

    zen_products.products_id, line #2: Value () is not an integer

    Entering a products_id of 0 seems counter-intuitive but that then gives a successful import. Just want to check if this is expected behaviour?

  9. #249
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    Quote Originally Posted by Ryk View Post
    Hi Cindy.

    Zen Cart 1.5.6a
    PHP: 7.2.18
    MySQL 5.6.44
    DBIO Version 1.5.4
    Handler - Products

    If we leave products_id blank, we get

    zen_products.products_id, line #2: Value () is not an integer

    Entering a products_id of 0 seems counter-intuitive but that then gives a successful import. Just want to check if this is expected behaviour?
    Ryk, that's the expected behavior, albeit counter-intuitive, since the products_id value is (in the database) an integer.

    Are you inserting or modifying products?

  10. #250
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Database I/O Manager (DbIo) Plugin [Support Thread]

    Thanks. I'm testing with one of those clients who has a little bit of knowledge of the dangerous kind, doesn't like change (been a long time user of EasyPop) and generates his csv file from Access so the waters keep getting a little muddied!

    We're adding, modifying and removing.

    I found I had to download his file and change the format of his model number from "number" to "text" (he has alpha-numeric model numbers) , then re-upload it to get a successful import. This doesn't make sense to me as I thought that formatting was irrelevant in a csv file.

    But your module is excellent and I'm gradually getting him to believe it! LOL

 

 
Page 25 of 48 FirstFirst ... 15232425262735 ... LastLast

Similar Threads

  1. Support Thread for CKEditor Plugin
    By DivaVocals in forum Addon Admin Tools
    Replies: 201
    Last Post: 31 Aug 2021, 05:14 PM
  2. Back to Top Plugin [Support Thread]
    By picaflor-azul in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 6 Feb 2016, 10:52 PM
  3. v151 Plug 'n' Pay plugin [Support Thread]
    By KetchRescue in forum Addon Payment Modules
    Replies: 5
    Last Post: 28 Nov 2015, 04:56 AM
  4. Justuno Plugin [Support Thread]
    By JustunoApp in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 May 2015, 11:00 PM
  5. VendingBox Plugin Support Thread
    By vb_support in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 10 Feb 2013, 07:24 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