Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export is not limited to just one product entry per export. #32

Closed
mc12345678 opened this issue Feb 8, 2017 · 0 comments
Closed

Export is not limited to just one product entry per export. #32

mc12345678 opened this issue Feb 8, 2017 · 0 comments

Comments

@mc12345678
Copy link
Owner

In development of EP4, @chaddro had gone above and beyond with the export data to be able to show and present all "variations" of a product (ie. to include the categories in which it was linked); however, this has also proven to some to be confusing because of the "extra" effort necessary to support import without the product "losing" its newly modified information. (Last entry for a product wins the place in the database.) It's a relatively simple concept, but requires more thought/planning.

Anyways, for those that would otherwise routinely remove the additional product listings, this is an extra step for them or if they go to update the product in some way they may make the edit in the first instance of the listing. It seems like it may be of benefit (though adding yet another option/capability) to export the product based on the product's master_categories_id. For those that have perhaps otherwise already figured it out, it isn't difficult to add, it's just another possible option from which to select.

Proposing an additional selection list item to click on (full export related) and an additional option in the dropdowns/dropdown sequence. (May want to use a checkbox instead of dropdown selection depending on where all that linked product play a factor in the export.)

mc12345678 added a commit that referenced this issue Feb 8, 2017
* Add menu option for products_master_categories

Add to the main screen an option to export all product by their master_categories_id instead of providing all product including as linked.

This is added to both the clickable link as well as the dropdown list.  Dropdown list needs to be resequenced/better id's used so that can add to the list in the future like when sorting product.

* Export Full product list by master_categories_id

This performs the export of the file by master_categories_id (only one row per product, unlike the other export that will provide all instances of the product so that one can see which category(ies) the product is in.

* Menu language for export by master_categories_id

Adds the language define for the main menu to show the option to export by master_categories_id (no linked product).

* Add master_categories_id dropdown language

This adds the dropdown word(s) for export of product by master_categories_id (no linked product)

* Header version update

admin/easypopulate_4.php
admin/easypopulate_4_export.php
admin/includes/languages/english/easypopulate_4.php
admin/includes/languages/english/easypopulate_4_menus.php

Support export of all product in the cart but without linked product such that category presented is from the products master_categories_id.

Import of this file is not modified and therefore if the category is modified, then:

    If there is no change in the category, then the product's data will be updated.
    If it is a new category the category will be created, the product will be linked to that category, and the remaining data imported will replace the data for the primary product location and be visible at all linked locations.
    If the category existed and the product was not in it, then the product will be linked to that category, and the remaining data imported will replace the data for the primary product location and be visible at all linked locations.

Fixes issue #32
mc12345678 added a commit that referenced this issue Feb 14, 2017
* Add menu option for products_master_categories

Add to the main screen an option to export all product by their master_categories_id instead of providing all product including as linked.

This is added to both the clickable link as well as the dropdown list.  Dropdown list needs to be resequenced/better id's used so that can add to the list in the future like when sorting product.

* Export Full product list by master_categories_id

This performs the export of the file by master_categories_id (only one row per product, unlike the other export that will provide all instances of the product so that one can see which category(ies) the product is in.

* Menu language for export by master_categories_id

Adds the language define for the main menu to show the option to export by master_categories_id (no linked product).

* Add master_categories_id dropdown language

This adds the dropdown word(s) for export of product by master_categories_id (no linked product)

* Header version update

admin/easypopulate_4.php
admin/easypopulate_4_export.php
admin/includes/languages/english/easypopulate_4.php
admin/includes/languages/english/easypopulate_4_menus.php

Support export of all product in the cart but without linked product such that category presented is from the products master_categories_id.

Import of this file is not modified and therefore if the category is modified, then:

    If there is no change in the category, then the product's data will be updated.
    If it is a new category the category will be created, the product will be linked to that category, and the remaining data imported will replace the data for the primary product location and be visible at all linked locations.
    If the category existed and the product was not in it, then the product will be linked to that category, and the remaining data imported will replace the data for the primary product location and be visible at all linked locations.

Fixes issue #32
Conflicts:
	admin/easypopulate_4.php
	admin/easypopulate_4_export.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant