Page 37 of 48 FirstFirst ... 27353637383947 ... LastLast
Results 361 to 370 of 476
  1. #361
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: product categories - linking

    So, to clarify for the dummies, for an import,

    new product
    v_categories_name: can be a list. The first path will be the master category. Subsequent paths will be added as linked categories.

    existing product
    v_categories_name: can be a list. Paths will be added as linked categories, if not already existing for this product.

    existing product & using UNLINK command
    v_categories_name: can be a list. Paths will be removed only if they are linked categories.

    So, to update existing products, it is necessary to export them to get the list of linked categories, to be able to subsequently import and UNLINK them.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

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

    Default Re: product categories - linking

    Quote Originally Posted by torvista View Post
    So, to clarify for the dummies, for an import,

    new product
    v_categories_name: can be a list. The first path will be the master category. Subsequent paths will be added as linked categories.

    existing product
    v_categories_name: can be a list. Paths will be added as linked categories, if not already existing for this product.

    existing product & using UNLINK command
    v_categories_name: can be a list. Paths will be removed only if they are linked categories.

    So, to update existing products, it is necessary to export them to get the list of linked categories, to be able to subsequently import and UNLINK them.
    Close ...

    new product
    v_categories_name must be specified (otherwise, you don't know where it goes in the category tree). The last/most-recent v_categories_name imported for a product will be its master-category; previous categories will be linked categories.

    existing product
    v_categories_name, if specified, identifies the current master-category for the product. Previous categories become linked categories.

    existing product & using UNLINK command
    v_categories_name must be specified. The category-path will be removed if-and-only-if it is not the product's master-category (an error is indicated if so).

    Getting that linked-categories list is going to be a PITA, as the Products-export exports only the product's master-category's name, not the additional linked ones. I'll put such an export on the DbIo to-do list.

  3. #363
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: product categories - linking

    I'm afraid I don't find that very intuitive.
    I would have thought the first category in any list would be master, the rest....would just be the rest/linked.
    And so an export of categories in the products export would include that list.

    An import of the products with that column missing would be no change.
    An import of the products with that column would update (delete+add), same as the other fields.

    The idea of whatever being in the list adding to whatever is already in the db, I find confusing / an unexpected thing and out of step with every other column, in the sense that all the rest will replace the current entry.

    Maybe I am used to Apsona doing that....
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

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

    Default Re: product categories - linking

    Quote Originally Posted by torvista View Post
    I'm afraid I don't find that very intuitive.
    I would have thought the first category in any list would be master, the rest....would just be the rest/linked.
    And so an export of categories in the products export would include that list.

    An import of the products with that column missing would be no change.
    An import of the products with that column would update (delete+add), same as the other fields.

    The idea of whatever being in the list adding to whatever is already in the db, I find confusing / an unexpected thing and out of step with every other column, in the sense that all the rest will replace the current entry.

    Maybe I am used to Apsona doing that....
    Sorry that it's not intuitive ... at least it's documented now!

    FWIW, the 'last-in' usage model is similar to the non-Image Handler way of uploading additional images. You edit a product, uploading first those additional images and upload the product's main image as the last step.

  5. #365
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: product categories - linking

    FWIW, the 'last-in' usage model is similar to the non-Image Handler way of uploading additional images. You edit a product, uploading first those additional images and upload the product's main image as the last step.
    Really...never done that! Always used IH.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  6. #366
    Join Date
    Aug 2020
    Posts
    1
    Plugin Contributions
    0

    Default Re: product categories - linking

    Hi,

    In an old modified version of easypopulate I could import and export all product info and products quantity discounts in one CSV. In a brief look at dbio I don’t think it can do that. If not is it possible to modify dbio to achieve that? I guess otherwise I’d need to upload two CSVs every time there is a product price change.

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

    Default Re: product categories - linking

    Quote Originally Posted by RETPL View Post
    Hi,

    In an old modified version of easypopulate I could import and export all product info and products quantity discounts in one CSV. In a brief look at dbio I don’t think it can do that. If not is it possible to modify dbio to achieve that? I guess otherwise I’d need to upload two CSVs every time there is a product price change.
    DbIo currently has the products' quantity discounts, as you indicated, as a separate "handler" from the other products' fields. While anything is possible, code-wise, that quantity-discounts' handling is a bit special and the products' handling is already complicated so I don't think that I'll be combining them.

    I guess you're looking at two CSVs when products' pricing changes.

  8. #368
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: product categories - linking

    Can't you use one file for all your manipulation (I use Libreofice), with all the column titles as used in both handlers, then save-a-copy two csv files with different names to use the correct handler. Each handler should ignore the columns that are not part of that handler.
    Then you are not having to work with two files.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

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

    Default Re: product categories - linking

    Quote Originally Posted by torvista View Post
    Can't you use one file for all your manipulation (I use Libreofice), with all the column titles as used in both handlers, then save-a-copy two csv files with different names to use the correct handler. Each handler should ignore the columns that are not part of that handler.
    Then you are not having to work with two files.
    You're always thinking, @torvista. That's a great idea.

  10. #370
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: product categories - linking

    I've just submitted v1.6.4 of DbIo for the Zen Cart moderators' review; I'll post back here when it's available for download.

    This release contains changes associated with the following GitHub issues:

    #175: Correct CSV 'split' function processing.
    #176: 'Products': Multi-lingual customized-template export columns can 'go off'.
    #177: No admin message when multiple v_dbio_command columns are found.
    #178: 'Products' import, enable a product to be 'unlinked' from a linked category.
    #179: Valid dates that don't start with a year are being indicated as invalid.
    #180: Additional configuration setting for Products to require an 'ADD' command to insert a new product.
    #181: ProductsAttribsRaw: Unwanted download record added for empty download name.

 

 
Page 37 of 48 FirstFirst ... 27353637383947 ... 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